Glossary

The technical and legal terms used on Key & Cipher, explained in a few lines.

26 entries

A

AES
Advanced Encryption Standard, the symmetric encryption standard chosen in 2000 through a public NIST competition.
Asymmetric cryptography
A system in which each party has a key pair: a public key to distribute and a private key to keep.

B

Brute-force attack
An attack that tries every possible key until it finds the right one. It is always possible in theory; the security of modern ciphers lies in making the…

C

Cipher
An algorithm that turns plaintext into ciphertext, and vice versa, according to a key. It differs from a code, which replaces whole words or phrases with…
Ciphertext
The message after encryption, unintelligible to anyone without the key. A good cipher produces ciphertexts that reveal no information about the content.
Collision
Two different inputs that produce the same hash value. They always exist in theory; a function is secure if finding them is practically impossible.
Crib
A fragment of plaintext that the cryptanalyst suspects is contained in the encrypted message. It drastically reduces the number of keys to try.
Cryptanalysis
The discipline that studies how to break cryptographic systems: recovering the plaintext or the key without knowing it in advance, or showing that a…
Cryptography
The discipline that studies methods for making a message understandable only to authorised people, and more generally for guaranteeing the…

D

Digital signature
A mechanism using asymmetric cryptography to guarantee the authenticity and integrity of a document: the document’s hash is signed with the private key…

F

Frequency analysis
A cryptanalysis technique that compares the frequency of letters in the ciphertext with that typical of the message’s language.

H

Hash function
A function that turns data of any length into a fixed-length value, in such a way that it is infeasible to recover the data or find two inputs with the…

K

Kerckhoffs’s principle
The principle, formulated in 1883 by the linguist Auguste Kerckhoffs, that a cryptographic system must remain secure even if the adversary knows…
Key
The secret information — a word, a number, a sequence of bits — that determines how a cipher transforms the text.

M

Mode of operation
The rule by which a block cipher is applied to messages longer than one block: how blocks are chained and how initialisation vectors and counters are used.
Modular arithmetic
The arithmetic of remainders: you work with numbers that “start again” after reaching a fixed value, the modulus.

N

Nonce
A value to be used only once with a given key, for example in encryption or an authentication protocol.

O

One-time pad
A cipher in which the key is random, as long as the message and used only once. Claude Shannon proved in 1949 that, under these conditions, it offers…

P

Plaintext
The original, readable message before encryption or after decryption. In practice: “MEET ME AT THE BRIDGE” is the plaintext; “OMTAQVCBIOISTQSNI” the…
Polyalphabetic cipher
A substitution cipher that uses several cipher alphabets, alternating them during the message according to a key.
Prime number
A natural number greater than 1 divisible only by 1 and itself: 2, 3, 5, 7, 11… Very large primes underpin RSA and many other cryptographic systems.

R

RSA
A public-key algorithm invented in 1977 by Rivest, Shamir and Adleman. Its security rests on the difficulty of factoring the product of two large prime…

S

Salt
A random value, different for each password, added before computing its hash. It prevents the use of precomputed tables and ensures that two identical…
Substitution cipher
A cipher that replaces each letter, or group of letters, with another according to a rule. If it uses a single cipher alphabet it is monoalphabetic and…
Symmetric cryptography
A system in which the same key is used to encrypt and decrypt. It is fast and suited to large amounts of data, but requires sender and recipient to share…

T

Transposition cipher
A cipher that does not change the letters but rearranges their order according to a rule. The letter frequencies remain those of the original language…
↑