Has it been Pwned

Encryption

Protect the message and detect tampering. Choose a complete construction, then check its key, nonce and data limits.

  1. 01Secret key
  2. 02Authenticated encryption
  3. 03Ciphertext + tag

Three questions before choosing

Is the ciphertext authenticated?

A cipher alone does not detect malicious changes. AES-GCM and ChaCha20-Poly1305 combine encryption with authentication; the mode is part of the choice.

Can a nonce repeat?

Nonce management is a security requirement. Restarts, concurrency and key reuse must not violate the construction's uniqueness rules.

What are the operating limits?

Follow the protocol's message-size, tag-length and per-key limits. Verify authentication before acting on plaintext.

Compare current options

All algorithms ↗

Every option has conditions. Open a system to read its deployment assessment and evidence.

Legacy choices and construction traps

ChaCha20 remains standing as a cipher. Its placement in the second list means the bare cipher needs an authenticated construction, not that ChaCha20 is broken.

  • DESBroken

    Replace for new encryption.

  • 3DESWeakened

    Replace for new encryption.

  • RC4Broken

    Replace for new encryption.

  • ChaCha20Standing

    Choose a complete authenticated construction for application encryption.

How to read a reduced-round result

Standard AES-128 uses ten rounds. Anthropic’s reported speedup concerns seven. The recent SEED study also reaches seven, of a different 16-round design. Two CRAFT papers find related weaknesses across all 32 rounds. Civino reports partial key recovery when the analyst can choose tweaks. Check what the researchers recovered and under which conditions.

Storage encryption depends on the hardware

XTS-AES protects stored data from being read without the right key. A lab study used physical power measurements of an ESP32-C3 to recover encrypted flash contents. The report identifies the chip and accelerator tested, which are essential to interpreting the result.

How a storage mode encrypts a whole filename

A filename can span several 16-byte AES blocks. Linux fscrypt can use AES-256-HCTR2 to mix the whole filename so that a small edit is expected to change ciphertext throughout it. HCTR2 also takes a tweak, a context value that need not be secret. AES-256 has a 256-bit key and a 128-bit block. The block width matters to how the mode’s security guarantee changes as it processes more data. Researchers are studying ways to extend that guarantee using the same AES block width.

Wrapping a key protects key material

AES-KW and AES-KWP use a wrapping key to protect the confidentiality and integrity of another key. A preprint derives a security bound for the six-pass core under an assumption about AES and analyzes the separate integrity check. The paper informs the discussion around NIST’s pre-draft review of SP 800-38F.

What happens when a nonce repeats?

RFC 8439 ChaCha20-Poly1305 requires a fresh nonce for each encryption under the same key. The proposed PSIV variant is designed to limit the damage of a repeat. It also aims to keep a ciphertext from validating under two different keys, a separate property called key commitment.

A pattern and a recovered key answer different questions

A distinguisher tests for a pattern that is unlikely under an ideal cipher. Key recovery identifies the secret key. The ASIACRYPT papers on seven-round AES illustrate both questions, with separate estimates for the data, time and memory they require.

Read the specifications

Guide sources reviewed 19 October 2026. This is construction and deployment guidance, not an exhaustive cryptanalysis review.