smt_hash_leaf

Function smt_hash_leaf 

Source
pub fn smt_hash_leaf(key: &[u8], value: &[u8]) -> Result<Vec<u8>, JsValue>
Expand description

Compute Poseidon2 hash for leaf nodes: hash(key, value, 1)