NoteOS 1.2.0 is available

Blog · · 2 min read

AES-256 encryption explained (without the math)

What AES-256 encryption is, why it's considered unbreakable in practice, what the GCM mode adds, and why your password matters more than the cipher.

“Protected by AES-256” appears on everything from VPNs to cloud drives. It’s a genuinely strong standard — but it’s also only one part of keeping data safe. Here’s what it means, in plain language.

What is AES?

AES (Advanced Encryption Standard) is a cipher: a recipe that scrambles data with a key so that only someone with the same key can unscramble it. It was selected as a US government standard in 2001 after a public, multi-year competition, and it’s now used almost everywhere — in browsers, phones, disks and messaging apps.

What does the “256” mean?

It’s the key length in bits. A 256-bit key can take 2²⁵⁶ different values — a number with 78 digits. Trying every possible key is not a realistic attack, for any computer that exists or is on the horizon.

AES also comes in 128- and 192-bit versions. AES-128 is already considered secure; AES-256 adds a large safety margin.

What is AES-GCM?

A cipher alone only provides secrecy. GCM (Galois/Counter Mode) is a way of using AES that also provides integrity: every encrypted message carries a tag that proves it hasn’t been changed. If anyone alters even one bit of the ciphertext, decryption fails instead of producing garbage.

That matters for stored data. Without integrity checks, an attacker who can’t read your data might still tamper with it.

GCM needs a nonce — a number used only once per key. Good implementations generate a fresh random nonce every time data is encrypted.

AES is rarely the weak point

If AES-256 is effectively unbreakable, how do breaches happen? Almost always somewhere else:

  1. The key is stored next to the data. If the provider holds the key, an attacker who gets into the provider gets both.
  2. The key comes from a weak password that can be guessed.
  3. The device is compromised, so malware reads data after it’s decrypted.

That’s why who holds the key matters more than which cipher is used. See what zero-knowledge encryption means.

Turning a password into a key

People can’t remember 256-bit keys, so apps derive them from passwords with a key derivation function like scrypt or Argon2. These are deliberately slow and memory-hungry, which makes guessing billions of passwords impractical.

A long, unique passphrase — four or five random words — is both easy to remember and very hard to guess.

How NoteOS uses AES-256

NoteOS encrypts each note with AES-256-GCM on your device, using a fresh random nonce every time it’s saved, and binds each ciphertext to its note so it can’t be swapped with another. The key is protected by your password through scrypt, and only your devices ever hold it. The encryption documentation explains every step.

Frequently asked questions

Can quantum computers break AES-256?

The best known quantum attack roughly halves the effective key strength, leaving AES-256 with a margin comparable to AES-128 today — still considered secure.

Is AES-256 slower than AES-128?

Slightly, but modern processors have hardware support for AES, so for notes and documents the difference is unnoticeable.

Does AES-256 protect me if I forget to lock my phone?

No. Encryption protects stored and transmitted data. Someone using your unlocked device sees what you see — which is why app locks and screen locks still matter.