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§

The resulting confidential type concealing and committing to the original data

Required Methods§

Performs commit-conceal procedure returning confidential data concealing and committing to the original data

Implementors§