pub fn decrypt(len: usize, key: &[u8], iv: &[u8]) -> Self {
        assert!(
            len > TAG_LEN,
            "failed to create AES-GCM decryptor, encrypted payload too small"
        );
        Self::new(CryptMode::Decrypt, len - TAG_LEN, key, iv)
    }
/// Create an AES-GCM decryptor.
///
/// The size in bytes of the data to decrypt must be given as `len`, including the size of the
/// suffixed tag.
///
/// The decryption `key` and input vector `iv` must also be given.
Create an AES-GCM decryptor.
The size in bytes of the data to decrypt must be given as `len`, including the size of the
suffixed tag.

The decryption `key` and input vector `iv` must also be given.
Create an AES - GCM decryptor . The size in bytes of the data to decrypt must be given as ` len ` including the size of the suffixed tag . The decryption ` key ` and input vector ` iv ` must also be given .
pub fn decrypt(len: usize, key: &[u8], iv: &[u8]) -> Self {
        assert!(
            len > TAG_LEN,
            "failed to create AES-GCM decryptor, encrypted payload too small"
        );
        Self::new(CryptMode::Decrypt, len - TAG_LEN, key, iv)
    }
pub fn decrypt ( len : usize , key : & [ u8 ] , iv : & [ u8 ] ) -> Self { assert ! ( len TAG_LEN " " ) ; Self :: new ( CryptMode :: Decrypt , len - TAG_LEN , key , iv ) }
Create an AES-GCM decryptor.
Create an AES - GCM decryptor .
len
usize
key
&[u8]
iv
&[u8]
len
usize
key
&[u8]
iv
&[u8]