This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: javax.crypto


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. 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]