Is a VPN Encrypted?
Find out just how safe you are when you’re using a VPN.
VPNs are an increasingly popular way to connect to the internet. They are often described as tunnels between your computer and servers that hide your internet activity from prying eyes. But is that really true, and just how safe is a VPN? For instance, does a VPN use encryption methods so your data is completely encoded and safe from hackers? Below, we get into the answers to all of these questions and explain just how safe VPNs really are.
Is a VPN Encrypted?
The simple answer is yes, a VPN is encrypted. As we explain in our guide to VPNs, a VPN, or a virtual private network, is an encrypted tunnel that connects your computer to a network, typically a public network. The keyword here is “encrypted.” From the time you enter the tunnel, all of your data as well as your online activity is encoded to protect it from prying eyes.
Why Do You Need a VPN Service?
As our own research into consumer usage reveals, a VPN can be handy for a number of reasons.
Probably the most straightforward reason people use VPNs is to protect their privacy. By encrypting your web activity and IP addresses, a VPN ensures that no one who intercepts your internet signal can decode that data. This makes VPNs especially useful when you’re logging on to a public Wi-Fi network at your local coffee shop or the public library. A VPN prevents others on the same network from spying on what you’re doing.
But privacy can also be important to someone at home who is using a private router to access the internet. Most users use a commercial internet service provider (ISP) to get onto the internet. And in most cases, an ISP provides plenty of protection from hackers. An ISP doesn’t, however, provide protection from government spying. Users who spend time on the dark web or torrenting sites may prefer to be hidden from the government and even their own ISP. A VPN provides that kind of protection.
Bypassing Government Restrictions
Many countries restrict internet access or ban certain sites for ideological reasons. A VPN allows citizens to bypass internet restrictions and use the internet freely, without censorship.
Bypassing Streaming Restrictions
Most of us use a streaming service to watch television shows and movies. Not everyone knows, however, that content can vary based on a user’s geographic location. Netflix and Amazon Prime, for instance, both offer content in Canada that can’t be seen just across the border in the U.S. And YouTube TV provides content based on a user’s location within the U.S., so Chicago viewers get different local channels from Atlanta viewers. Because they hide your IP address, a Netflix VPN, a Prime Video VPN, and a YouTube TV VPN all prevent those streaming services from seeing your geographic location, which means you can access content from anywhere in the world. You can even access U.S. content from abroad with a U.S. IP address. For more information, check out our complete guide to the best VPNs for streaming.
VPNs help with streaming in another sense as well. Some ISPs throttle internet signals once users have reached a data maximum each month. This slows down streaming, which makes watching your favorite show difficult if not impossible. However, by encrypting your internet connection, a VPN prevents ISPs from knowing how much data you are using, meaning that you can binge-watch Game of Thrones with zero stress.
Finally, some users employ VPNs simply for the extra protection it adds from hackers. As we’ve already mentioned, a VPN’s primary job is to encrypt your information, particularly your PII (personal identifiable information) so it can’t be stolen in transit. PII includes your:
- Social Security number
- Mother’s maiden name
- Place of birth
- Biometric information
In short, PII is anything that could be used to track and clone your identity.1 When a VPN encrypts your PII, however, even if a thief could get their grubby hands on it, they wouldn’t be able to read it. Find out more about how to prevent identity theft in our complete guide to identity theft protection.
How Does a VPN Work?
To enable stress-free streaming, anonymity, and security, here are the two major ways VPNs work:
- VPNs conceal your IP address by redirecting your internet signal through a remote host that assigns it a new IP address. This means you can browse the web with complete anonymity.
- VPNs encrypt all the data you send and receive, including your browsing activity, so that no one can read it but you. This not only protects your personal data, but it further conceals your identity.
Types of VPNs
There are three different kinds of VPNs:
- Remote access: Remote access VPNs are the most common type of VPN. They involve connecting a computer to a “remote” server. That server provides the encryption that protects your data when you’re online.
- Intranet site-to-site access: A site-to-site access VPN creates a kind of floating tunnel between multiple computers networked together. Frequently used in business, these VPNs allow employees working in different parts of the world to connect to one another over a single encrypted network. An intranet VPN encrypts the tunnel but allows the various computers in the network to communicate directly without encryption.
- Extranet site-to-site access: In contrast to an intranet site-to-site VPN, an extranet VPN creates a tunnel between two separate intranets. The most common example is two separate companies collaborating on a project. Each company’s intranet connection allows users within it to communicate with each other directly. The extranet connection keeps both companies’ intranets safe while allowing their users to communicate.
How a VPN Protects Your IP Address and Privacy
Once you log on to a VPN — that is, once you enter the encryption tunnel — the VPN hides your data from anyone who might want to see it. In the simplest terms, what you do online when you are connected to a VPN is completely private. One of the advantages of a VPN is that the privacy extends to your IP address, the identifying information of your device that lets others know your location. When you log in to a VPN, you can connect to a server in a number of locations around the world. In addition, the VPN issues you an IP address that conceals your actual IP address. The end result? You are absolutely anonymous.
What Encryption Methods Do VPNs Use?
You can think of a VPN’s encryption as a set of tools, each one providing its own layer of protection. VPNs use several encryption methods:
- Symmetric encryption: Symmetric encryption is a simple concept that dates back to Roman times and the Caesar cipher. It means one person uses an algorithm to encrypt the message they send to someone else. Both the sender and the receiver know that algorithm. In other words, the relationship to the code is symmetric. Anyone without access to the algorithm, on the other hand, has no means to decode the message.
- AES encryption: Of course, the algorithms or “ciphers” used in contemporary computing go well beyond anything the Romans might have dreamed up. One of the most commonly used ciphers today is AES, the Advanced Encryption Standard. The U.S. military developed this method.2 It involves dividing texts into grids and then scrambling those grids. AES divides data streams into 128-bit chains of cipher blocks. The “key” to decipher these chains can be 128, 192, or 256 bits long, each progressively harder to break. The best VPNs typically use AES-256 to encrypt user data.
- Public-key encryption: Symmetric encryption has one flaw — in order for the two sides to understand one another, they must share the cipher key. When one side sends this key to the other, it is vulnerable to interception by hackers. Once a hacker has the key, the encryption is useless. Public-key encryption addresses this problem by creating separate encryption and decryption keys. The VPN server encrypts data using a public key, but when that data reaches the user’s computer, the user has their own private key for decrypting the data.
- Transport layer security: Finally, transport layer security, or TLS, provides a system of authentication between servers and users, ensuring that a hacker can’t pretend to be on one side or the other in order to steal the cipher. A VPN server enacts transport layer security when a user first connects to the server as a means of verifying identity before encryption can begin.
What Protocols Can a VPN Employ?
Essentially, internet protocols are sets of instructions for how a given VPN transmits data across a network. There are several different protocols, each with its own pros and cons.
- OpenVPN is open-source software. This means it is free to use.
- Anyone can test out OpenVPN or suggest bug fixes. In fact, an entire internet community regularly tests OpenVPN, ensuring it features the most secure set of protocols.
- No single company controls OpenVPN. This means it is free of potential backdoors, hidden places in the program a company or government agency can use to spy on users’ activities.
- Because it utilizes so many different encryption layers, OpenVPN is not as fast as other protocols.
- PPTP is among the fastest VPN protocols, useful for those who are looking for speed but don’t need a lot of security.
- PPTP is one of the oldest protocols,3 so it is a well-known entity to hackers. In short, it cannot protect against a serious hacking attack.
- The L2TP protocol is based on PPTP, so it is faster than most other protocols.
- It is, however, more secure than PPTP because it double-encapsulates data.
- L2TP can’t work on its own; it must be used in conjunction with IPsec.
- Because it uses UDP, L2TP is easy for sites to block.4
- SSTP uses AES encryption for enhanced security.
- The protocol gets past blocked sites by using SSL and Port 443 (a port that secure websites use) so that it looks like normal HTTPS web traffic.5
- Microsoft created SSTP, which means it could include backdoors, or methods by which Microsoft and government agencies could spy on activity within the VPN.
- IKEv2 is faster than OpenVPN.
- It can also employ AES encryption.
- This protocol is difficult to set up on the server end, so inexperienced VPN companies might make mistakes.
- Firewalls can block it.
- Developers created WireGuard to be a faster alternative to OpenVPN.
- Like OpenVPN, the protocol employs open-source software, so anyone can test it.
- WireGuard has only been in use for two years, so the open-source community hasn’t had a lot of time to rigorously test it.6
How Can a VPN Protect Against Identity Theft?
One of the chief ways hackers steal identities is by grabbing users’ data while that data is being transferred from a user to a website. For instance, when a user makes an online purchase, a hacker might be able to catch bank account numbers, passwords, and other identifying information while it is in transit. Most e-commerce websites have their own encryption tools in place to protect users, but a VPN offers an additional layer of security by further encrypting this data and preventing identity theft.
What’s Wrong With Public Networks?
Don’t get us wrong; we’re grateful for public Wi-Fi at our favorite restaurants, since they allow us to get fast, free signals on the go. However, “public” means everyone in the vicinity shares the same internet connection. Even a relatively unsophisticated hacker can look over your digital shoulder if you’re sharing an internet connection. By putting you into an encrypted tunnel, a VPN makes sure that can’t happen.
FYI: Many VPNs offer a feature known as split tunneling. With split tunneling, you can maintain a public Wi-Fi connection at the same time you connect to a VPN. You could stream content for free on one server while you protect sensitive data on the other.
Do VPNs Slow Down Connections?
The simple answer is yes, every VPN slows down your connection to some degree. That’s because all the encryption to secure your internet connection takes time to code and decode. Some encryption methods and protocols slow down devices more than others. There is some good news, though. Many ISPs throttle connection speeds to control how much data their customers can use each month. By hiding how much data you’re using, a VPN can prevent this kind of throttling and actually keep your speed closer to what it should be with net neutrality.7
Does a VPN Make Online Users Anonymous?
One of the chief reasons to use a VPN is that it makes you anonymous online. When you connect through an ISP, the ISP assigns you a specific IP address that allows hackers and government agencies to track your online behavior. That same IP address allows streaming content providers to know exactly where you are and ISPs to know which websites you’re visiting and how much data you’re using. A VPN encrypts your data so no one can see what you’re doing, but it also assigns you an IP address that isn’t linked to your device. This means wherever you go and whatever you do online is completely private and anonymous.
Can VPNs Change Your Location?
Yes, a VPN can make users seem to be in different geographic locations from where they actually are. Once again, this has to do with IP addresses. Normally, an ISP or a public network assigns an internet user an IP address. Most VPN companies, however, maintain servers around the world, and users can log in to any of them to get their IP addresses. Log in to a server in Hong Kong, and to anyone looking at your internet signal, you appear to be in Hong Kong. On the other hand, if you’re in Hong Kong, you might use one of our best VPNs for Hong Kong to make it look like you’re in the U.S.
Tip: Traveling outside the country and want access to your American content? A VPN allows you to log in to an American server so you can conduct business and stream your favorite shows just as you would at home.
Are There Trade-Offs to Using a VPN Service?
There are certain trade-offs to using a VPN service, such as these:
- Slower connections: Unless it prevents throttling, most VPNs slow down your internet connection.
- Subscription fees: Most good VPNs cost some money in subscription fees (although typically no more than $10 a month on the high end).
- Risk: Anytime you use a VPN to hide your activities, you must implicitly trust the VPN company to safeguard your information. While a VPN hides your activities from others on the web, ultimately, the VPN can see what you are doing. Some VPNs are subject to government subpoenas, and if a VPN tracks your online activities and then hands it over to the government, you’re not really as safe as you thought you were. Reputable VPN companies promise that they don’t hold on to identifying information such as your IP address or browsing history, so they can’t turn it over to anyone. Ultimately, though, that’s a matter of your trust in their privacy policies after you’ve done your research.
How to Choose a VPN Service
We’ve already discussed many of the elements you should look for when choosing a VPN. Here’s a more complete list of features to consider:
- Split tunneling: This feature allows you to log on to the regular internet at the same time you log on to a VPN. Sometimes, split tunneling can even save you money if your VPN has data limits. You can use public Wi-Fi to stream your music and share your work files securely.
- Multi-hop technology: “Multi-hop” means the VPN routes your data through at least two different servers. That makes it harder to follow, as it encrypts your data multiple times.
- Streaming support: Some VPNs are configured to access streaming services. Others get blocked. Look for VPNs that work well with the streaming services you prefer.
- Torrenting support: Any VPN that conceals your IP address and encrypts your data will allow you to torrent in anonymity. However, not all VPNs work with torrenting sites, so if that’s something you’re interested in, check out a torrenting-compatible VPN.
- Kill switch: At a minimum, you should look for VPNs that have kill switches. Kill switches automatically shut down your web browsers and apps if your VPN connection is lost.
- Location: Where a company is headquartered plays an important part in their ability to protect your privacy. For example, the U.S. government can subpoena companies located in Five Eyes, Nine Eyes, or 14 Eyes countries and force them to turn over customer data.
- Encryption tools and protocols: As we discussed above, different VPNs use different protocols and encryption tools to keep you safe and anonymous. We generally prefer those that use AES-256 encryption and OpenVPN protocols.
- Speeds: There are three important speeds to consider when choosing a VPN: upload speeds, download speeds, and ping (latency) speeds. Every VPN slows your computer down to some extent. However, your computer’s speeds with the VPN running compared to the speeds without it running can give you a good indication of whether it will be fast enough for what you do online.
- Price: Obviously, prices and pricing structures vary widely among VPNs. Many companies, for instance, offer deep discounts if you’re willing to sign up for a long-term contract. You should always carefully consider just what you’re getting for the money. Here are some questions to answer in your research:
- How many simultaneous connections do you get?
- How many devices can you connect overall?
- Are there any data usage limits?
Obviously, we prefer to get as many features as possible, and we generally like services priced under $10 a month. You can check out all these features for each individual VPN, or visit our list of the best VPNs to see side-by-side comparisons.
VPNs are definitely encrypted. That’s one reason for their popularity: They allow users to surf the web safely and anonymously. Of course, VPNs are not all created equal. They use different encryption methods such as public-key encryption, transport layer security, and AES. They also combine these methods with several different protocols, like OpenVPN, SSTP, and WireGuard. They also come with a number of different features, from split tunneling to multi-hop technology. Ultimately, we recommend using VPNs in general, but we also suggest taking your time to consider all the options before deciding on one.
Before you leave, check out our answers to some of the most frequently asked questions about VPN encryption.
Are VPNs always encrypted?
Yes, VPNs are always encrypted. In fact, the definition of a VPN is an encrypted tunnel that connects your computer to a network, typically a public network.
How do I know if my VPN is encrypted?
You can know your VPN is properly encrypted by running two simple tests to check for encryption “leaks.”
- DNS leak test: A DNS leak sends Domain Name System requests to the ISP rather than routing them through the VPN. As a result, spies can see your browser activities. DNSLeakTest.com offers a useful tool for checking for DNS leaks. While you’re logged on to your VPN’s server, simply visit the page and run a standard test. See if the IP address matches your real IP address. If it doesn’t match, you have no DNS leaks.
- WebRTC leak test: In addition, you should run a WebRTC leak test, available from the ExpressVPN website. WebRTC (web real-time communication) leaks can occur when you send live video or audio back and forth with another user. It exposes your real IP address to anyone snooping on your internet connection. Again, see if the IP address listed matches your real one. No match means no leaks.
Are VPNs actually secure?
Can police track you through a VPN?
Police can track you through certain VPNs but not others. Again, the answer to this question depends entirely on the VPN itself. If a company is located in a Five Eyes, Nine Eyes, or 14 Eyes country, for instance, the U.S. government can subpoena their customer data. Some companies keep as little data as possible so that even if they are subpoenaed, they have little to turn over to police. Others state in their privacy policies that they log lots of customer information and are quite forthright about sharing that information with the government.
Office of Privacy and Open Government. (2020). SAFEGUARDING INFORMATION.
The New York Times. (2000). TECHNOLOGY; U.S. Selects a New Encryption Technique.
ExpressVPN. (2021). Which VPN protocol is best?.
OVPN. (2017). Pros and cons of different VPN protocols.
Microsoft. (2019). 1.3 Overview.
CactusVPN. (2020). What Is WireGuard? (An In-Depth Look at the Newest VPN Protocol).
ExpressVPN. (2021). Bypass ISP throttling and get faster internet.