Package org.apache.commons.codec.digest
Simplifies common
MessageDigest
tasks and includes a libc crypt(3) compatible crypt method that supports DES, MD5, SHA-256 and SHA-512
based algorithms as well as the Apache specific "$apr1$" variant.-
Class Summary Class Description B64 Base64-like method to convert binary bytes into ASCII chars.Blake3 Implements the Blake3 algorithm providing a hash function with extensible output (XOF), a keyed hash function (MAC, PRF), and a key derivation function (KDF).Blake3.ChunkState Blake3.EngineState Blake3.Output Represents the state just prior to either producing an eight word chaining value or any number of output bytes when the ROOT flag is set.Crypt GNU libc crypt(3) compatible hash method.DigestUtils Operations to simplify commonMessageDigest
tasks.HmacUtils Simplifies commonMac
tasks.Md5Crypt The libc crypt() "$1$" and Apache "$apr1$" MD5-based hash algorithm.MessageDigestAlgorithms StandardMessageDigest
algorithm names from the Java Cryptography Architecture Standard Algorithm Name Documentation.MurmurHash2 Implementation of the MurmurHash2 32-bit and 64-bit hash functions.MurmurHash3 Implementation of the MurmurHash3 32-bit and 128-bit hash functions.MurmurHash3.IncrementalHash32 Deprecated. Use IncrementalHash32x86.MurmurHash3.IncrementalHash32x86 Generates 32-bit hash from input bytes.PureJavaCrc32 A pure-java implementation of the CRC32 checksum that uses the same polynomial as the built-in native CRC32.PureJavaCrc32C A pure-java implementation of the CRC32 checksum that uses the CRC32-C polynomial, the same polynomial used by iSCSI and implemented on many Intel chipsets supporting SSE 4.2.Sha2Crypt SHA2-based Unix crypt implementation.UnixCrypt Unix crypt(3) algorithm implementation.XXHash32 Implementation of the xxHash32 hash algorithm. -
Enum Summary Enum Description HmacAlgorithms StandardHmacUtils
algorithm names from the Java Cryptography Architecture Standard Algorithm Name Documentation.