org.opentox.auth
Class DigestGenerator.DigestAlgorithm

java.lang.Object
  extended by org.opentox.auth.DigestGenerator.DigestAlgorithm
Enclosing class:
DigestGenerator

public static class DigestGenerator.DigestAlgorithm
extends java.lang.Object

Set of Available Digest Algorithm.


Field Summary
static java.lang.String MD2
          The MD2 message digest algorithm as defined in RFC 1319.
static java.lang.String MD5
          The MD5 message digest algorithm as defined in RFC 1321.
static java.lang.String SHA_1
          Hash algorithms defined in the FIPS PUB 180-2.
static java.lang.String SHA_256
          Hash algorithms defined in the FIPS PUB 180-2.
static java.lang.String SHA_384
          Hash algorithms defined in the FIPS PUB 180-2.
static java.lang.String SHA_512
          Hash algorithms defined in the FIPS PUB 180-2.
 
Constructor Summary
DigestGenerator.DigestAlgorithm()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHA_1

public static java.lang.String SHA_1
Hash algorithms defined in the FIPS PUB 180-2. The output of this algorithm is a 160-bit digest.


SHA_256

public static java.lang.String SHA_256
Hash algorithms defined in the FIPS PUB 180-2. SHA-256 is a 256-bit hash function intended to provide 128 bits of security against collision attacks


SHA_384

public static java.lang.String SHA_384
Hash algorithms defined in the FIPS PUB 180-2. A 384-bit hash may be obtained by truncating the SHA-512 output.


SHA_512

public static java.lang.String SHA_512
Hash algorithms defined in the FIPS PUB 180-2. SHA-512 is a 512-bit hash function intended to provide 256 bits of security.


MD2

public static java.lang.String MD2
The MD2 message digest algorithm as defined in RFC 1319. The output of this algorithm is a 128-bit (16 byte) digest.


MD5

public static java.lang.String MD5
The MD5 message digest algorithm as defined in RFC 1321. The output of this algorithm is a 128-bit (16 byte) digest.

Constructor Detail

DigestGenerator.DigestAlgorithm

public DigestGenerator.DigestAlgorithm()