HI all ,
I tried to call the RNCryptor.KeyForPassword for both JNCrypto and rncryto-js whith the same input , but result return is not the same. EX as result after call RNCryptor.KeyForPassword , JNCrypto return me an array with 32 elements each element is a number which not bigger than 128, and rncryto-js return a array with 8 elements and each element is a number which number's count =10.
JNCrypto :[xxxxxxxxx, xxxxxxxxxx, -xxxxxxxxxx, -xxxxxxxxxx, -xxxxxxxxx, -xxxxxxxxxx, xxxxxxxxxx, -xxxxxxxxx]
rncrypto-js :[-xx, -x, -xx, xx, -xx, -xx, xxx, -xx, -xxx, -xx, xx, -xx, -xx, -xx, -xxx, xxx, -xx, -xx, -x, -xx, -xx, -xx, -xxx, -xx, xx, xx, xx, xxx, xxx, xx, -xxx -xxx]
I think that in rncrypto.js ----> RNCryptor.KeyForPassword -----> sjcl.misc.pbkdf2(password, salt, 10000, 32 * 8, hmacSHA1) may be i should but another option ?
Regards,
Trunk