pub const TAG_SIZE: usize = <<XChaCha20Poly1305 as AeadCore>::TagSize>::USIZE; // 16usizeExpand description
The number of bytes of the MAC (authentication tag) of the ciphertext.
ยงExamples
assert_eq!(abcrypt::TAG_SIZE, 16);
let ciphertext = include_bytes!("../tests/data/v1/argon2id/v0x13/data.txt.abcrypt");
let plaintext = include_bytes!("../tests/data/data.txt");
assert_eq!(
abcrypt::TAG_SIZE,
ciphertext.len() - (abcrypt::HEADER_SIZE + plaintext.len())
);