pub fn decrypt(
ciphertext: &[u8],
passphrase: &str,
salt: &[u8],
nonce_bytes: &[u8; 12],
) -> Result<Vec<u8>, StegoError>Expand description
Decrypt ciphertext with AES-256-GCM-SIV.
Returns the plaintext or StegoError::DecryptionFailed if the passphrase is wrong
or data is corrupted.