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

Create a signature on a message encrypted under encryption_key.

See the synopsis for usage.

Implementors