Skip to main content

rescue_commit

Function rescue_commit 

Source
pub fn rescue_commit(
    bal: u128,
    nonce: u128,
    ct_hash: &[u8; 16],
) -> [BaseElement; 4]
Expand description

Compute Rp64_256 commitment: hash(bal, nonce, ct_hash_bytes). Returns the 4-element digest (32 bytes).