Various hash and checksum functions
This module provides a selection of the most widely used checksum/hash algorithms:
CRC32, Adler32, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, MD2, MD4, MD5, Whirlpool, Tiger, RIPEMD128, RIPEMD160, RIPEMD256, RIPEMD320
Adler32 | Calculates a 32 bits long Adler32 checksum |
CRC32 | Calculates a 32 bits long CRC32 checksum |
HashBase | Base class for each hash algorithm, specialized for overloading. |
MD2Hash | Calculates a 128 bits long MD2 (Message Digest 2) hash |
MD4Hash | Calculates a 128 bits long MD4 (Message Digest 4) hash |
MD5Hash | Calculates a 128 bits long MD5 (Message Digest 5) hash |
RIPEMD128Hash | Calculates a 128 bits long RIPEMD-128 hash (RIPEMD family) |
RIPEMD160Hash | Calculates a 160 bits long RIPEMD-160 hash (RIPEMD family) |
RIPEMD256Hash | Calculates a 256 bits long RIPEMD-256 hash (RIPEMD family) |
RIPEMD320Hash | Calculates a 320 bits long RIPEMD-320 hash (RIPEMD family) |
SHA1Hash | Calculates a 160 bits long SHA-1 hash |
SHA224Hash | Calculates a 224 bits long SHA-224 hash (SHA-2 family) |
SHA256Hash | Calculates a 256 bits long SHA-256 hash (SHA-2 family) |
SHA384Hash | Calculates a 384 bits long SHA-384 hash (SHA-2 family) |
SHA512Hash | Calculates a 512 bits long SHA-512 hash (SHA-2 family) |
TigerHash | Calculates a 192 bits long Tiger hash |
WhirlpoolHash | Calculates a 512 bits long Whirlpool hash |
adler32 | Convenience function that calculates a 32 bits long Adler32 checksum |
crc32 | Convenience function that calculates a 32 bits long CRC32 checksum |
getSupportedHashes | Returns an array containing the names of all supported hashes. |
hash | Convenience function that calculates a hash. |
hmac | Provides HMAC authentication for a block of data |
makeHash | Creates a hash object based on the algorithm name |
md2 | Convenience function that calculates a 128 bits long MD2 hash |
md4 | Convenience function that calculates a 128 bits long MD4 hash |
md5 | Convenience function that calculates a 128 bits long MD5 hash |
ripemd128 | Convenience function that calculates a 128 bits long RIPEMD128 hash |
ripemd160 | Convenience function that calculates a 160 bits long RIPEMD160 hash |
ripemd256 | Convenience function that calculates a 256 bits long RIPEMD256 hash. |
ripemd320 | Convenience function that calculates a 320 bits long RIPEMD320 hash |
sha1 | Convenience function that calculates a 160 bits long SHA1 hash |
sha224 | Convenience function that calculates a 224 bits long SHA224 hash |
sha256 | Convenience function that calculates a 256 bits long SHA256 hash |
sha384 | Convenience function that calculates a 384 bits long SHA384 hash |
sha512 | Convenience function that calculates a 512 bits long SHA512 hash |
tiger | Convenience function that calculates a 192 bits long Tiger hash |
whirlpool | Convenience function that calculates a 512 bits long Whirlpool hash |
checksums | Classes providing checksum functions |
strong_hashes | Classes providing strong hashes, suitable for cryptography |
weak_hashes | Classes providing weak / deprecated hashes |