in reply to Re: encryption related question ..
in thread encryption related question ..
Hmm, I'm not sure, see PKCS #5: Password-Based Cryptography Standard. It's not clear to me what the Java implementation uses though. For key derivation MD2, MD5, SHA-1 or some pseudo random function is used. As an encryption scheme, DES or RC2 is used, or again a key derivation function, e.g. a HMAC-SHA variant (from appendix B, draft PKCS #5 v2.1 ). By combining some perl modules from Gisle Aas it should be possible to duplicate the StandardPBEStringEncryptor class behavior. But it starts by finding out what exactly this class implements, so far I have not been able to find it.
Then I found does-it-implement-or-include-cryptographic-algorithms?. So it seems to use whatever the Java Cryptographic Extension (JCE) provides. And at a first glance it looks like "it depends", like on the java version used?
Cheers
Harry
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: encryption related question ..
by gmpdy76 (Initiate) on Jun 23, 2010 at 07:30 UTC | |
by dHarry (Abbot) on Jun 23, 2010 at 10:20 UTC |