buddy.core.hash
Basic crypto primitives that used for more high level abstractions.
blake2b
(blake2b input length)
BLAKE2 is a cryptographic hash function faster than MD5, SHA-1, SHA-2, and SHA-3, yet is at least as secure as the latest standard SHA-3.
blake2b-128
(blake2b-128 input)
BLAKE2 cryptographic hash function with fixed output digest size to 128 bits.
blake2b-256
(blake2b-256 input)
BLAKE2 cryptographic hash function with fixed output digest size to 256 bits.
blake2b-512
(blake2b-512 input)
BLAKE2 cryptographic hash function with fixed output digest size to 512 bits.
blake3
(blake3 input length)
BLAKE3 is a cryptographic hash function faster than MD5, SHA-1, SHA-2, SHA-3, and BLAKE2. It focuses on speed.
blake3-256
(blake3-256 input)
BLAKE3 cryptographic hash function with fixed output digest size to 256 bits.
IDigest
protocol
members
-digest
(-digest input engine)
Low level interface, always returns bytes
IEngine
protocol
Hash engine common interface definition.
members
-end
(-end _)
Return the computed mac and reset the engine.
-reset
(-reset _)
Reset the hash engine to its initial state.
-update
(-update _ input offset length)
Update bytes in a current instance.
resolve-digest-engine
(resolve-digest-engine engine)
Helper function for make Digest instances from algorithm parameter.
skein
(skein input state)
(skein input state length)
Skein is a cryptographic hash function based on Threefish tweakable block cipher compressed using Unique Block Iteration and is one of five finalists in the NIST hash function competition for SHA3.
skein-1024
(skein-1024 input)
Skein cryptographic hash function with fixed output digest size to 256.
skein-256
(skein-256 input)
Skein cryptographic hash function with fixed output digest size to 256.
skein-512
(skein-512 input)
Skein cryptographic hash function with fixed output digest size to 256.
update!
(update! engine input)
(update! engine input offset)
(update! engine input offset length)