Home >> All >> gnu >> java >> security >> [ hash Javadoc ] |

**•**

**gnu.java.security.hash**: Javadoc index of package gnu.java.security.hash.

**Package Samples:**

**•**gnu.java.security.hash

**Classes:**

**•**Sha160: The Secure Hash Algorithm (SHA-1) is required for use with the Digital Signature Algorithm (DSA) as specified in the Digital Signature Standard (DSS) and whenever a secure hash algorithm is required for federal applications. For a message of length less than 2^64 bits, the SHA-1 produces a 160-bit condensed representation of the message called a message digest. The message digest is used during generation of a signature for the message. The SHA-1 is also used to compute a message digest for the received version of the message during the process of verifying the signature. Any change to the message ...

**•**Whirlpool: Whirlpool, a new 512-bit hashing function operating on messages less than 2 ** 256 bits in length. The function structure is designed according to the Wide Trail strategy and permits a wide variety of implementation trade-offs. This implementation is of Whirlpool Version 3, described in [1] last revised on May 24th, 2003. IMPORTANT : This implementation is not thread-safe. References: The WHIRLPOOL Hashing Function . Paulo S.L.M. Barreto and Vincent Rijmen .

**•**Tiger: The Tiger message digest. Tiger was designed by Ross Anderson and Eli Biham, with the goal of producing a secure, fast hash function that performs especially well on next-generation 64-bit architectures, but is still efficient on 32- and 16-bit architectures. Tiger processes data in 512-bit blocks and produces a 192-bit digest. References: Tiger: A Fast New Hash Function , Ross Anderson and Eli Biham.

**•**MD5: The MD5 message-digest algorithm takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input. It is conjectured that it is computationally infeasible to produce two messages having the same message digest, or to produce any message having a given prespecified target message digest. References: The MD5 Message- Digest Algorithm. R. Rivest.

**•**Haval: The HAVAL message-digest algorithm is a variable output length, with variable number of rounds. By default, this implementation allows HAVAL to be used as a drop-in replacement for MD5 . References: HAVAL - A One-Way Hashing Algorithm with Variable Length of Output Advances in Cryptology - AUSCRYPT'92, Lecture Notes in Computer Science, Springer-Verlag, 1993; Y. Zheng, J. Pieprzyk and J. Seberry.

**•**MD2: An implementation of the MD2 message digest algorithm. MD2 is not widely used. Unless it is needed for compatibility with existing systems, it is not recommended for use in new applications. References: The MD2 Message-Digest Algorithm. B. Kaliski. The RFC ERRATA PAGE under section RFC 1319.

**•**MD4: An implementation of Ron Rivest's MD4 message digest algorithm. MD4 was the precursor to the stronger gnu.crypto.hash.MD5 algorithm, and while not considered cryptograpically secure itself, MD4 is in use in various applications. It is slightly faster than MD5. References: The MD4 Message-Digest Algorithm. R. Rivest.

**•**Sha512: Implementation of SHA2-3 [SHA-512] per the IETF Draft Specification. References: Descriptions of SHA-256, SHA-384, and SHA-512 , http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf

**•**Sha256: Implementation of SHA2-1 [SHA-256] per the IETF Draft Specification. References: Descriptions of SHA-256, SHA-384, and SHA-512 , http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf

**•**Sha384: Implementation of SHA2-2 [SHA-384] per the IETF Draft Specification. References: Descriptions of SHA-256, SHA-384, and SHA-512 , http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf

**•**RipeMD128: RIPEMD-128 is a 128-bit message digest. References: RIPEMD160 : A Strengthened Version of RIPEMD. Hans Dobbertin, Antoon Bosselaers and Bart Preneel.

**•**RipeMD160: RIPEMD-160 is a 160-bit message digest. References: RIPEMD160 : A Strengthened Version of RIPEMD. Hans Dobbertin, Antoon Bosselaers and Bart Preneel.

**•**IMessageDigest: The basic visible methods of any hash algorithm. A hash (or message digest) algorithm produces its output by iterating a basic compression function on blocks of data.

**•**HashFactory: A Factory to instantiate message digest algorithm instances.

**•**BaseHash: A base abstract class to facilitate hash implementations.

Home | Contact Us | Privacy Policy | Terms of Service |