Secret codes

ASCII

Date: 1963Place: New York (United States)Who?: Robert Bemer and the American Standards Association

The code that taught computers to write

Codes and signals
The ASCII code chart
The ASCII code chart — every character has its number
Namazu-tron, LWChris — Public domain — Wikimedia Commons

In brief

A computer only knows numbers. In 1963, the ASCII code gave a number to every letter, digit and sign: A is 65, B is 66… These numbers are written in binary, with 0s and 1s. ASCII let all machines understand one another.

The story

In the early 1960s, every maker of electric typewriters and computers had its own way of coding letters, and machines could not exchange texts. An American committee, including the computer scientist Robert Bemer, published the American Standard Code for Information Interchange in 1963. Lower-case letters were added in 1967.

ASCII uses 7 binary digits, giving 128 characters: letters without accents, digits, punctuation and “control characters” to drive printers. That is why accented letters were a problem for a long time. Since 1991, the Unicode standard has extended ASCII to more than 150,000 characters: every alphabet in the world… and emojis.

Example

A = 65 = 1000001; a = 97 = 1100001; space = 32 = 0100000

Try it in the workshop

Did you know?

There is nothing secret about this code, but it shows a key idea: to encrypt a text, a computer always starts by turning it into numbers.

Sources: D. Kahn, The Codebreakers, 1967 (rev. ed. 1996); S. Singh, The Code Book, 1999; F. L. Bauer, Decrypted Secrets, 4th ed., 2007; C. P. Bauer, Secret History: The Story of Cryptology, 2nd ed., 2021; texts written for this site.

In the same family: Codes and signals