Function pgp::decrypt

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

Decrypts bytes using the given secret key and its passphrase.