Skip to main content

decrypt

Function decrypt 

Source
pub(super) fn decrypt(
    key: &[u8],
    ciphertext: &[u8],
    iv: &[u8],
    aad: &[u8],
) -> Result<Vec<u8>, OnePasswordError>
Expand description

AES-256-GCM decrypt of ciphertext || tag.