Modules§
Enums§
Functions§
- hash_
to_ bn254_ field_ size_ be - hashv_
to_ bn254_ field_ size_ be - Hashes the provided
bytes
with Keccak256 and ensures the result fits in the BN254 prime field by repeatedly hashing the inputs with various “bump seeds” and truncating the resulting hash to 31 bytes. - is_
smaller_ than_ bn254_ field_ size_ be - rustfmt
- Applies
rustfmt
on the given string containing Rust code. The purpose of this function is to be able to format autogenerated code (e.g. withquote
macro).