[−][src]Trait schnorr_fun::adaptor::EncryptedSign
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: Slice<'_, impl Secrecy>
) -> EncryptedSignature
&self,
signing_keypair: &KeyPair,
encryption_key: &Point<impl Normalized, impl Secrecy>,
message: Slice<'_, impl Secrecy>
) -> EncryptedSignature
Create a signature on a message encrypted under encryption_key
.
See the synopsis for usage.
Implementors
impl<NG, CH, GT> EncryptedSign for Schnorr<CH, NG, GT> where
CH: Digest<OutputSize = U32> + Clone,
NG: NonceGen,
[src]
CH: Digest<OutputSize = U32> + Clone,
NG: NonceGen,
fn encrypted_sign(
&self,
signing_key: &KeyPair,
encryption_key: &Point<impl Normalized, impl Secrecy>,
message: Slice<'_, impl Secrecy>
) -> EncryptedSignature
[src]
&self,
signing_key: &KeyPair,
encryption_key: &Point<impl Normalized, impl Secrecy>,
message: Slice<'_, impl Secrecy>
) -> EncryptedSignature