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.-
Interface Summary Interface Description GitIdentifiers.TreeIdBuilder.BlobIdSupplier Supplies a blob identifier that may throwIOException. -
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.Crc16 CRC-16 checksum implementations you can customize with a table and init value.Crc16.Builder BuildsCrc16instances.Crypt GNU libc crypt(3) compatible hash method.DigestUtils Operations to simplify commonMessageDigesttasks.GitIdentifiers Computes Git object identifiers and their generalizations described by the SWHID specification.GitIdentifiers.DirectoryEntry Represents a single entry in a Git tree object.GitIdentifiers.TreeIdBuilder Builds a Git tree identifier for a virtual directory structure, such as the contents of an archive.HmacUtils Simplifies commonMactasks.Md5Crypt The libc crypt() "$1$" and Apache "$apr1$" MD5-based hash algorithm.MessageDigestAlgorithms StandardMessageDigestalgorithm names from the Java Cryptography Architecture Standard Algorithm Name Documentation.MurmurHash Commons implementation methods for MurmurHash* classes in this package.MurmurHash2 Implements the MurmurHash2 32-bit and 64-bit hash functions.MurmurHash3 Implements 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 Implements the xxHash32 hash algorithm. -
Enum Summary Enum Description GitIdentifiers.FileMode The type of a Git tree entry, which maps to a Unix file-mode string.HmacAlgorithms Enumerates the standardHmacUtilsalgorithm names from the Java Cryptography Architecture Standard Algorithm Name Documentation.