Open GoogleCodeExporter opened 9 years ago
So your settings are incorrect. Here is some working code that does work:
var salt = "i8HteZLJHxnvCPlO" //base64 encoded string
var key = "abc123"
C# code
Rfc2898DeriveBytes maker = new Rfc2898DeriveBytes(key, 12, 1000);
byte[] key = maker.GetBytes(16);
Javascript code
var parsedSalt = cryptoJS.enc.Base64.parse(salt);
var parsedKey = cryptoJS.PBKDF2(key, parsedSalt, keySize: 128/32, iterations: 1000})
Original comment by heis...@gmail.com
on 9 Dec 2014 at 6:32
Original issue reported on code.google.com by
coldfiredragon
on 30 Jul 2014 at 8:45