pub trait ChallengeMessage:
Clone
+ Debug
+ PartialEq
+ Eq
+ Sized
+ Send
+ Sync
+ 'static {
// Required method
fn challenge(
r: &Element<BluePallas<Self>>,
verifying_key: &VerifyingKey<BluePallas<Self>>,
message: &[u8],
) -> Result<Challenge<BluePallas<Self>>, Error<BluePallas<Self>>>;
}Expand description
Message contract required by the BluePallas challenge logic.
Required Methods§
fn challenge( r: &Element<BluePallas<Self>>, verifying_key: &VerifyingKey<BluePallas<Self>>, message: &[u8], ) -> Result<Challenge<BluePallas<Self>>, Error<BluePallas<Self>>>
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.