[−][src]Function benaloh_challenge::check_commitment
pub fn check_commitment<H: Digest, C>(
hasher: &mut H,
commitment: &[u8],
revealed_random: &[u8],
untrusted_computation: C
) -> Result<(), Error> where
C: Fn(&mut PlaybackRng) -> Vec<u8>,