Function askar_crypto::encrypt::crypto_box::crypto_box_open[][src]

pub fn crypto_box_open<B: ResizeBuffer>(
    recip_sk: &X25519KeyPair,
    sender_pk: &X25519KeyPair,
    buffer: &mut B,
    nonce: &[u8]
) -> Result<(), Error>
This is supported on crate feature crypto_box only.
Expand description

Unencrypt a crypto box