Rotor Zellweger Switzerland Enigma-K →
Rotor-based cipher machine
NEMA was an electromechanical rotor-based cipher machine,
developed during World War II (WWII) – between
1941 and 1943 – and manufactured from 1946 onwards by
Zellweger AG in Uster (Switzerland).
It was intended as a replacement for the
German Enigma K,
that was used by the Swiss Army during WWII.
NEMA is the abbreviation of NEue MAchine
(New machine). It is also known as T-D, or
Tasten-Drücker Maschine (push-button machine) and as
NEMA Modell 45. 1
|
During WWII, the Swiss Army used a modified version of the
commercial Enigma K machine, which is
sometimes called the Swiss K.
After the Swiss discovered that their Enigma K
traffic was being read
by both the Allied forces and the Germans, they started the
development of their own – improved – machine, which they called NEMA.
The image on the right shows a typical NEMA, which is very similar
to the Enigma machine.
At first glance, the machine appears to have
10 wheels, but
only 5 of them are electrically wired. Four of them are the
cipher wheels, with 26 contacts at either side, just like
on Enigma.
The 5th wheel (at far the left) is the reflector which moves during
encipherment. This is different from the reflector of the
Enigma K, which can be set,
but does not move.
The other 5 wheels are the stepping- or drive-wheels. They are mounted
on a common axle, in pairs with the cipher wheels.
A drive wheel has several notches that control the
turnover of the adjacent cipher wheel.
Like the Enigma,
the NEMA has a lamp panel with the 26 letters
of the alphabet (A-Z). These lamps correspond to the 26 of the keys
on the keyboard (A-Z). Unlike Enigma,
NEMA has some additional keys which are not encrypted.
The keys BU, ZL, WR and the space bar
are only used when operating a teleprinter
or an electronic typewriter.
|
|
|
The machine has several improvements over the
Enigma design
and is difficult to break, even by the standards of 2007 [4].
It features, for example, irregular stepping, caused by
the addition of the stepping-wheels, which makes the machine
far less predictable than an Enigma K.
But it has also inherited some of the
weaknesses of the Enigma,
such as the fact that a letter can never be enciphered into
itself. The latter is a result of the use of a reflector
(or Umkehrwalze, UKW).
In addition, NEMA has no plugboard (Steckerbrett) but has instead a
movable reflector (UKW). 2
The machine was developed between 1941 and 1943 by a team led
by Captain Arthur Alder, professor in Bern. The team consisted
of Hugo Hadwiger, professor of analytical mathematics
at the University of Bern, Dipl. Ing. Heinrich Emil Weber
(later professor at the ETH in Zurich)
and Dipl. Math. Paul Glur, also of the University of Bern (later
chief of the Swiss Cipher Bureau) [1].
The first prototype was ready in early 1944.
After a few modifications and improvements, the machine was
finally approved in March 1945. Production started in 1946,
with the first machines entering service in 1947, too late
for the war effort. The NEMA was used by the Swiss Army in the years
following WWII, and by the Diplomatic Service,
until it was replaced by other – more advanced –
cipher machines, such as the ones developed by
Crypto AG (Hagelin)
and Gretag.
|
|
DECLASSIFIED —
NEMA was officially declassified on 9 July 1992.
A few years later, on 4 May 1994, the training machines and
the operational (war time) machines were offered for sale
to the public and are now in the hands of collectors.
The FO machines were never released and remain classified.
NEMA is housed in a black leightweight aluminium case with a leather
carrying strap and a cylinder lock at one end. Inside the case, the
NEMA is mounted on the bottom plate, whilst the accessories, such
as the lamp panel, the mains cable and the spares, are stored in the case lid.
When using the NEMA, the above diagram can be used as a guide.
At the front of the machine is the keyboard, with the lamp panel
immediately behind it. At the top left is a metal lid, below which
the coding wheels are located. At the right is the character counter.
The sockets for an external 4V power source, the mains (110/220V)
and the external lamp panel, are at the right.
|
There are basically three NEMA models, but only two of these have
been released to collectors. Although the operation of all
models is more or less identical, there are some significant differences,
making the machines incompatible with each other. The following models
are known:
|
- Training machine
This machine was used for training the operators. In order to avoid the
risk of leaking details about the machine to the enemy
(i.e. wiring and operation),
these machines were different from the actual war-time machine.
By far the most surviving NEMA machines are of this type. They are usually
in reasonable to bad (worn-out) condition, as they have been used extensively
for training over the years. In German, this machine is known as
Schulmaschine (school machine). They have the following
label on the case:
Nur für Schulen und Kurse abgeben
A remettre uniquement aux écoles et cours
A solo uso di scuole e corsi
- War machine
For the event of a war, a number of machines were kept under wraps.
These machines were slightly different in operation, had extra wheels and
had different notches on the stepping wheels. The machines were only
occasionally used for testing, and remained in war-reserve storage for
many years. They would only be issued in case of war.
In German, this machine is known as
Kriegsmobilmachungs-Maschine or K-Mob-Maschine.
Machines of this type are very rare and can be recognized by the
following label:
Nur bei Kriegsmobilmachung abgeben !
Ne délivrer qu'en cas de mobilisation de guerre !
Da consegn. solo in caso di mobilitazione di guerra !
- Foreign Office machine
This version was used exclusively by the Swiss Foreign Office
(Diplomatic Service).
As far as we know, these machines have never been released to
the public, so we can not give exact details about it.
It has been established though that these machines were issued with
differently wired wheels, different stepping wheels and a
differently configured stepping mechanism [2 p. 84] as described
under (3) below.
|
These NEMA models are different in the following ways:
|
- Number of wheels
The war machine has two extra wheels (E and F) that are stored in
the leftmost and rightmost cylindrical containers inside the case lid.
- Stepping wheels
The number and positions of the notches on the stepping wheels of
each model, are completely different (see the tables below).
- Stepping configuration
The behavior of the wheel transport mechanism of a NEMA can modified
by adjusting a set of four screws behind a hatch at the rear of the machine.
With these four adjustment screws a total of 6 different configurations
is possible.
|
The operating priciple of the NEMA is rather simple
and resembles that of the Zählwerk Enigma
(Enigma G).
Electrically it is more or less identical to a commercial
Enigma machine, without a plugboard, albeit with an extra cipher
wheel. It is illustrated in this simplified circuit diagram:
When pressing a key on the keyboard (here the letter Q),
the current from the 4.5V battery is led to a static contact
ring at the right, called the Entry Wheel (Eintrittswalze, ETW).
From there it passed through the four coding wheels until it hits the
reflector (UKW) at the left. The reflector passes the current
back into the cipher rotors until it exits the ETW at the
right again. From there, the current is led to the lamp panel
where the encoded letter is lit (here the letter W).
The fact that there are multiply notches on each wheel
(just like on the Zählwerk Enigma
extends the cipher period of the machine (i.e. the number of
steps before its repeats itself) and makes the machine far less
predictable. Unlike the Enigma however, the stepping notches
can be moved to another cipher wheel, which greatly increases
the number of possibilities. Furthermore the wheel transport mechanism
of the NEMA is far more complex than that of the Enigma, making it
even less predictable. NEMA has to plugboard (Steckerbrett) like
the military Enigma variants. As it remains unchanged during the
encryption it was thought not to contribute to security [2].
|
The device is housed in a black transit case that measures 380 x 325 x 140 mm
and weights 11 kg with all accessories but without the battery. The case consists
of a bottom panel – to which the machine is bolted – and a hinged dust cover.
All accessories are stowed inside the dust cover. At the front of the case are
three locks: two spring-loaded snap locks, and a key-operated cylinder lock at
the centre. The lock and the keys have the same serial number as the machine.
|
|
|
The cipher machine itself is bolted to the bottom of the transit case.
The image on the right shows the machine – ready for action – after the
hinged dustcover has been opened.
The machine has the same serial number as the transit case and its keys.
It is powered by a battery, directly from the AC mains
or by an external 4V AC or DC source.
|
|
|
The basic machine has four cipher rotors, marked A-D.
With the war-reserve machines, two additional rotors were supplied,
designated E and F, that were stowed under two cylindrical shells
(marked I and II) inside the dust cover.
It allows four rotors to be selected from a full set of six, which
increases the total number of permutations. Note that these additional
wheels are not present with the training machines.
➤ More about the cipher wheels
|
|
|
Like every cipher machine with electrically wired rotors, NEMA might
suffer from contact problems, which can potentially make the machine
less reliable. In operation, the current passes no less than 12 contacts,
each of which is a potential candidate for contact problems.
To avoid such problems, it was recommended to clean the rotor contacts
regularly, using the supplied brass brush shown on the right.
|
|
|
By default, the lamp panel on the NEMA itself (behind the keyboard)
is used for the output. Whenever a key is pressed, the encrypted (or
decrypted) letter lights up on the lamp panel.
In a dual-operator situation, an external lamp panel could be connected
to the 34-way receptacle at the right side. It allows one
person to type the message, whilst a second person writes down the
encrypted or decrypted text. 1
➤ Pinout of the 34-way connector
|
|
|
-
This feature was clearly 'borrowed' from the
Swiss Enigma-K, which
had a permanently fitted second lamp panel. This was probably a
modification by the Swiss, which is why the case of the
Swiss-K
is bigger that those of other Enigma models,
including the regular Enigma K.
|
When the external lamp panel is used with the NEMA, it
should be connected to the receptacle
at the right side of the machine, using the supplied
interconnection cable shown in the image on the right.
Please note that this cable might have become stiff over the
years, so it is not recommended to use it for demonstrations.
In our case, we use the flexible workshop cable instead.
➤ Pinout of the 34-way connector
|
|
|
NEMA can be powered from virtually any mains AC network in the world.
At the right side of the machine is a voltage selector that should match
the local mains voltage before turning it on.
A suitable 3-metre long mains cable is stowed inside the dust cover,
and should be connected to the 2-pin receptacle
under the voltage selector. Once connected, the selector to the right of the
keyboard should be set to 'Trafo' (transformer).
|
|
|
Unlike today, mains power sockets were not commonly available in every home
at the time of the machine's introduction – shortly after WWII – despite the
fact that most homes had electric light.
To overcome this problem, the part shown in the image on the
right was provided.
The part should be fitted between the existing E27 lamp fitting and the light
bulb, and has two 2-pin sockets (one at either side) that can be used for
the connection of electric appliances.
|
|
|
Like Enigma, light bulbs (lamps) are used for the encrypted or
decrypted output. Each time a letter is pressed on the keyboard, one
of the 26 lamps will light up. As they contain a filament, they may break
as a result of shocks or overcurrent.
For this reason, 16 spare light bulbs are present.
NEMA uses regular (round) 4.5V/200mA light bulbs with an E10 fitting,
as shown in the image on the right.
Note that these bulbs have an unusual V-shaped filament, which spreads
the light more evenly over the alphabet film than a regular straight
filament.
|
|
|
By default, NEMA is powered by the internal 4.5V battery shown in the
image on the right. It measures 100 x 76 x 69 mm and should be installed
in the battery compartment under the top lid.
Although NEMA can also be powered from the mains, a battery
should be sufficient for several years of operation, as the device
ony draws current when a key is pressed.
Note that this battery has the same form factor and voltage as
the battery used in most Enigma machines, including
the Enigma-K.
|
|
|
Each NEMA came with a brown booklet with operating instructions,
in DIN A5 size.
Each booklet carries a unique number, which is stamped at the top right.
It is currently unclear whether this number was intended to be the same as
the machine's serial number, or just a sequential number.
➤ Download the manual
|
|
|
Special telegram and cipher blocks were used for writing down
encrypted or decrypted messages, suchs as standard forms 6.5
and 15.7 shown in the image on the right.
The forms are at DIN A5 size and were supplied in blocks of
50 pages.
➤ Download Form. 6.5
➤ Download Form. 15.7
|
|
|
|
Additional workshop parts
|
|
|
|
Flexible lamp panel cable
|
|
|
An extremely flexible lamp panel interconnection cable
was available for workshop use. It allows NEMA and
its lamp panel to be tested without removing the
original interconnection cable from its storage position
inside the dust cover.
Today, this cable is used for demonstrations, as the
original interconnection cable has become stiff over
the years, and damages easily.
|
|
|
For repairs in the workshop and in the field, maintenance
engineers always had multiple complete sets of cipher wheels
in stock, so that the down-time could be reduced to a minimum.
Spare rotor sets and other spare parts were kept in the
black transit case shown in the image on
the right, which is similar to the
transit case of the NEMA itself. It has the same dimensions
but is made from wood and is used upside down. It can be recognised
by a white band at the bottom and by the text "Nr. 'x' Res.-Walzen zu TD". 1
|
|
|
-
'x' is the serial number of the spares kit (11 in our case).
|
The keyboard of the NEMA has 32 keys, of which only the 26 letters
of the alphabet (A-Z) are used for encryption. They are shown in black
in the diagram below. The remaining 6 keys — shown in red —
are only used when the device is connected (via a suitable interface)
to an output device, such as an electric typewriter,
teleprinter (telex),
Hellschreiber or a 5-level tape puncher.
The functions of the extra keys are listed in the table below.
The two blank keys are unassigned and can not be used. They were probably
intended for later expansion. The contacts of the other four keys
(WR, ZL, BU and the space bar) are available on the
expansion connector, which is also used for the connection
of the external lamp panel.
As far as we know, only the Swiss Foreign Office (FO) used it for the
connection of an IBM electric typewriter [1].
|
Key
|
According to manual 1
|
Remark
|
|
WR
|
Wagenrücklauf
|
Carriage Return (CR)
|
ZL
|
Zeilenwechsel
|
Line Feed (LF)
|
BU 2
|
Fernschreiberstart
|
Teleprinter start
|
SPACE
|
Zwischenraum
|
White space
|
|
-
This is the meaning of the key as described on page 3 of the manual [A].
-
The abbreviation 'BU' is probably for Buchstaben (Letters), as this
is the key that is normally used to put a teleprinter in a known state.
Operators always press it twice at the beginning of a message.
|
|
Numbers and punctuation marks
|
|
|
The first 10 keys of the upper row of the keyboard are marked with letters
(QWERTZUIOP) as well as numbers (1234567890). This allows users to switch
between letters and numbers, rather than spelling numbers out in full
(as with Enigma). As only the 26 letters (A-Z) are used
for encryption, two letters had to be selected to switch from letters to
numbers and back. Although any pair can be used for this, the most
common were Y to switch to numbers and X to revert to letters [A].
Spaces were always omitted (as with most other cipher machines) and punctuation
marks were spelled out in full. The table below gives a few examples that are
listed in [A].
|
Character
|
Description
|
Spelled as
|
|
↑
|
Switch to numbers
|
Y
|
↓
|
Switch to letters
|
X
|
.
|
Full stop
|
STOP
|
,
|
Comma
|
KOMMA
|
(
|
Open bracket
|
KLAMMERAUF
|
)
|
Close bracket
|
KLAMMERZU
|
?
|
Question mark
|
FRAGEZEICHEN
|
:
|
Colon
|
DOPPELPUNKT
|
-
|
Hyphen
|
QUERSTRICH
|
§
|
Paragraph
|
ABSATZ
|
|
The cipher rotors of the NEMA are located below a hinged black rectangular
lid at the top left of the machine. After lifting the lid, the 10 wheels
become visible. The rightmost wheel (red) is the entry wheel (Eintrittswalze,
ETW) through which the electric current enters the wheels (drum).
The wheels are made from Bakelite and have the letters of the alphabet
(in yellow) around the rim.
|
The wheel at the left is the reflector (UKW or Umkehrwalze). In between
the ETW and the UKW are four wheel pairs. Each pair consists of an
electric coding wheel with 26 contacts on either side, and a mechanical
wheel that controls the stepping of the wheel. Each electrical wheel
can be combined with any of the stepping wheels.
All wheels, except for the ETW, are mounted on a spindle that is a
permanent part of the UKW. The wheels can be removed by first
pushing the red lever
at the left towards the rear. Next the top cover is
opened by releasing two red bolts.
|
|
|
The ETW (the red wheel)
stays inside the machine. It consists of the 26 static contacts
(that do not move) through which the electric current is fed into the drum.
Mounted around the ETW is the primary driving gear consisting of a comb of
which the initial position can be set.
The four wheel pairs can now be
removed from the spindle,
so that their order can be changed or new wheel pairs can be created.
The UKW is permanently attached
to the spindle and can not be removed.
The wiring of the reflector is fixed and was identical for both
machine types.
|
|
|
A NEMA cipher wheel is similar to the cipher wheel of an Enigma machine,
in that it has 26 electrical contacts at either side, one for each letter
of the alphabet. The letters are scrambled by the internal wiring of the
electric wheel. Each wheel (A-F) has its own unique scrambling pattern.
|
Each wheel pair
consists of an electric cipher wheel (right)
and a mechanical stepping wheel (left).
The two are mounted together, but can move independently as the stepping
wheel has a ball-bearing ring.
The stepping wheel is fitted around the wiring core of the cipher wheel.
The two wheels can be separated by
pushing the side with the V-shaped
contacts out of the stepping wheel. Next the wheels can be rearranged
as per code book, and mounted on the spindle again.
If necessary, the contacts on the wheels could be cleaned by using the
special messing brush.
|
The rightmost wheel is the so-called entry wheel, or Eintrittzwalze
(ETW). As it works differently from the other wheels, it is red and remains
inside the machine when the drum is removed (see above). Although the
electric contacts of the ETW are static (i.e. they never move), the notched
wheel surrounding it, does.
The ETW has notches at either side. The notches on the left side control
the stepping of the cipher wheel to its left, while the notches on the right
side cause a reduction in the transmission system. This further
explained below.
|
|
|
The cipher wheels are marked with a letter of the alphabet. Depending
on the model, four or six cipher wheels are supplied, of which four
are in the machine. The training machine is supplied with four wheels
(ABCD), whilst the war machine comes with all six wheels (ABCDEF). The
unused wheels are stored inside the
cylindrical containers in the
case lid, marked as Walze I and Walze II.
|
The wheel stepping mechnism of the NEMA is extremely complex and
difficult to comprehend.
For a full and detailed description (in German) please refer
to Walter Schmid's excellent book Die Chiffriermaschine Nema [2].
In the drawing below the stepping mechanism of the NEMA machine is
illustrated. The wheels are moved by a set of narrow and wide fingers,
or tongues, that are located behind the wheels. An upwards movement of
a finger causes a single step of the corresponding wheel. As a result,
a wheel can only step backwards (Z → Y → X → W, etc.).
Each pair of wheels consists of a stepping wheel (S) and a cipher
wheel (C). The narrow fingers are only used to cause a single step
of a stepping wheel (S). The wide fingers are used to cause a single
step on a cipher wheel (C). As the wide fingers overlap between wheel
pairs, a stepping wheel (e.g. S3) can inhibit the stepping of the
cipher wheel to its left (e.g. C2) by pushing away the finger.
A wide finger is therefore effectively
a logic AND function: a cipher wheel will only move when the transmission
moves (T) AND the stepping wheel to its right has a gap.
Two transmission systems are responsible for wheel stepping,
indicated here as T1 and T2. T1 is activated by the keyboard
mechanism and will make a single step on each key press. As a result,
stepping wheels S1, S3 and S5 (the ETW) will make a single step
every time a key is pressed. The notches that are mounted on the left
side of each stepping wheel, determine whether the cipher wheel to
its left also moves. The secundary transmission system (T2) is controlled
by an extra set of notches that are mounted to the right of the ETW (S0).
S0 always has 5 gaps, which means that when T1 has caused a full revolution
of the stepping wheels (i.e. 26 steps), T2 has made 5 steps.
|
To add an extra layer of complexity, there are four adjustment screws,
located behind a hatch at the rear of the machine, that control to
which transmission system (T1 or T2) the fingers of the four wheel
pairs are linked. The simplified diagram below shows how this linking
works (L1-L4).
In order to obtain the maximum cipher period, we assume that two pairs
are always linked to T1, whilst the other two are linked to T2. This
means that two screws would always be in, whilst the other two are out.
Adjusting these screws is not easy and requires special tools and
training. The military machines use the configuration shown here.
It has been established that machines used by the
Diplomatic Service used a different configuration than the
military machines [2 p. 84.].
|
The table below gives the wiring of the electrical cipher wheels A-F,
using the right hand side of each wheel as the input (A-Z). Please note
that the wiring of the first four wheels (A-D) is identical for both
machine types, but that the stepping wheels are completely different.
|
Wheel
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
Remark
|
|
ETW
|
OBDMWLKJRIHGZAQPYVNUSCXEFT
|
Both
|
A
|
NSKITCOYMVWAUJDRLZXHFQEGPB
|
Both
|
B
|
KJYNTMEHLOZQBWPSXIRFAGUDVC
|
Both
|
C
|
PNFUTEDIZYAHVRWOJSGBQMKCXL
|
Both
|
D
|
WJBEYFUCMDTAZKXPIQHSVLGONR
|
Both
|
E
|
FRQTYVXMNACFUJESWLZIGDPOKB
|
War machine only
|
F
|
ZVGEQMUTWLNSHPOAFYIXKBDRJC
|
War machine only
|
UKW
|
KWPNGHEFVTAZUDYCXSRJMIBQOL
|
Both
|
|
Note that the above permutations are measured directly from
each wheel, without taking into consideration which letter is visible
at the bottom row of the wheel window (i.e. the area under
the wheel cover where the basic key is set). The offset between the
letter in the window and the actual contact pin, is
12 positions. That means that the incoming letter (right side
of the wheel) should be shifted 12 further in the alphabet, before
wheel scrambling is applied.
|
The table below shows in which cases a stepping event occurs. A '1'
marks the presence of a notch (i.e. a gap), allowing a step to be made.
A '0' marks the absence of a notch, which inhibits stepping.
The rightmost column (#) shows the total number of stepping events,
which should always be a relative prime of 26 and should not share
any common factor, in order to guarantee the maximum possible cipher period.
Wheel 1 is always paired with 22 as part of the ETW of a war machine (22/1).
Likewise, wheel 2 is paired with 23 on the ETW of a training machine (23/2).
|
Wheel
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
Remark
|
#
|
|
1
|
01000000010000000010000011
|
War, reverse side of 22
|
5
|
2
|
01011001000000001000000000
|
Training, reserve side of 23
|
5
|
12
|
01111111111100011110111111
|
War
|
21
|
13
|
11011110011011011101111110
|
War
|
19
|
14
|
00101111011111111010010101
|
War
|
17
|
15
|
10011010000010111111010111
|
War
|
15
|
16
|
11111101111111101111111110
|
Training
|
23
|
17
|
01000001111000001010110110
|
War
|
11
|
18
|
11111111111110101111111011
|
War
|
23
|
19
|
11101111000111111111110111
|
Training
|
21
|
20
|
11111101110101010101101111
|
Training
|
19
|
21
|
10111011110111101110100100
|
Training
|
17
|
22
|
11001011001011011110011100
|
War, reverse side of 1
|
15
|
23
|
10111111111101111111111110
|
Training, reverse size of 2
|
23
|
|
When setting the cryptographic key of the NEMA, we have to
consider both the internal key and the external key.
The internal key specifies which stepping wheels are paired with which
cipher wheels, and in what order they are placed on the spindle.
For example:
15-C / 12-A / 14-D / 13-B
The external key specifies the initial position of the wheels
at the start of a message. This is the bottom row of characters
that is just visible when the cover over the wheels is opened.
E.g.:
B X L R R T V Y L Z
The initial position can be changed after setting the read lever
at the left to the rearmost position. All ten wheels can than be
turned forward and backward, until the desired key is set. The
red lever should then be returned to the operational position.
The counter should then be reset.
|
Calculating the total number of possible start positions is
relatively straightforward. If we take the war machine, we have 6
cipher wheels (A-F) of which 4 are placed in the machine. This gives 360
possible wheels orders (6 × 5 × 4 × 3). The same is true for the stepping
wheels (360 wheel orders). The number of possible starting positions
of the 10 wheels is 2610. The total number of possible settings
is calculated as 360 × 360 × 2610, which roughly adds up to:
18,295,255,596,677,529,600
The maximum cipher period (i.e. the number of steps before the system
repeats itself) is a bit more difficult to determine. Given the complex
stepping mechanism (using relative primes for the number of notches on
each wheel) and the high number of possible start positions, one might
be inclined to think that the machine has a very long cipher period.
However, this is not the case.
Since stepping wheels S1 and S3 are always moved on each key press,
and the number of notches are relative primes, the UKW and C2 will return
to their starting position after 676 steps (26 × 26). As the number
of notches on the remaining stepping wheels (S2, S4 and S5) are also
relative primes, they return to their starting position after 17576 steps
(26 × 26 × 26). These two groups of wheels should be considered independent
of each other, as one group can not be influenced by the other.
As there is a common factor (676 × 26 = 17576), the maximum cipher
period is:
17,576
Although this might seem a bit disappointing, it was less of a problem
in actual use as the length of a message hardly ever exceeded 17,576
characters. There are however some weaknesses in the system.
The most obvious one is that, like on the Enigma, a letter can never
be enciphered into itself. This is caused by the fact that a reflector (UKW)
is used, causing the return path to be different from the forward path.
Furthermore, there are a large number of starting positions
that may cause non-stepping of several consecutive letters. This is well
described in [1 p. 323].
|
The NEMA can be powered by a variety of sources. By default it is powered
by the internal 4.5V battery which is stored in a large compartment at the
rear right, below the top cover. The battery compartment itself is closed
by a rectangular lid with a
side-shifting lock at the front.
|
The battery compartment accepts the same 4.5V battery as the
Enigma machine. Later batteries, like the one shown on the right, had a
green plastic body. The image on the right shows the battery half way out
of the battery compartment.
Batteries of this type are no longer being made, so it might be useful to
empy an existing old battery and put a modern battery holder inside it.
As an alternative it is also possible to use a standard flat-pack 4.5V
battery, bend both of its messing contact pins in a V-shape and place
it at the bottom of the battery compartment.
|
|
|
It is also possible to apply an external 4V source to the NEMA, by
connecting it either to the
two terminals to the right of the keyboard,
or to the banana-type sockets at the right side.
Alternatively, the NEMA can be powered directly from a variety of mains
voltages, by using the internal transformer. In order to allow the NEMA
to be used virtually anywhere in the world, a large
voltage selector at
the right can be used to adapt it to the local (mains) voltage.
|
The socket for connection to the mains power, is also located at the
right, just below the voltage selector.
A suitable, long, mains cable
is present with the machine and is stored inside the case lid.
At one end of the cable is a plug that fits the power socket at the right
side of the NEMA. At the other end is a standard domestic power plug
that fits most continental (Europe) wall sockets.
Unlike today, mains power sockets were not commonly available in every
home at the time the NEMA was introduced (shortly after WWII), although
most homes did have electric light.
|
|
|
For that reason, a suitable Fitting Adapter with Edison E27 thread
was supplied. It was installed in between the fitting and the light
bulb and had two power sockets at the sides, allowing the NEMA to 'steal'
power from the lamp socket. As the mains voltage wasn't always the same
during and after WWII, the voltage selector allows a variety of voltages
to be used, ranging from 110 to 250V.
|
When encrypting or decrypting a message on the NEMA, the output
can be read letter-by-letter from the lamp panel, just like on
the Enigma. In order to allow a high level (Secret) message only
to be read by an officer, it was possible to connect an
external lamp panel to the machine.
|
When not in use, the lamp panel is stored
inside the case lid,
where it is held in place by an adjustable strap.
It connects to the machine by means of a thick cable with
29-pin plugs at either end. This cable is also
stored inside the case lid
and is held in place by metal clips.
The original cable may be a bit stiff after
all these years of storage. As bending the cable might cause permanent
damage to it, we've used a
flexible rubber-encapsulated cable instead
for the photographs on this page. This flexible cable was formerly
used in a NEMA repair workshop.
|
|
|
Version 1.0.1
- Build 001 2002
A very good computer simulation for a NEMA is available from the
Computer Simulation Group (CSG). In 2002, Geoff Sullivan released
a fully operational graphical simulation that runs on Windows XT.
The image on the right shows the basic screen.
It can simulate both military models (the training machine and
the war machine) and can fully be configured, just like a real NEMA.
Furthermore it allows messages to be entered directly (using separate
input and output windows) and has a window to show the scrambler
permutations.
➤ Download simulator (off-site)
|
|
|
Riley Pierce
If you want to demonstrate your NEMA cipher machine, you will need a battery
that fits the machine's battery compartment. Original batteries are very rare,
and even if you find one, it will certainly be flat.
A good solution might be to use a 3D-printed alternative.
American collector Riley Pierce has created the necessary STL files for
3D-printing your own NEMA battery.
|
The battery enclosure consists of two parts: (1) a box with rounded corners
and (2) a lid that fits on top of the box. Inside the box is a regular battery
holder that takes three C-size battery cells, which provide a total voltage of
4.5V.
At the side of the box are two thin brass strips that mate with the slide
contacts inside the NEMA's battery compartment. Both the battery holder and the
brass strips are available from various websites, such as Amazon. If you think
the lights are burning too bright, you might want to connect a diode
in series with the batteries.
|
|
|
Such a diode can easily be fitted inside the battery.
Once the reproduction battery is complete, it should
smoothly fit the battery compartment of your NEMA.
If you use regular C-size battery cells, they should last for more than a year,
as current only flows when a key is held down. That said, you might want to
replace the cells every year to avoid damage caused by leaking cells.
Here is what you need to build your own NEMA battery:
|
The device can be powered directly from the AC mains, but you should
always check the voltage selector first, to ensure that it is set to the
local mains voltage.
Below is the pinout of the mains receptacle at the right side of the device,
when looking into the receptacle.
|
- 220V AC (1)
- 220V AC (2)
- Ground
|
|
At the right side of the machine is a rectangular 34-pin male
receptacle, that can be used for connection of the external lamp panel
or another external device, such as a teleprinter.
Below is the pinout when looking into the receptacle.
The numbering is not printed on the receptacle.
|
- B
- E
- A
- D
- unused
- C
- Space 1
- H
- K
- G
- J
- F
- I
- Letters (BU) 1
- N
- P
- M
- L
- O
- CR (WR) 1
- unused
- S
- V
- R
- U
- Q
- T
- Numbers (ZL) 1
- Y
- +V
- X
- GND
- W
- Z
|
|
-
This key has no function on NEMA and is only used when connected to
a teleprinter.
|
Device Rotor cipher machine Purpose Military and diplomatic text encryption Name NeMa), {?T-D Model 45 Manufacturer Zellweger AG Country Switzerland Development 1941-1943 Production 1946 Declassified 9 July 1992 Users Swiss Army, Swiss Foreign Office Key settings 1.8 × 1019 (~ 264) Period 17,576 (~ 214) Power 4.5V (battery) External 4V DC Mains 110, 125, 145, 220, 250V AC Lamps 4.5V/200mA, E10 round bulb Dimensions 380 x 325 x 140 mm Weight 11 kg
|
- NEMA Modell 45
- NeMa
- Neue Maschine (new machine)
- TD
- T-D
- Tastendrücker
- Tasten-Drücker Maschine (push-button machine)
|
The NEMA didn't become available before the end of WWII.
After the machine was approved in March 1945, it took quite
a long time before it became available, as the first machines
entered service in 1947.
In total, 640 machines were built by the Swiss manufacturer
Zellweger AG.
Three versions were in circulation,
which can be descriminated by their serial numbers:
|
TD-100 to TD-199 Foreign Office (FO) TD-200 to TD-419 Training Machines TD-420 to TD-740 Operational Machines
|
Operational machines differ from training machines, in that they
have 2 additional wheels (stored inside the top lid) and have
different notches on the stepping wheels.
They can be recognized by a label on the outer case,
saying that it should only be released in case of war
(see above).
The wiring of the machines used by the Foreign Office (FO)
has been kept secret. As far as we know, these machines have
never been released. One machine is kept in the archives of the
Swiss intelligence service. The remaining machines have been
destroyed.
The training machines were used by the Swiss Army between
1947 and 1975. After that, there were only kept for emergency
purposes.
The Operational Machines, sometimes referred to as
K-Mob-Maschinen, were always kept under wraps.
They were to be issued only in the event of a war.
|
1 May 2018 —
Please use the serial number table above only as a guide.
At present there appears to be some confusion about the number range
around TD-420 and the change from Training to Operational Machines.
Also note that some machines were re-assigned, refurbished and/or repaired
during their lifetime, as a result of which their serial number or their
application may have been changed.
|
-
Declassified 9 July 1992.
-
Suitable for war-reserve Nema only.
|
- Geoff Sullivan and Frode Weierud, The Swiss Nema Cipher Machine
Cryptologia, October 1999, Volume XXIII, Number 4.
- Walter Schmid, Die Chiffriermaschine Nema
Self-published book with CD. March 2005. 1
➤ More
➤ Contents of the CD
- Christoph Lechleitner and Andreas Rumpler, Chiffriermaschine NEMA
Student project, Johannes-Kepler University Linz, Austria (German). 1995.
- Ehret, Jonczy, Nietlispach and Zwahlen, NeMa - Analyzing the Swiss Cipher Machine
Paper (English). 5 September 2007.
|
-
Reproduced here by kind permission from the author (Marc 2023).
|
|
|
Any links shown in red are currently unavailable.
If you like the information on this website, why not make a donation?
© Crypto Museum. Created: Wednesday 12 August 2009. Last changed: Monday, 12 August 2024 - 08:51 CET.
|
|
|
|
|
|
|