Module parse_parameters

Source
Expand description

Structs§

HashReader
Abstraction over a reader which hashes the data being read.

Constants§

SAPLING_OUTPUT_BYTES 🔒
SAPLING_OUTPUT_HASH 🔒
SAPLING_SPEND_BYTES 🔒
SAPLING_SPEND_HASH 🔒

Functions§

parse_sapling_parameters
Parse Bls12 keys from bytes as serialized by groth16::Parameters::write.
verify_hash 🔒
Check if the Blake2b hash from hash_reader matches expected_hash, while streaming from hash_reader into sink.