fn new(key: &Key) -> Self {
        Self {
            aes256ctr_key: GenericArray::clone_from_slice(&key[0..32]),
            aes128_key: GenericArray::clone_from_slice(&key[32..48]),
            poly1305_r: GenericArray::clone_from_slice(&key[48..64]),
        }
    }
/// New AEAD using AES256-CTR and Poly1305-AES from the given 64-byte key.
/// The first 32 bytes are used as key for AES256-CTR.
/// The following 16 bytes are used as key for the AES128 used in Poly1305-AES.
/// The last 16 bytes are used as r in Poly1305-AES.
New AEAD using AES256-CTR and Poly1305-AES from the given 64-byte key.
The first 32 bytes are used as key for AES256-CTR.
The following 16 bytes are used as key for the AES128 used in Poly1305-AES.
The last 16 bytes are used as r in Poly1305-AES.
New AEAD using AES256 - CTR and Poly1305 - AES from the given 64 - byte key . The first 32 bytes are used as key for AES256 - CTR . The following 16 bytes are used as key for the AES128 used in Poly1305 - AES . The last 16 bytes are used as r in Poly1305 - AES .
fn new(key: &Key) -> Self {
        Self {
            aes256ctr_key: GenericArray::clone_from_slice(&key[0..32]),
            aes128_key: GenericArray::clone_from_slice(&key[32..48]),
            poly1305_r: GenericArray::clone_from_slice(&key[48..64]),
        }
    }
fn new ( key : & Key ) -> Self { Self { aes256ctr_key : GenericArray :: clone_from_slice ( & key [ 0 .. 32 ] ) , aes128_key : GenericArray :: clone_from_slice ( & key [ 32 .. 48 ] ) , poly1305_r : GenericArray :: clone_from_slice ( & key [ 48 .. 64 ] ) , } }
New AEAD using AES256-CTR and Poly1305-AES from the given 64-byte key.
New AEAD using AES256 - CTR and Poly1305 - AES from the given 64 - byte key .
key
&Key
key
&Key