AES-256 on the Label: What Does It Really Protect?
“Protected with AES-256” sounds reassuring on an app's website. It tells you something useful about the encryption, but it leaves several practical questions unanswered, including who can unlock your information.
AES means Advanced Encryption Standard, a published method for turning readable information into encrypted data. The readable version is called plaintext, the encrypted version is ciphertext, and a secret key makes it possible to turn one into the other.
AES is symmetric encryption: the same secret key is used to encrypt and decrypt. Anyone who obtains that usable key and the encrypted data can recover the contents, which makes protecting the key part of protecting the information.
Decode the number first
The number in AES-256 is the key's length in bits, the 0s and 1s computers use to represent data. AES also supports 128-bit and 192-bit keys, as defined in the National Institute of Standards and Technology specification.
A longer key creates more possible keys for an attacker to guess. It doesn't make a weak account password stronger or tell you how carefully the app protects its encryption keys.
How Hard Is It to Guess a 256-Bit Key?
All three AES versions process data in blocks of 128 bits. The 256 in the name doesn't mean a 256-megabyte file limit, a particular connection speed or a promise that the entire product has been independently checked.
For the underlying process, our Advanced Encryption Standard explainer walks through keys, blocks and the rules software uses to encrypt a full file.
Find out where the protection begins and ends
Encryption can protect information in different situations. A product's security documentation should identify which ones it covers.
- In transit means while information travels between systems, such as your device and a company's server.
- At rest means while information is stored, such as files on a drive or records in a database.
- End-to-end encryption keeps content readable only at the intended endpoints, such as the devices of the people exchanging messages, rather than at the service relaying it.
These descriptions answer different questions, and a service can use more than one. Encrypting a stored file doesn't necessarily stop the service operating that storage from reading it.
Apple's iCloud security overview, for example, distinguishes data whose keys Apple holds from categories protected with end-to-end encryption. The difference concerns who can decrypt the data, not whether the word encrypted appears in the description.
- Carry sensitive files on a drive that stays locked without your PIN.
- Unlock it on any computer, with no software to install.
- Lose it without losing sleep: the contents are encrypted in hardware.
Ask about the rest of the design
AES needs a mode of operation, a set of rules for applying it across data. Some modes also provide a way to detect unauthorized changes; AES-GCM, short for AES in Galois/Counter Mode, is one example of this authenticated encryption.
The GCM specification describes that extra protection. A claim that says only “AES” doesn't identify the mode or show that its requirements were followed correctly.
Then consider access and recovery. Can someone who takes over your account download readable files, and what happens if you lose the password or device needed to recover your keys?
Those answers depend on the application. The OWASP storage guidance treats encryption as part of a larger design that includes key management and controls over who can access the data.
AES-256 is a meaningful technical detail. Give it the most weight when the provider also explains what is encrypted, who holds the keys and how your access is protected.
Block Ciphers: Why Strong Encryption Needs More Than AES

Encryption Keys: The Small Secrets Your Files Depend On

Hybrid Encryption: Two Kinds of Keys, One Protected Message

QUOTE:
"Amateurs hack systems, professionals hack people."
