The types that are acceptable to use as input for hashing.
Computes an crc32 checksum.
The data to checksum
previous crc32 checksum result. Used if you are buffering large input.
Computes a crc32c checksum.
The data to checksum
previous crc32c checksum result. Used if you are buffering large input.
Computes an MD5 hash. Use this if you don't need to stream the data you're hashing and can load the entire input into memory.
The data to hash
The maximum number of bytes to receive. Leave as undefined or 0 to receive the entire digest.
Computes an SHA1 hash. Use this if you don't need to stream the data you're hashing and can load the entire input into memory.
The data to hash
The maximum number of bytes to receive. Leave as undefined or 0 to receive the entire digest.
Computes an SHA256 hash. Use this if you don't need to stream the data you're hashing and can load the entire input into memory.
The data to hash
The maximum number of bytes to receive. Leave as undefined or 0 to receive the entire digest.
Computes an SHA256 HMAC. Use this if you don't need to stream the data you're hashing and can load the entire input into memory.
The key to use for the HMAC process
The data to hash
The maximum number of bytes to receive. Leave as undefined or 0 to receive the entire digest.
Generated using TypeDoc
A module containing support for a variety of cryptographic operations.