pub struct PrehashedProtocol;
Expand description

Protocol defining commits created by using externally created hash value *optionally pretagged).

Trait Implementations§

Creates a commitment to a byte representation of a given message
Verifies commitment against the message; default implementation just repeats the commitment to the message and check it against the self.
Creates a commitment to a byte representation of a given message
Verifies commitment against the message; default implementation just repeats the commitment to the message and check it against the self.
Creates a commitment to a byte representation of a given message
Verifies commitment against the message; default implementation just repeats the commitment to the message and check it against the self.
Creates a commitment to a byte representation of a given message
Verifies commitment against the message; default implementation just repeats the commitment to the message and check it against the self.
Creates a commitment to a byte representation of a given message
Verifies commitment against the message; default implementation just repeats the commitment to the message and check it against the self.
Creates a commitment to a byte representation of a given message
Verifies commitment against the message; default implementation just repeats the commitment to the message and check it against the self.
Creates a commitment to a byte representation of a given message
Verifies commitment against the message; default implementation just repeats the commitment to the message and check it against the self.
Creates a commitment to a byte representation of a given message
Verifies commitment against the message; default implementation just repeats the commitment to the message and check it against the self.
Creates a commitment to a byte representation of a given message
Verifies commitment against the message; default implementation just repeats the commitment to the message and check it against the self.
Creates a commitment to a byte representation of a given message
Verifies commitment against the message; default implementation just repeats the commitment to the message and check it against the self.
Midstate for the protocol-specific tagged hash.
Error type that may be reported during TryCommitVerify::try_commit and TryCommitVerify::try_verify procedures
Tries to create commitment to a byte representation of a given message
Tries to verify commitment against the message; default implementation just repeats the commitment to the message and check it against the self.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.