Encryption inputs
Encryption uses a 32-byte secret key and a 12-byte nonce. ChaCha20 transforms the plaintext into ciphertext, while Poly1305 produces a 16-byte authentication tag. The result therefore includes both encrypted bytes and evidence that the ciphertext has not been altered. Displayed text may be encoded as hexadecimal or Base64, which is a representation of the bytes rather than additional encryption.