This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: javax.crypto
- From: Mark Wielaard <mark at klomp dot org>
- To: Casey Marshall <csm at gnu dot org>
- Cc: Marco Trudel <mtrudel at gmx dot ch>, GCJ <java at gcc dot gnu dot org>
- Date: Thu, 21 Sep 2006 10:10:17 +0200
- Subject: Re: javax.crypto
- References: <4511895D.2090509@gmx.ch> <45119185.2040503@gnu.org>
On Wed, 2006-09-20 at 12:07 -0700, Casey Marshall wrote:
> Do you have a pointer to a description of the PBEWithMD5AndDES
> algorithm? It's probably pretty easy to write, because the building
> blocks are all there.
According to Appendix A (standard names) of the crypto extension doc:
http://java.sun.com/j2se/1.5.0/docs/guide/security/jce/JCERefGuide.html#AppA
PBEWith<digest>And<encryption> or PBEWith<prf>And<encryption>:
The password-based encryption algorithm (PKCS #5), using the
specified message digest (<digest>) or pseudo-random function
(<prf>) and encryption algorithm (<encryption>). Examples:
* PBEWithMD5AndDES: The password-based encryption
algorithm as defined in: RSA Laboratories, "PKCS #5:
Password-Based Encryption Standard," version 1.5, Nov
1993. Note that this algorithm implies CBC as the cipher
mode and PKCS5Padding as the padding scheme and cannot
be used with any other cipher modes or padding schemes.
* PBEWithHmacSHA1AndDESede: The password-based encryption
algorithm as defined in: RSA Laboratories, "PKCS #5:
Password-Based Cryptography Standard," version 2.0,
March 1999.