---
title: Encryption Basics
description: Encryption is the process of encoding information to prevent unauthorized access. You will understand the differences between symmetric and asymmetric cryptography, how secure protocols like HTTPS work, and how to encrypt files and communications.
category: programming-tech
subcategory: digital-privacy
difficulty: beginner, intermediate, advanced
url: /subject/encryption-basics
---

# Encryption Basics

Encryption is the process of encoding information to prevent unauthorized access. You will understand the differences between symmetric and asymmetric cryptography, how secure protocols like HTTPS work, and how to encrypt files and communications.

## Available Resources

2 Videos • 2 Books • 1 Courses • 4 Websites

## Websites

### 1. Practical Cryptography for Developers

Free online book by Svetlin Nakov explaining cryptography for programmers, covering hashes, MACs, key derivation, symmetric ciphers, elliptic curves, digital signatures, and quantum-safe algorithms. Readers work through Python code examples to use these primitives correctly in real applications.

**Difficulty:** Beginner | **Price:** Free

**Link:** https://cryptobook.nakov.com/

**Tags:** cryptography, encryption, hash-functions, digital-signatures, python

### 2. EFF Surveillance Self-Defense

The Electronic Frontier Foundation's guide to digital security, combining explainers on threat modeling, encryption and metadata with step-by-step tool tutorials for Tor, Signal and secure devices. Readers learn to assess their own risks and pick suitable protections, including scenario-based playlists for journalists and activists.

**Difficulty:** Beginner | **Price:** Free

**Link:** https://ssd.eff.org/

**Tags:** digital-security, threat-modeling, encryption, tor, privacy-tools

### 3. cdt.org

CDT.org is the Center for Democracy & Technology, a nonprofit focused on defending privacy and civil liberties in the digital age. It offers policy research, legal analysis, and advocacy resources with reports, briefs, blog posts, and toolkits on data privacy, surveillance, and tech policy.

**Difficulty:** Intermediate | **Language:** English | **Price:** Free

**Link:** https://cdt.org

**Tags:** websites, technology-computer-science, digital-privacy

### 4. crypto101.io

Crypto101 is a free online cryptography textbook that explains core concepts, algorithms, and cryptographic protocols with clear explanations and practical code examples.

**Difficulty:** Intermediate | **Language:** English | **Price:** Free

**Link:** https://crypto101.io

**Tags:** websites, technology-computer-science, cryptocurrency--blockchain

## Videos

### 1. Public Key Cryptography - Computerphile

Computerphile explainer of asymmetric encryption: why a public key can lock a message that only the matching private key can open, and why this solves the key-distribution problem that symmetric ciphers face. Afterwards you can explain how strangers communicate securely without sharing a secret.

**Difficulty:** Beginner | **Price:** Free

**Link:** https://www.youtube.com/watch?v=GSIDS_lvRv4

**Tags:** public-key-cryptography, asymmetric-encryption, key-exchange, encryption-basics

### 2. Symmetric Key Cryptography: The Basics

Episode of Crash Course Computer Science tracing cryptography from Caesar and substitution ciphers through Enigma to modern AES, Diffie-Hellman key exchange and RSA. You come away understanding the difference between symmetric and asymmetric encryption and why modern systems rely on both.

**Difficulty:** Beginner | **Price:** Free

**Link:** https://www.youtube.com/watch?v=jhXCTbFnK8o

**Tags:** cryptography, symmetric-encryption, public-key-cryptography, history-of-cryptography, encryption-basics

## Books

### 1. Cryptography Engineering

**Author:** Niels Ferguson, Bruce Schneier, Tadayoshi Kohno

Practical guide to building real cryptographic systems: block ciphers, hash functions, message authentication codes, secure channels, key negotiation, random number generation and PKI. It explains why sound primitives still fail in implementation and how to design protocols that avoid those engineering mistakes.

**Difficulty:** Intermediate | **Language:** English | **Price:** Paid

**Link:** https://www.amazon.com/dp/0470474246?tag=edmonddante07-20

**Tags:** books, technology-computer-science, digital-privacy

### 2. Serious Cryptography

**Author:** Jean-Philippe Aumasson

Practical introduction to modern cryptography covering randomness, block and stream ciphers, hash functions, authenticated encryption, RSA, Diffie-Hellman, elliptic curves and TLS. Each chapter explains how an algorithm works and how implementations go wrong, preparing readers to evaluate real cryptographic code.

**Difficulty:** Intermediate | **Language:** English | **Price:** Paid

**Link:** https://www.amazon.com/dp/1593278268?tag=edmonddante07-20

**Tags:** books, technology-computer-science, digital-privacy

## Courses

### 1. Cryptography I

Cryptography is an indispensable tool for protecting information in computer systems. In this course you will learn the inner workings of cryptographic systems and how to correctly use them in real-world applications. The course begins with a detailed discussion of how two parties who have a shared secret key can communicate securely when a powerful adversary eavesdrops and tampers with traffic. We will examine many deployed protocols and analyze mistakes in existing systems. The second half of the course discusses public-key techniques that let two parties generate a shared secret key. Throughout the course participants will be exposed to many exciting open problems in the field and work on fun (optional) programming projects. In a second course (Crypto II) we will cover more advanced cryptographic tasks such as zero-knowledge, privacy mechanisms, and other forms of encryption.

**Difficulty:** Beginner | **Language:** English | **Price:** Free

**Link:** https://www.coursera.org/learn/crypto

**Tags:** courses, technology-computer-science, cryptocurrency--blockchain

---

*This content is part of Dantes.io - Your Treasure Map to Knowledge*

*Curated by humans at Dantes.io. Personal study use welcome; republishing this curation requires permission (team@dantes.io).*

View this page online: https://dantes.io/subject/encryption-basics