The Hagelin C-35/C-36.

In 1934 Mr Hagelin was asked by the head of the French cipher bureau to construct a ciphering machine, small enough to fit the pocket of an ordinary army coat and also being capable of printing the text. To settle the size, Hagelin carved a piece of wood to fit in a pocket.

The C-35 was accepted by the French, and in October 1937 six machines of type C-36 (virtually the same machine, but C-36 has a housing that the C-35 lacks, and movable lugs) were ordered by the Swedish Navy for testing.  


C-36 with protective housing closed and opened.

The plaintext letter (or cipher letter if the machine is used for decryption) is found on a circular knob bearing the alphabet, to the left of the machine. The knob is turned and the sought letter is placed against a benchmark, and then a lever is operated.

Knob set to letter 'U'.

The C-35 has five pinwheels which have individual periods of 25, 23, 21, 19 and 17. Around the pinwheels the following sequences of letters are engraved:

	Pinwheel   I or "25 wheel": ABCDEFGHIJKLMNOPQRSTUVXYZ
	Pinwheel  II or "23 wheel": ABCDEFGHIJKLMNOPQRSTUVX
	Pinwheel III or "21 wheel": ABCDEFGHIJKLMNOPQRSTU
	Pinwheel  IV or "19 wheel": ABCDEFGHIJKLMNOPQRS
	Pinwheel   V or "17 wheel": ABCDEFGHIJKLMNOPQ

(Note the absence of the letter W. This possibly has to do with the machine's Swedish origin, since the letter W is redundant in the Swedish language.)

Inner lid opened. Pin wheels visible in front with the cage showing behind them.

The wheels have pins at all lettered positions, all of which can be set in either active or inactive position. The five pinwheels all move one step when the lever is operated and since the pinwheels are relatively prime to each other, the period of the machine will be the product of the wheel-sizes (25x23x21x19x17) or 3,900,225.

Wheels showing pins in active and inactive positions.

Behind the five pinwheels is a drum composed of two circular endplates holding 25 horizontal bars. The first bar has one lug in the position corresponding to pinwheel I, bars two and three have a lug each in the position corresponding to pinwheel II, bars 4-7 have one lug each in the position corresponding to wheel III, bars 8-15 have one lug each in the position corresponding to wheel IV, and bars 16-25, finally, have one lug each in the position corresponding to wheel V. The pins of the pinwheels, when in active position on a specific pinwheel, displaces the bars of the drum to the left when encountering a lug, and these bars act as cogs, displacing the circular knob a corresponding number of positions - the so called Displacement number.

Drum with one of the bars displaced to left.

Due to the number of lugs chosen (1, 2, 4, 8, and 10) all displacement numbers from 0 (no pin in active position on any pinwheel) to 25 (all pins in active position on all five pinwheels) may arise. Finally the cipher (or plaintext) letter is printed on a paper strip.

Sample showing the stepping of pinwheels, their letters, displacement number
plaintextletter and cipher when encrypting the plaintext Enemy of battalion
strength advancing along eastern railway.

C-36 ready for action with message key 'LXTBI'

Qbasic simulation of the Hagelin C-35 cryptomachine


© Torbjörn Andersson.Torbjörn Andersson Fecit