AES Encryption using Salt (RFC2898) function | Telit Cinterion IoT Developer Community
May 31, 2017 - 10:18am, 2126 views
I succesfully compiled JSR177Example on EHS6 module.
The problem is that on the server side ( .net implementation ) AES is used, but not with a fixed passphrase. The passphrase is salted using RFC2898 salting algorythm:
Rfc2898DeriveBytes key = new Rfc2898DeriveBytes(secret, saltValueBytes);
byte secretKey = key.GetBytes(16);
I cannot find any solution for j2me around this issue.
Does anybody have a solution for this?
Thanks in advance,