AES protects everything from your WiFi traffic to your password manager. Here's what it actually does, without the cryptography degree.
AES — Advanced Encryption Standard — is the encryption algorithm quietly running behind an enormous amount of everyday technology: your WiFi connection, your messaging app, your password manager, most VPNs, and the disk encryption on your laptop. It became the US government's official encryption standard in 2001 after a multi-year public competition, and more than two decades later it's still the default choice for most modern encryption needs, with no practical break ever found against it when used correctly.
Encryption transforms readable data (plaintext) into scrambled data (ciphertext) using a key, in a way that's reversible — anyone with the correct key can decrypt the ciphertext back into the original plaintext, and anyone without it sees only meaningless noise. This is the fundamental thing that separates encryption from hashing: encryption is designed to be reversed by someone with the right key, while a hash is designed to never be reversed by anyone.
AES works on fixed-size blocks of data (128 bits at a time) and runs each block through multiple rounds of mathematical transformation — substituting bytes according to a fixed table, shifting rows of the data block, mixing columns together, and combining the result with a piece of the encryption key. Each round scrambles the data more thoroughly than the last. AES-128 runs 10 rounds, AES-192 runs 12, and AES-256 runs 14 — the number in the name refers to the key length in bits, and a longer key means both more rounds and a vastly larger number of possible keys an attacker would have to try to brute-force.
AES-128 is already considered secure against any practical brute-force attack with current or realistically foreseeable computing power — the number of possible keys (2 to the power of 128) is large enough that exhaustive search isn't a real-world threat. AES-256 offers an even larger safety margin, which matters more for long-term protection against theoretical future advances in computing than for everyday practical security today. For most use cases, the choice between them matters less than making sure encryption is implemented correctly in the first place — a strong algorithm with a weak implementation around it (a poorly chosen key, a reused initialization vector) is far more likely to be the actual point of failure.
The strength of AES encryption in practice depends heavily on the key itself — a strong algorithm paired with a weak, guessable password used to derive the key is a common real-world weak point, not the algorithm itself.
Encrypting a sensitive note before sending it somewhere insecure, protecting a piece of text you're storing somewhere you don't fully trust, or scrambling data before backing it up — anywhere you need the original data back later, with only the right passphrase able to retrieve it. This is a genuinely different use case from hashing, which is for verification, not retrieval; if you need to store a password just to check it against future input, hash it. If you need the original data back, encrypt it.
No practical attack exists against correctly implemented AES with a strong key — the theoretical attacks that have been published require conditions far beyond what's realistic in practice.
It offers a larger theoretical security margin, but AES-128 is already considered secure for essentially all practical purposes today. The bigger factor in real-world security is usually key strength and correct implementation, not which AES variant is used.
Not through any known practical method — this is the entire point of the algorithm. Losing the passphrase means losing access to the original data, with no backdoor or recovery route.
Email and text messages sit in plaintext in your history forever. Here's a better way to hand off a password or API key just once.
Hashes show up in password storage, file verification, and git commits alike. Here's the one idea that explains all of it.
"Random" is doing a lot of work in that sentence. Here's what actually makes a generated password strong, and what still makes it weak.
The pattern of black and white squares explained — what's actually encoded, and why they're so reliable to scan.