pub fn open(
ciphertext_b64: &str,
recipient_priv: &RecipientPrivateKey,
) -> Result<Vec<u8>, SealedError>Expand description
Open a base64-encoded libsodium sealed-box ciphertext with recipient_priv.
ยงErrors
Returns SealedError::Decode for malformed base64 input, or
SealedError::Decrypt if the ciphertext fails authentication or is
otherwise malformed.