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.
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.
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)