Keys Table


Enigma Home Page

Enigma procedures

The Keys List (or Keys Table/Sheet) concept

An Enigma key is divided into two parts: a static part known by all correspondents and valid for a particular period of time, most often one day. The other part must be different for each message. The shared key is the key of the day (Tageschlüssel). It includes the Walzenlage, the Ringstellung and the steckerverbindungen. This key is included in a keylist (Schlüsseltafel) which contains all the keys for the month and distributed from hand to hand to each correspondent in the network

Tag Walzenlage    Ringst.    Steckerverbindungen            Kenngruppen
 31 III  V    II    7 20 17  CN FP EL BY GR HQ JS MT KX OW  eft tfi jln pok
 30 IV   III  I    16 26 26  GZ QU FY IO CS AT MV LX BE HK  zyn khc lno wfa
 29 V    II   I    26  2 20  VZ OR IQ LP AN EJ HK FY UX GT  ync kct bmz utl
 28 V    III  I    20  7 16  LQ CV SX AT ER FK PU MZ GH IN  lvk eig jmu frq
 27 III  V    II   20  9 16  FV AY QZ TU GX MP NO CH SW KR  tys ocw mgc iqp
…

The first known key table

In the archives of Commandant Bertrand, held at the SHD in Vincennes (cf. references), one can find a key Table, presumably the oldest one preserved.

The key table has been "sanitized." Specifically, the name of the unit, the month, the year, and the copy number have been omitted. I believe Bertrand intentionally removed this information to prevent anyone from tracing it back to the spy who provided him with the table: a man named Hans-Thilo Schmidt, code name Asche. In his inventory, however, Bertrand does note the month—December 1931—as well as the network to which the table belongs: "HEERES-M. SCHLÜSSEL.", i.e. Army key.

The genkeys software

I wrote a little program (download) that generates key lists. It has several options, here is a simple example of use:

$ python3 genkeys.py
Usage:
 -h          This help
 -N nets     The number of Networks (by default one)
 -H header   Header, you can use this several times
             If nets > 1, the headers will be different
 -n          No Fields (remove the name of fields)
 -W n        The nomber of rotors [3,5,8], 5 by default
 -R          Ringstellung in letter (in number by default)
 -G          Grundstellung in letter (in number by default)
 -K          Print the Kennzeichnung in place of Kenngruppen
 -D          Print the key only for one day
 -M          Print a whole month (only one key by default)
 -S          Steckers in number (in letter by default)
 -P n        The numbers of steckers (10 by default)
             If a comma is present, that means -P min,max
 -C          The CSKO constraint applies
 -F fields   The fields, by default:  -F DWRSK
    D: Day, W: Walzenlage, R: Ringstellung, G: Grundstellung
    S: Steckers, K: Kenngruppen, E: Space, e: Space[in header]
    navy: Day(only one two), Walz above Ring
 -Z          Print numbers preceded by zero

$ python3 genkeys.py -M # generate the table at the beginning of the page

References

Internet: Authentic Keys lists

  • The oldest Key list preserved: Heeres, December 1931
    SHD – DE 2016 ZB 25/1. 1949. Fond Bertrand, File 253
    The army archives (SHD) are located in Vincennes, near by Paris. (link).
  • CIPHER MACHINES AND CRYPTOLOGY - Enigma Message Procedures (link).
  • Google Arts & Culture – Key list OKH n°39 (link).
  • Crypto Museum – UKW D (link).
  • flickr – Two Keys lists (1st, 2nd).