Function keyToHex
Convert key from binary to hex format.
char[] keyToHex
(
ubyte[] keyBin,
char[] keyHex
);Note
The KeyHex buffer needs to be 2*KeySize+1 bytes long as
the function will internally write a \0 at the end of the buffer.
The return value returns a slice with adjusted length to exclude this trailing
\0.