Updated September 2026. We rewrote this guide to explain the four core principles of cryptography in network security with today’s protocols (TLS 1.3, IPsec, WireGuard, SSH and WPA3) and added what the move to post-quantum cryptography means for networks. Outdated references were replaced with NIST and IETF sources.
Cryptography is what makes it safe to send data over networks you don’t control, like the internet or public Wi-Fi. Network security is the wider practice of protecting those networks, and cryptography is one of its most important tools. Firewalls decide who can connect; cryptography protects what they send.
The 4 core principles of cryptography in network security
| Principle | What it means | How it’s achieved | Everyday example |
|---|---|---|---|
| Confidentiality | Only the intended recipient can read the data | Encryption (AES, ChaCha20) | HTTPS hides your card number from anyone on the network |
| Integrity | Any change to the data is detected | Hashes, MACs and authenticated encryption (AES-GCM) | A tampered software update fails its check |
| Authentication | You know who you’re talking to | Certificates, digital signatures, shared keys | Your browser checks the bank’s certificate |
| Non-repudiation | The sender can’t later deny sending it | Digital signatures with a private key | A digitally signed contract or code-signing certificate |
Availability, the third part of the classic “CIA triad,” isn’t something cryptography provides on its own. It depends on redundancy, DDoS protection and good operations.
Reading an older article? Use the brief to stay current.
This Article Gives You the Background. The Brief Gives You What Changed Next.
Get the weekday cyber brief for new policy moves, CISA actions, and risk developments this article could not cover when it was published.
By subscribing you agree to our Privacy Policy.
Free. Weekday mornings. 5 minutes or less.
The building blocks
Symmetric encryption
Both sides use the same secret key. It’s fast, so it protects the bulk of network traffic. AES, standardized by NIST in 2001 to replace DES, is the most widely used symmetric cipher. ChaCha20-Poly1305 is a common alternative on phones and in WireGuard. The hard part is getting the same key to both sides safely, which is where asymmetric cryptography comes in.
Asymmetric (public-key) cryptography
Each party has a public key it can share and a private key it keeps secret. Networks use it for two jobs: agreeing on a shared symmetric key over an open channel (key exchange), and proving identity with digital signatures. RSA and elliptic-curve algorithms such as X25519 and ECDSA are the most common today. Our asymmetric encryption examples guide walks through how it works step by step.
Hash functions and MACs
A hash function turns any data into a short, fixed-length fingerprint that’s practically impossible to reverse. SHA-256 and SHA-3 are current standards. MD5 and SHA-1 are broken for security use; NIST has said SHA-1 should be phased out completely by December 31, 2030 (NIST). A message authentication code (MAC), such as HMAC, combines a hash with a secret key so the receiver can confirm the message came from someone holding the key and wasn’t changed.
Certificates and PKI
A public key is only useful if you know whose it is. Certificate authorities (CAs) sign certificates that bind a public key to a domain or organization, and your device trusts a built-in list of CAs. This public key infrastructure (PKI) is what lets your browser confirm it’s really talking to your bank.
Where cryptography protects your network
| Protocol | What it protects | Current guidance |
|---|---|---|
| TLS 1.3 / HTTPS | Web traffic, APIs, email between servers | Use TLS 1.2 at minimum and support TLS 1.3 (NIST SP 800-52r2) |
| IPsec with IKEv2 | Site-to-site and remote-access VPNs | Use modern IKEv2 suites with AES-GCM (RFC 7296) |
| WireGuard | Modern VPNs | Fixed, modern cryptography: Curve25519, ChaCha20-Poly1305, BLAKE2s (WireGuard) |
| SSH | Remote administration, file transfer | Key-based login; disable password login where possible |
| WPA3 | Wi-Fi | WPA3-Personal (SAE) or WPA3-Enterprise; required on 6 GHz Wi-Fi |
| DNSSEC and encrypted DNS | Domain name lookups | DNSSEC proves answers are authentic (ICANN); DNS over HTTPS/TLS hides them |
How TLS 1.3 uses all four principles: when you open an HTTPS site, your browser and the server run a handshake. They use ephemeral elliptic-curve Diffie-Hellman to agree on fresh session keys, and the server proves its identity with a certificate and a digital signature. After that, all data is encrypted and integrity-protected with an authenticated cipher like AES-GCM (RFC 8446). Because the session keys are thrown away afterward, stealing the server’s private key later doesn’t expose past sessions. This is called forward secrecy.
Post-quantum cryptography: what changes for networks
A large enough quantum computer could break RSA and elliptic-curve cryptography, which today protect nearly all key exchange and signatures. Attackers can record encrypted traffic now and decrypt it later (“harvest now, decrypt later”), so data that must stay secret for years is already at risk.
- In August 2024 NIST published its first post-quantum standards: FIPS 203 (ML-KEM) for key exchange, and FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) for digital signatures (NIST). In March 2025 NIST picked HQC as a backup key-exchange algorithm (NIST).
- NIST’s draft transition plan, NIST IR 8547, proposes deprecating quantum-vulnerable algorithms at the 112-bit security level after 2030 and disallowing them after 2035 (NIST).
- Hybrid key exchange, which combines X25519 with ML-KEM, is already on by default in Chrome and other major browsers and is supported by large CDNs (Google).
What to do now: inventory where your network uses RSA and elliptic-curve cryptography (VPNs, TLS termination, SSH, PKI), ask vendors for their post-quantum roadmaps, and prefer products that support hybrid ML-KEM key exchange.
Cryptography best practices for network teams
- Encrypt everything in transit, including traffic inside your own network. Zero trust assumes the internal network is hostile too.
- Retire old protocols: SSL, TLS 1.0 and 1.1, WEP, WPA/TKIP, and weak ciphers such as RC4, 3DES and MD5-based signatures.
- Manage keys and certificates carefully. Keep private keys in hardware security modules or managed key services where possible, rotate them, and follow NIST SP 800-57 (NIST). Automate certificate renewal: the maximum lifetime of public TLS certificates dropped to 200 days in March 2026 and will fall to 47 days by 2029 (CA/Browser Forum).
- Use strong key sizes: at least 2048-bit RSA (3072-bit for long-term protection), or 256-bit elliptic curves.
- Don’t build your own crypto. Use well-reviewed libraries and standard protocols.
- Remember the human side. Weak passwords, phishing and stolen session tokens bypass even perfect encryption. Pair cryptography with phishing-resistant MFA and strong password policies.
For more depth, see our guides to common encryption methods, elliptic curve cryptography and the best cryptography tools. For the practical side of protecting traffic, read how to encrypt your internet connection and wireless network security considerations. New cryptographic flaws and post-quantum milestones are covered in the CyberExperts Daily Brief, our short weekday email.
Reading an older article? Use the brief to stay current.
This Article Gives You the Background. The Brief Gives You What Changed Next.
Get the weekday cyber brief for the developments, risk shifts, and new signals that changed the picture after this article was published.
By subscribing you agree to our Privacy Policy.
Free. Weekday mornings. 5 minutes or less.
Frequently asked questions
What is the role of cryptography in network security?
Cryptography protects data as it travels across networks. It keeps data confidential (encryption), detects tampering (integrity), confirms who you’re communicating with (authentication) and provides proof of who sent a message (non-repudiation).
What are the four principles of cryptography?
Confidentiality, integrity, authentication and non-repudiation. Some sources also list access control. Availability is a security goal, but cryptography doesn’t provide it on its own.
What’s the difference between symmetric and asymmetric encryption?
Symmetric encryption uses one shared key and is fast, so it encrypts most data. Asymmetric encryption uses a public and private key pair and is used to exchange symmetric keys and create digital signatures. Protocols like TLS use both.
Which protocols use cryptography to secure networks?
TLS (HTTPS), IPsec and WireGuard VPNs, SSH, WPA3 Wi-Fi security, DNSSEC and encrypted DNS, and S/MIME or PGP for email.
Will quantum computers break network encryption?
A large enough quantum computer could break RSA and elliptic-curve algorithms used for key exchange and signatures. NIST published post-quantum replacements in 2024 (ML-KEM, ML-DSA and SLH-DSA), and browsers already use hybrid post-quantum key exchange. AES with 256-bit keys is expected to remain secure.
Is hashing the same as encryption?
No. Encryption is reversible with the right key; hashing is one-way. Hashes are used to check integrity and to store passwords safely, not to hide data you need to read later.
Sources
- IETF RFC 8446, The Transport Layer Security (TLS) Protocol Version 1.3: datatracker.ietf.org
- NIST SP 800-52 Rev. 2, Guidelines for TLS Implementations: csrc.nist.gov
- IETF RFC 7296, Internet Key Exchange Protocol Version 2 (IKEv2): datatracker.ietf.org
- WireGuard, Protocol and Cryptography: wireguard.com
- IETF RFC 4251, The Secure Shell (SSH) Protocol Architecture: datatracker.ietf.org
- ICANN, DNSSEC: What Is It and Why Is It Important?: icann.org
- NIST, first three finalized post-quantum encryption standards (Aug 2024): nist.gov
- NIST, HQC selected as fifth post-quantum algorithm (Mar 2025): nist.gov
- NIST IR 8547 (Initial Public Draft), Transition to Post-Quantum Cryptography Standards: csrc.nist.gov
- NIST, NIST Retires SHA-1 Cryptographic Algorithm (Dec 2022): nist.gov
- CA/Browser Forum, Ballot SC-081v3 (certificate validity reductions): cabforum.org
- NIST SP 800-57 Part 1 Rev. 5, Recommendation for Key Management: csrc.nist.gov
- Google Security Blog, A new path for Kyber on the web (Sep 2024): security.googleblog.com
Newer CyberExperts coverage on this topic
This article still works as background. If you want the current picture, start with the freshest related coverage below and today's brief.
Who Should Pay for GSEC? A 2026 Guide to the GIAC Exam
With GSEC, the real question is who pays: $999 for an attempt, $8,780 with SEC401. Who it suits, the 72% pass mark,...
CISA in 2026: Why the Exam Wants the Auditor’s Answer
CISA rewards the auditor's answer, not the engineer's. Who hires CISAs, the exam format, the five-year experience rule, member and non-member fees,...
SC-200 in 2026: Learn KQL First, Then Book the Exam
SC-200 is still active, with an update on October 21. Why KQL comes first, who it fits, the three skill areas, the...
Friday’s brief: TeamCity ransomware, then Roundcube, cPanel, GitLab
The fastest way to catch up on what changed after this article was published.
Start your morning with the signal that matters.
Get the biggest cybersecurity developments, why they matter, and where to go deeper on CyberExperts.
By subscribing you agree to our Privacy Policy.
Free. Weekdays. Built for operators.