com.didisoft.pgp
Interface HashAlgorithm


public interface HashAlgorithm

Interface that lists the supported hashing algorithms used in the library.

Example usage

 PGPLib pgp = new PGPLib();
 pgp.setHash(HashAlgorithm.SHA256);
 

Since:
2.5

Field Summary
static java.lang.String MD2
          Message Digest 2
static java.lang.String MD5
          Message Digest 5
static java.lang.String RIPEMD160
          RIPEMD-160, 160-bit message digest algorithm (RACE Integrity Primitives Evaluation Message Digest)
static java.lang.String SHA1
          Secure Hash Algorithm (SHA-1)
static java.lang.String SHA224
          Secure Hash Algorithm 224 bit (SHA-2 224)
static java.lang.String SHA256
          Secure Hash Algorithm 256 bit (SHA-2 256)
static java.lang.String SHA384
          Secure Hash Algorithm 384 bit (SHA-2 384)
static java.lang.String SHA512
          Secure Hash Algorithm 512 bit (SHA-2 512)
 

Field Detail

SHA1

static final java.lang.String SHA1
Secure Hash Algorithm (SHA-1)

See Also:
Constant Field Values

SHA256

static final java.lang.String SHA256
Secure Hash Algorithm 256 bit (SHA-2 256)

See Also:
Constant Field Values

SHA384

static final java.lang.String SHA384
Secure Hash Algorithm 384 bit (SHA-2 384)

See Also:
Constant Field Values

SHA512

static final java.lang.String SHA512
Secure Hash Algorithm 512 bit (SHA-2 512)

See Also:
Constant Field Values

SHA224

static final java.lang.String SHA224
Secure Hash Algorithm 224 bit (SHA-2 224)

See Also:
Constant Field Values

MD5

static final java.lang.String MD5
Message Digest 5

See Also:
Constant Field Values

RIPEMD160

static final java.lang.String RIPEMD160
RIPEMD-160, 160-bit message digest algorithm (RACE Integrity Primitives Evaluation Message Digest)

See Also:
Constant Field Values

MD2

static final java.lang.String MD2
Message Digest 2

See Also:
Constant Field Values


Copyright © 2006-2013 DidiSoft Ltd. All Rights Reserved.