Standard Names

Asking for algorithms by name implies that there is a standard name for each cryptographic algorithm. Table 3.3 shows the standard algorithm names that are supported by the SUN provider (supplied with JDK 1.2) and the SunJCE provider (part of the JCE). For more information on the algorithms themselves, refer back to Chapter 2.

Table 3-3. Standard Algorithm Names

Concept class

Algorithms supported by Sun

Algorithms supported by SunJCE

Cipher

 

DES, DESede, PBEWithMD5AndDES

KeyAgreement

 

DH

KeyFactory

DSA

 

KeyGenerator

 

DES, DESede

KeyPairGenerator

DSA

 

Mac

 

HmacMD5, HmacSHA1

MessageDigest

MD5, SHA-1

 

SecretKeyFactory

 

DES, DESede, PBEWithMD5AndDES

Signature

DSA

Get Java Cryptography now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.