KeyForPassword not the same as JNCrypto and cryto-js

26 views
Skip to first unread message

Trunk B

unread,
Aug 25, 2015, 10:26:03 AM8/25/15
to rncryptor
Hi all,
I am used method KeyForPassword()  and found that the return key from JNCrypto and cryto-js does not the same , 
JNCryto return as array with 32 elements and each number is not bigger than 128,
Cryti-js return as array with 8 elements and each number 's length > 7.
I assume that is wrong option when i try to call  sjcl.misc.pbkdf2(password, salt, 10000, 32 * 8, hmacSHA1); via RNCryptor.KeyForPassword (rncryto.js).
please help to advise 
Regards,
Trunk
Reply all
Reply to author
Forward
0 new messages