Trait commit_verify::commit_encode::CommitConceal [−][src]
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.
Associated Types
type ConcealedCommitment
[src]
Expand description
The resulting confidential type concealing and committing to the original data
Required methods
fn commit_conceal(&self) -> Self::ConcealedCommitment
[src]
Expand description
Performs commit-conceal procedure returning confidential data concealing and committing to the original data