Find a course

Cryptography Basics glossary

39 terms you will meet in the free Cryptography Basics course, each explained in one or two sentences.

A

AES
Advanced Encryption Standard: a 128-bit block cipher with 128-, 192- or 256-bit keys.
Argon2
A modern, memory-hard password hashing function; Argon2id is the recommended variant.
Authenticated encryption (AEAD)
Encryption that also produces a tag so any tampering is detected, such as AES-GCM.

B

Birthday bound
Collisions in an n-bit hash are expected after about 2^(n/2) attempts.
Block cipher
A cipher that encrypts fixed-size blocks of data.
Brute-force attack
Trying every possible key until the right one is found.

C

Certificate
A signed document binding a public key to an identity such as a domain name.
Certificate authority (CA)
An organization trusted to verify identities and sign certificates.
Ciphertext
The scrambled output of encryption, unreadable without the key.
Collision
Two different inputs that produce the same hash output.
CSPRNG
Cryptographically secure pseudorandom number generator, suitable for keys and tokens.

D

Diffie-Hellman
A method for two parties to agree on a shared secret over a public channel.
Digital signature
A value made with a private key that anyone can verify with the public key.
Discrete logarithm problem
Finding the exponent a from ga mod p; believed hard for large, well-chosen numbers.

E

Encoding
Changing the format of data, such as Base64, with no key and no security.
End-to-end encryption
Encryption where only the communicating devices hold the keys, not the service in between.

F

Forward secrecy
A property ensuring that stealing a long-term key later can't decrypt past sessions.
Frequency analysis
Breaking substitution ciphers by matching letter frequencies to those of the language.

H

Hash function
A one-way function that maps any input to a fixed-size digest.
HMAC
A standard way to build a MAC from a hash function, resistant to length extension.
Hybrid encryption
Using public-key methods to share a symmetric key, then encrypting the data symmetrically.

I

Initialization vector (IV)
A random starting value that makes repeated encryptions of the same data differ.

K

Kerckhoffs's principle
A cryptosystem should stay secure even if everything except the key is public.
Key
A secret value that controls how a cipher transforms data.

M

MAC
Message authentication code: a keyed tag that proves integrity and authenticity.
Man-in-the-middle attack
An attacker secretly relays and possibly alters messages between two parties.
Mode of operation
A rule for applying a block cipher to messages longer than one block, such as CBC, CTR or GCM.

N

Nonce
A number used once; must never repeat with the same key.

O

One-time pad
A cipher using a truly random, single-use key as long as the message; provably unbreakable.

P

Plaintext
The original, readable data before encryption.
Post-quantum cryptography
Public-key algorithms designed to resist attacks by quantum computers, such as ML-KEM.
Public-key cryptography
Cryptography using a key pair: a public key to share and a private key to keep secret.

R

RSA
A public-key system whose security relies on the difficulty of factoring large numbers.

S

Salt
A random value stored with each password hash to make it unique.
Side-channel attack
Extracting secrets from timing, power use or other physical behavior of an implementation.
Stream cipher
A cipher that XORs data with a pseudorandom keystream generated from a key and nonce.
Symmetric encryption
Encryption where the same key is used to encrypt and decrypt.

T

TLS
Transport Layer Security: the protocol that secures HTTPS and many other connections.

X

XOR
Exclusive or: a bit operation that outputs 1 when its inputs differ; applying the same key twice undoes it.

Put these terms to work

The Cryptography Basics course uses every one of these terms in short lessons with instant-feedback questions. It takes about 165 minutes and ends with a free certificate of completion.

Start the course Course overview