Crate binius_hash

source ·

Re-exports§

Modules§

Structs§

  • The Grøstl256 hash function which can be thought of as natively defined over AESTowerField8b and isomorphically maps to BinaryField8b. The type P is the input to the update function which has to be over a packed extension field of BinaryField8b or AESTowerField8b
  • Portable version of the Grøstl256 hash function’s P and Q permutations that uses the implementation of section 8.1.2 from Grøstl
  • A compression function for Grøstl hash digests based on the Grøstl output transformation.
  • The MDS step in the Vision Permutation which uses AdditiveNTT to compute matrix multiplication of the state vector 24x32b
  • This is the complete permutation function for the Vision hash which implements Permutation and CryptographicPermutation traits over PackedAESBinary8x32b as well as BinaryField32b
  • This is the struct that implements the Vision hash over AESTowerField32b and BinaryField32b isomorphically. Here the generic P represents the input type to the update function

Type Aliases§

  • This module implements the 256-bit variant of Grøstl The type of output digest for Grøstl256 over F which should be isomorphic to AESTowerField8b
  • An alias for Grøstl256 defined over BinaryField8b
  • The vision specialization over BinaryField32b as per Vision Mark-32