pub trait BlindAssetProofs: Sized {
// Required methods
fn blind_asset_proof<C: Signing, R: RngCore + CryptoRng>(
rng: &mut R,
secp: &Secp256k1<C>,
asset: AssetId,
abf: AssetBlindingFactor,
) -> Result<Self, Error>;
fn blind_asset_proof_verify(
&self,
secp: &Secp256k1<All>,
asset: AssetId,
asset_commit: Generator,
) -> bool;
}Expand description
A trait to create and verify explicit surjection proofs
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.