Struct commit_verify::PrehashedProtocol
source · pub struct PrehashedProtocol;Expand description
Protocol defining commits created by using externally created hash value *optionally pretagged).
Trait Implementations§
source§impl<M> CommitVerify<M, PrehashedProtocol> for CommitmentHashwhere
M: AsRef<[u8]>,
impl<M> CommitVerify<M, PrehashedProtocol> for CommitmentHashwhere
M: AsRef<[u8]>,
source§impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
source§impl<Msg, T> CommitVerify<Msg, PrehashedProtocol> for Hash<T>where
Msg: AsRef<[u8]>,
T: Tag,
impl<Msg, T> CommitVerify<Msg, PrehashedProtocol> for Hash<T>where
Msg: AsRef<[u8]>,
T: Tag,
source§impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
source§impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
source§impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
source§impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
source§impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
source§impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hashwhere
Msg: AsRef<[u8]>,
source§impl<Msg> CommitVerify<Msg, PrehashedProtocol> for MerkleNodewhere
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for MerkleNodewhere
Msg: AsRef<[u8]>,
source§impl CommitmentProtocol for PrehashedProtocol
impl CommitmentProtocol for PrehashedProtocol
source§const HASH_TAG_MIDSTATE: Option<Midstate> = None
const HASH_TAG_MIDSTATE: Option<Midstate> = None
Midstate for the protocol-specific tagged hash.
source§impl TryCommitVerify<MultiSource, PrehashedProtocol> for MerkleTree
impl TryCommitVerify<MultiSource, PrehashedProtocol> for MerkleTree
§type Error = Error
type Error = Error
Error type that may be reported during
TryCommitVerify::try_commit
and TryCommitVerify::try_verify proceduressource§fn try_commit(source: &MultiSource) -> Result<Self, Error>
fn try_commit(source: &MultiSource) -> Result<Self, Error>
Tries to create commitment to a byte representation of a given message