Crate light_hasher

Source

Re-exports§

pub use keccak::Keccak;
pub use poseidon::Poseidon;
pub use sha256::Sha256;
pub use crate::errors::HasherError;

Modules§

bigint
errors
hash_chain
hash_to_field_size
keccak
poseidon
sha256
syscalls
This module is a partial copy from solana-program, which is licensed under Apache License 2.0.
to_byte_array
zero_bytes
zero_indexed_leaf

Macros§

impl_to_byte_array_for_array
Example usage: impl_to_byte_array_for_array! { MyCustomType, 1 => [0], 2 => [0, 1] }

Constants§

HASH_BYTES

Traits§

DataHasher
Hasher

Type Aliases§

Hash