Expand description
A framework for symmetric cryptography primitives.
Structs§
- Compression
Function From Hasher - Hash
- A wrapper around an array digest, with a phantom type parameter to ensure that the digest is associated with a particular field.
- Multi
Field32 Padding Free Sponge - A padding-free, overwrite-mode sponge function that operates natively over PF but accepts elements of F: PrimeField32.
- Padding
Free Sponge - A padding-free, overwrite-mode sponge function.
- Serializing
Hasher32 - Maps input field elements to their 4-byte little-endian encodings, outputs
[u8; 32]
. - Serializing
Hasher64 - Maps input field elements to their 8-byte little-endian encodings, outputs
[u8; 32]
. - Truncated
Permutation
Traits§
- Compression
Function - An
N
-to-1 compression function. - Cryptographic
Hasher - Cryptographic
Permutation - A permutation thought to be cryptographically secure, in the sense that it is thought to be difficult to distinguish (in a nontrivial way) from a random permutation.
- Permutation
- A permutation in the mathematical sense.
- Pseudo
Compression Function - An
n
-to-1 compression function, likeCompressionFunction
, except that it need only be collision-resistant in a hash tree setting, where the preimage of a non-leaf node must consist of compression outputs.