Crate light_utils
source ·Modules§
Enums§
Functions§
- Hashes the provided
byteswith 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. - Applies
rustfmton the given string containing Rust code. The purpose of this function is to be able to format autogenerated code (e.g. withquotemacro).