Function pgp::crypto::rsa::sign[][src]

pub fn sign(
    key: &RSAPrivateKey,
    hash: HashAlgorithm,
    digest: &[u8]
) -> Result<Vec<Vec<u8>>>
Expand description

Sign using RSA, with PKCS1v15 padding.