Trait commit_verify::commit_encode::CommitConceal
source · pub trait CommitConceal {
type ConcealedCommitment;
fn commit_conceal(&self) -> Self::ConcealedCommitment;
}
Expand description
Trait that should perform conversion of a given client-side-validated data type into its confidential version concealing all of its data.
Since the resulting concealed version must be unequally derived from the original data with negligible risk of collisions, it is a form of commitment – thus the procedure called commit-conceal and not just a conceal.
Required Associated Types§
sourcetype ConcealedCommitment
type ConcealedCommitment
The resulting confidential type concealing and committing to the original data
Required Methods§
sourcefn commit_conceal(&self) -> Self::ConcealedCommitment
fn commit_conceal(&self) -> Self::ConcealedCommitment
Performs commit-conceal procedure returning confidential data concealing and committing to the original data