Function pgp::sign

source ·
pub async fn sign(
    skey: SignedSecretKey,
    passphrase: impl ToString,
    plain_bytes: Vec<u8>
) -> Result<Vec<u8>>
Expand description

Signs given bytes using the given private key and its passphrase.