Trait commit_verify::Conceal
source · pub trait Conceal {
type Concealed;
// Required method
fn conceal(&self) -> Self::Concealed;
}
Expand description
Trait that should perform conversion of a given client-side-validated data type into a concealed (private) form, for instance hiding some of the data behind hashed - or homomorphically-encrypted version.
Since the resulting concealed version must be unequally derived from the original data with negligible risk of collisions, it is a form of commitment.