Trait schnorr_fun::adaptor::EncryptedSign[][src]

pub trait EncryptedSign {
    fn encrypted_sign(
        &self,
        signing_keypair: &KeyPair,
        encryption_key: &Point<impl Normalized, impl Secrecy>,
        message: Slice<'_, impl Secrecy>
    ) -> EncryptedSignature; }

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
[src]

Create a signature on a message encrypted under encryption_key.

See the synopsis for usage.

Loading content...

Implementors

impl<NG, CH, GT> EncryptedSign for Schnorr<CH, NG, GT> where
    CH: Digest<OutputSize = U32> + Clone,
    NG: NonceGen
[src]

Loading content...