You are creating a hex-string from the raw-bytes – as far as I know characters of a string are stored in 16bit and since 16 bits equal 2 bytes (see this for more information), you get a total length of
64 for the resulting string. The length of the
bytes-array will still be
CLICK HERE to find out more related problems solutions.