package bls12-381-hash

  1. Overview
  2. Docs

Exponent for the substitution box. For BLS12-381, it is 5

val d_inv : Bls12_381.Fr.t

Inverse of the exponent for the substitution box. For BLS12-381, it is 20974350070050476191779096203274386335076221000211055129041463479975432473805

val state_size_3 : int * int * Bls12_381.Fr.t array * Bls12_381.Fr.t array

Parameters for Griffin with a state size of 3 for a security of 128bits. The value is:

  • number of rounds
  • state size
  • round constants
  • alpha/beta's
val state_size_4 : int * int * Bls12_381.Fr.t array * Bls12_381.Fr.t array

Parameters for Griffin with a state size of 4 for a security of 128 bits. The value is:

  • number of rounds
  • state size
  • round constants
  • alpha/beta's
OCaml

Innovation. Community. Security.