ChaCha20-Poly1305

An authenticated encryption scheme that pairs the ChaCha20 stream cipher with the Poly1305 authenticator, and runs fast even on devices without AES hardware.

In more detail

It uses a 256-bit key and a 96-bit nonce, and like AES-GCM it produces ciphertext plus a 16-byte tag that must verify before any plaintext is released. Because it needs no special processor instructions it is popular on phones and small devices, and it is one of the cipher suites in TLS 1.3. Reusing a nonce under the same key leaks plaintext, just as it does with other stream-based modes.

Examples

ALG = "ChaCha20-Poly1305"
recovered without the key: new door code is 7713, change Friday

Related terms

Taught in

References

Certification courses