Encrypting and decrypting with PBEWithMD5AndDES
843810Apr 29 2004 — edited Apr 30 2004Given the same passphrase, salt, iteration count, keysize, and message to encrypt, will PBEWithMD5AndDES produce the same encrypted message? I mean, is it going to generate the same key every time?
If not, how can it be done?
I am using code from http://www.javaalmanac.com/egs/javax.crypto/PassKey.html?l=rel, but its producing different encrypted messages at different times.
Thanks.