Function sealed_box::open

source ·
pub fn open(
    ciphertext: impl AsRef<[u8]>,
    kp: &KeyPair
) -> Result<Vec<u8>, Error>
Expand description

Decrypt a ciphertext ciphertext using the key pair kp