Re-exports§
pub extern crate franklin_crypto;
pub use poseidon::params::PoseidonParams;
pub use poseidon::poseidon_hash;
pub use rescue::params::RescueParams;
pub use rescue::rescue_hash;
pub use rescue_prime::rescue_prime_hash;
Modules§
Structs§
Enums§
- Padding prevents trivial collisions. Each hash function nearly uses same padding strategies. The only difference is that Rescue Prime requires no padding for fixed length input. Rescue and Poseidon require same padding rule for variable length input.