[JoGu]

Cryptology

What is a Cipher?

a7Hzq .#5r<
kÜ\as TâÆK$
ûj(Ö2 ñw%h:
Úk{4R f~`z8
¤˜Æ+Ô „&¢Dø

The subject of cryptography is the transformation of character strings.

Therefore in parallel to a naive description we also give a mathematical model. Some—but not too many—of the following sections are accessible without a mathematical formalism. Therefore readers without mathematical background should not get frightened, but simply skip the mathematical sections. But bear in mind that cryptology is a mathemtical science, and don't expect to become a cryptology expert without struggling with the maths.

Without mathematical formalism we may summarize the content of this section as two statements:
An encryption function transforms arbitrary strings of characters into other strings. (Over a fixed character set or »alphabet«.)
A cipher is a set or family of encryption functions that depend on a parameter. This parameter is the key, it determines the choice of a function from the family. Only who has the key can invert the transformation.

The purpose of this construct is that nobody can invert the encryption function except people who know the key. That is, an encrypted message (or a text, a file, ...) is kept secret from third parties. These can see that there is a message, but they cannot read the contents of the message because they don't have the key and therefore don't know which of the functions from the family to choose.

[Secure message transmision]

The sender and the receiver must know the key. Therefore they need a secure channel over which they can share it. In practice they negotiate the key in advance during a personal meeting. In Part III of this lecture notes we'll see other methods for negotiating keys.


Some cryptographically relevant alphabets:

Sometimes the alphabet is represented (or »encoded«) by the numbers 0, 1, 2, ...

For the standard alphabet: A ↔ 0, B ↔ 1, ..., Z ↔ 25.
This allows a convenient mathematical manipulation of the symbols. And it also disposes with the confusion that might result from the use of mysterious symbols in ciphertexts.

Historically the assignment of numbers to the letters of the standard alphabet started with A ↔ 1. Such assignments go back to antiquity where they were abused for all kinds of mysticism. The first European use in the context of cryptography for an arithmetical description of a cipher apparently was by COMIERS (however in the Orient already by Ibn DUNAINIR in the early 13th century and Ibn AD-DURAIHIM):

Assigning A ↔ 1 instead of A ↔ 0 is mathematically less convenient and results in less elegant formulas.

Another work that uses the encoding of letters by numbers was recently unearthed by Joachim von zur GATHEN (Friedrich Johann Buck: Arithmetic puzzles in Cryptography. Cryptologia XXVIII (2004), 309 - 324) and put online:

[Mathematical proof: that Algebra may be conveniently used for recovering some hidden writings.] There we read:

[Numbers-Letters]

[A saying of ten words is hidden in divine Holy Scriptures that every Christ is obligated to know and to follow. Who wants to know it should denote the alphabet by numbers. That is A by 1, ...]


Author: Klaus Pommerening, 1999-Oct-25; last change: 2014-Aug-23.