Subject: | ->PBKDF2_hex is broken |
If the last byte of a computed key is 0x0d, PBKDF2_hex method returns a hexadecimal presentation of key without this byte at all.
E.g.
Binary key (computed by PBKDF2 method) is "\344\271\374\304\36:\235zS\330*\272\227\242\232\r";
PBKDF2_hex retuns "e4b9fcc41e3a9d7a53d82aba97a29a";