Function sealed_box::open[][src]

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

Decrypt a ciphertext ciphertext using the key pair kp