👉 Lock down your connection with NordVPN here: NordVPN
You’ll learn what AES encryption is, how AES-128 and AES-256 compare, and what it protects in VPNs, HTTPS, and stored files. Understand its limits so you can evaluate privacy claims and make smarter cybersecurity choices.
Chapters: 0:00 Intro 0:12 What is AES encryption, in plain English? 1:00 Is AES-256 better than AES-128? 1:51 Why does the AES encryption mode matter? 2:37 How does AES work in VPNs and HTTPS? 3:53 What can’t AES encryption protect you from? 4:40 Outro
Affiliate notice: Some links may earn a commission. Thanks for your support.
Key Takeaways
AES is a shared-key encryption standard that turns readable data into ciphertext. Its security depends on protecting the secret key, not hiding the algorithm. See NIST’s AES standard.
AES-128 remains secure when properly implemented. AES-256 offers a larger key-search margin, but neither compensates for stolen keys, weak passwords, or software flaws.
The encryption mode matters. AES-GCM provides confidentiality and tamper detection, but reusing a nonce with the same key can undermine both. Avoid AES-ECB for general-purpose data protection.
Encryption protects specific boundaries: Wi-Fi covers your device to the access point, a VPN covers your device to its server, and HTTPS covers your application to the TLS endpoint, not beyond it.
Stored-file protection depends on who controls the keys. Provider-managed cloud encryption may still let the provider read your files; unlocked or compromised devices can expose encrypted data.
AES does not prevent phishing, malware, tracking, or misuse by recipients. Use strong passwords, secure endpoints, and safely stored recovery keys alongside encryption.
Evaluate protection, not “AES-256” marketing: ask what is encrypted, where protection ends, who holds the keys, whether tampering is detected, and what remains exposed.
👉 Put connection-level privacy into practice with NordVPN to encrypt VPN-routed traffic and mask your public IP, an added privacy layer, not complete anonymity or a substitute for safer browsing.
AES encryption protects digital information by turning readable data into ciphertext that can be recovered with the correct secret key. It helps secure website connections, VPN traffic, stored files, backups, and other sensitive information.
But an “AES-256” label is not a complete security guarantee. To understand what a product actually protects, you also need to know how it uses encryption, where that protection ends, and who controls the keys.
What Is AES Encryption?
AES stands for Advanced Encryption Standard. It is a symmetric block cipher: an encryption algorithm that operates on fixed-size blocks of data using a shared secret key.
Three terms explain the basic process:
FAQ
Quick answers to the questions people usually ask about this topic.
What is the difference between AES and RSA encryption?
AES is symmetric: the same secret key underlies encryption and decryption. RSA is asymmetric: it uses a public key and a private key. AES is typically used to encrypt bulk data, while asymmetric cryptography can support tasks such as authentication and establishing or protecting encryption keys. Secure systems often combine symmetric and asymmetric techniques.
Is AES encryption the same as hashing?
No. AES encryption is reversible with the correct secret key. Cryptographic hashing produces a digest and is not designed to be reversed. Password storage generally uses a dedicated password-hashing scheme rather than reversible AES encryption; password-manager vaults use encryption because their contents must be recoverable.
Does using AES mean a service has end-to-end encryption?
No. AES identifies an encryption algorithm, not who can decrypt the information. A service can use AES while retaining access to the keys and your readable data. End-to-end encryption requires protection between the participating endpoints, with intermediary services unable to decrypt the protected content. Look for an explanation of key ownership, not just an AES-256 label.
Will encrypting the same file twice with AES produce identical encrypted files?
Not necessarily. Properly designed file-encryption systems commonly use fresh randomness or unique values, so encrypting the same file twice can produce different ciphertext even with the same password. The exact behavior depends on the format and encryption mode. Do not force repeatable output by reusing nonces: repeating a nonce with the same AES-GCM key can seriously compromise security.
Do I still need HTTPS when using an encrypted VPN?
Yes. A VPN protects routed traffic between your device and the VPN server; it does not automatically encrypt the remaining path to a website. HTTPS protects communications to the website’s TLS endpoint, including after the traffic leaves the VPN server. Keep HTTPS enabled even when your VPN is connected.
What is a practical next step for reducing exposure on shared Wi-Fi?
Keep HTTPS enabled, update your devices, and consider a VPN as an additional connection-level privacy layer. Explore NordVPN to encrypt VPN-routed traffic and mask your public IP from destination websites. This can reduce exposure to local-network observers, but it shifts trust toward the VPN provider and does not prevent phishing, cookie-based tracking, or identification through logged-in accounts.
Some links may earn a commission. Thanks for your support.
Watch in the video playerOpen the dedicated player for this video.
Plaintext: The original, readable information, such as a document or message.
Ciphertext: The encrypted version of that information.
Encryption key: The secret value used to encrypt and decrypt the data.
“Symmetric” means the same secret key underlies both encryption and decryption. Authorized software uses that key to recover the original information.
Think of AES as a publicly understood lock design with a secret combination. Everyone can know how the lock works without knowing how to open your particular lock. Likewise, AES’s algorithm is public; its security depends on protecting the key, not hiding the design.
The U.S. National Institute of Standards and Technology standardized AES in 2001 as FIPS 197. It is based on Rijndael, an algorithm designed by cryptographers Joan Daemen and Vincent Rijmen.
How AES Encryption Works
AES always operates on 128-bit blocks, equivalent to 16 bytes. Each block passes through repeated rounds of transformations that substitute, rearrange, and mathematically mix the data with material derived from the secret key.
The core operations include:
Substitution: Replacing bytes according to a defined rule.
Rearrangement: Shifting byte positions.
Mixing: Combining byte values mathematically.
Key addition: Combining the working data with a round key derived from the original key.
These operations work on binary data, so AES can protect text, photographs, documents, and network traffic.
However, the raw AES algorithm is only a building block. Real applications also need rules for handling longer messages, managing keys, and, in many cases, detecting unauthorized changes.
AES also does not establish a shared key between two devices by itself. Protocols such as TLS provide the surrounding authentication, key-establishment, and key-derivation mechanisms.
AES-128 vs. AES-192 vs. AES-256
The number after AES identifies the key length, not the block size or the length of a user’s password.
AES variant
Key length
Block size
Encryption rounds
AES-128
128 bits
128 bits
10
AES-192
192 bits
128 bits
12
AES-256
256 bits
128 bits
14
Longer keys create more possible combinations for an attacker to search. A 128-bit key has 2^128 possible values; a 256-bit key has 2^256.
That means AES-256 has vastly more possible keys than AES-128, not merely twice as many.
Is AES-128 Still Secure?
Properly implemented AES-128 remains secure against practical brute-force key searches. It should not be treated as broken or obsolete simply because AES-256 exists.
AES-256 offers a larger key-search margin, but real-world protection depends on more than that number. A system using AES-256 can still fail because of stolen keys, weak passwords, software flaws, or incorrect encryption settings.
Performance also depends on the device, software, encryption mode, and available hardware acceleration, not just key length.
Why AES Encryption Modes Matter
A mode of operation defines how AES protects data beyond a single block. Different modes provide different security properties.
Mode
Typical purpose
Important limitation or requirement
AES-GCM
Encrypting data and detecting unauthorized changes
Requires correct nonce management
AES-CBC
Providing confidentiality
Does not independently authenticate the data
AES-CTR
Encrypting data using counter-generated output
Does not independently authenticate data; counter reuse is dangerous
AES-XTS
Protecting block-oriented storage
Does not provide cryptographic authentication of stored data
AES-ECB
Encrypting blocks independently
Exposes repeated patterns and is unsuitable for general-purpose data protection
AES-GCM and Tamper Detection
AES-GCM combines encryption with an authentication tag that the receiving system checks. This helps detect unauthorized changes to protected data.
That distinction matters: keeping information secret and detecting tampering are separate jobs. AES by itself does not automatically provide both.
AES-GCM also uses a nonce, a value that must not repeat with the same key in ordinary GCM use. The nonce generally does not need to be secret, but reusing a key-and-nonce combination can undermine confidentiality and authentication.
A longer key cannot fix that mistake. This is why “military-grade encryption” tells you much less than a clear explanation of the mode, implementation, and key management.
What AES Protects in VPNs, HTTPS, and Wi-Fi
Encryption operates between particular endpoints. Understanding those boundaries is more useful than simply checking whether a service advertises AES.
AES in VPN Connections
Some VPN protocols use AES to protect traffic between your device and a VPN server. For example, AES-GCM is specified for use with IPsec.
Not every VPN uses AES. WireGuard uses ChaCha20 with Poly1305 instead. Using a different established encryption algorithm does not automatically make a VPN insecure.
A consumer VPN can reduce what your local network or internet provider can learn about traffic routed through it. However, it also shifts trust toward the VPN provider.
VPN encryption does not automatically make you anonymous. Accounts, cookies, and other tracking mechanisms can still identify you.
AES in HTTPS Connections
HTTPS uses TLS to protect communications between a browser or application and a service. TLS 1.3 supports AES-GCM as well as non-AES alternatives.
For example, when you submit information to a website over HTTPS, the connection protects that information while it travels to the TLS endpoint. The website can still read what you submit because it is the intended recipient.
HTTPS therefore protects the journey. It does not guarantee that the destination is trustworthy or prevent the service from using the information it receives.
AES in Wi-Fi Security
WPA2 and WPA3 use AES-based protection for wireless communications. This protects the radio link between your device and the wireless access point.
It does not, by itself, protect the entire route to an internet service.
Protection layer
Typical protected span
These layers can work together. An HTTPS connection can travel inside a VPN tunnel over encrypted Wi-Fi, with each layer protecting a different boundary.
AES Encryption for Stored Files and Backups
AES also protects data at rest: information saved on a device or storage service rather than moving across a network.
Common examples include:
Full-device or drive encryption, such as BitLocker and FileVault.
Encrypted documents, archives, and local backups.
Cloud storage objects.
Password-manager vaults.
Properly implemented storage encryption can help prevent offline access to data on a lost or stolen device. But protection depends on how the keys are secured and whether the data is already accessible through an unlocked or compromised system.
Cloud encryption requires particular attention to key ownership. Server-side encryption does not necessarily prevent the provider from reading your data. Encrypting files locally before upload creates a different trust boundary, depending on who holds the decryption keys.
What AES Encryption Cannot Protect You From
AES can protect data contents, but it is not a substitute for broader cybersecurity measures.
Phishing and Dishonest Recipients
Encryption does not stop you from entering a password into a fraudulent website. An encrypted connection to an attacker is still a connection to an attacker.
Likewise, someone authorized to decrypt a document can read it and potentially share it afterward.
Malware and Compromised Devices
If malware can access readable information or steal a usable key, it may not need to break AES at all.
Encryption cannot restore secrecy once an attacker obtains the plaintext at an endpoint.
Weak Passwords
An encrypted archive may use AES-256 while still being vulnerable to password guessing.
Password-based systems use a key derivation function to derive or protect encryption keys. A 256-bit output does not turn an easily guessed password into a random 256-bit secret.
An attacker may test likely passwords instead of searching every possible AES key.
Tracking and Metadata Exposure
AES does not remove tracking cookies, erase logged-in identities, or conceal every observable connection detail.
Depending on the system, traffic timing and volume may remain visible. Encryption protects specified information, not every fact about your activity.
Lost Keys
Strong encryption can also lock out the legitimate owner. Losing the necessary key material may make encrypted information inaccessible.
Keep recovery keys and backups secure according to the system’s recovery instructions.
How to Evaluate AES Encryption Claims
When comparing privacy tools, look beyond the biggest key-size number. Ask:
What is encrypted? A file, a device, selected traffic, or an entire routed connection?
Where does protection begin and end? At a router, VPN server, website, or another person’s device?
Who holds the keys? You, the provider, another recipient, or several parties?
Does the construction detect tampering? AES-GCM does; not every AES mode does independently.
The most useful privacy question is not simply “Does it use AES?” It is “What does this system protect, and from whom?”
Add a Practical Privacy Layer to Your Connection
A VPN can complement HTTPS by encrypting VPN-routed traffic between your device and the VPN server and masking your public IP address from destination websites. It is an added privacy layer, not complete anonymity or a replacement for safer browsing habits.
👉 Try NordVPN to encrypt VPN-routed traffic, mask your public IP, and reduce network-level exposure on your phone and computer.
Affiliate notice: Some links may earn a commission. Thanks for your support.
Affiliate link — I may earn a commission at no additional cost to you.
Jay's Recommendation
Turn privacy knowledge into everyday protection
The series explains online privacy. NordVPN helps you put it into practice with encrypted connections, IP masking, and apps for everyday devices. Reduce network-level exposure without building your own setup. It’s an added privacy layer, not complete anonymity or a replacement for safer browsing habits.
🔒Encrypted connectionsHelp shield VPN-routed traffic from observers on shared Wi-Fi.
👁Less ISP visibilityLimit what your provider can see about browsing carried through the VPN.
🎭Masked public IPShow websites the VPN server’s address instead of your own.
📱Privacy across devicesPut connection-level protection to work on your phone and computer.