Trait schnorr_fun::adaptor::EncryptedSign [−][src]
pub trait EncryptedSign { fn encrypted_sign(
&self,
signing_keypair: &KeyPair,
encryption_key: &Point<impl Normalized, impl Secrecy>,
message: Message<'_, impl Secrecy>
) -> EncryptedSignature; }
Expand description
Extension trait for Schnorr
to add the encrypted signing algorithm.
Required methods
fn encrypted_sign(
&self,
signing_keypair: &KeyPair,
encryption_key: &Point<impl Normalized, impl Secrecy>,
message: Message<'_, impl Secrecy>
) -> EncryptedSignature
fn encrypted_sign(
&self,
signing_keypair: &KeyPair,
encryption_key: &Point<impl Normalized, impl Secrecy>,
message: Message<'_, impl Secrecy>
) -> EncryptedSignature
Create a signature on a message encrypted under encryption_key
.
See the synopsis for usage.