Skip to main content

open

Function open 

Source
pub fn open(secret: &[u8], salt: &[u8; 32]) -> Vec<u8> 
Expand description

The Simple Reveal. Reconstructs the commitment from (secret, salt).

Returns the same 32 bytes that commit would produce for the same inputs. Compare with ==.