|
barretenberg
|
stdlib class that evaluates in-circuit pedersen hashes, consistent with behavior in crypto::pedersen_hash More...
#include <pedersen.hpp>
Static Public Member Functions | |
| static field_t | hash (const std::vector< field_t > &in, GeneratorContext context={}) |
| static field_t | hash_skip_field_validation (const std::vector< field_t > &in, GeneratorContext context={}) |
| static field_t | hash_buffer (const stdlib::byte_array< Builder > &input, GeneratorContext context={}) |
stdlib class that evaluates in-circuit pedersen hashes, consistent with behavior in crypto::pedersen_hash
| Builder |
|
static |
Hash a byte_array.
TODO(@zac-williamson #2796) Once Poseidon is implemented, replace this method with a more canonical hash algorithm (that is less efficient)