Swedish Naval World War I cipher

Description

From 1915 and through the years of the first world war, the Swedish navy used the following cipher (there also existed a codebook) named Chiffer för signalering enligt metod II (Cipher for signalling according to method II):

The letter is substituted by To be used on the following days Cipher Keyfigures The figure is substituted by
A181 - 3F2 1 3 4 0 51E
B152P
C44 - 6G3 0 43U
D174C
E17 - 9H1 8 9 45F
F56W
G1010 - 12I3 2 57J
H168Å
I2013 - 15J4 2 39Ö
J710G
K2116 - 19K2 3 111V
L2912Q
M2220 - 23L5 2 0 113X
N2314Ä
O2424 - 27M6 9 315B
P216H
Q1228 - 31N2 3 1 017D
R2518A
S26O19Y
T2720I
U321K
V1122M
W623N
X1324O
Y1925R
Z2826S
Å827T
Ä1428Z
Ö929L

The cipher is used in the following way:

  1. The letters of the cleartext is substituted by figures according to the two leftmost columns in the table above.
  2. Under each of these figures one keyfigure is written according to the order given for that day.
  3. The figures representing the letters are added to the keyfigures directly beneeth, and if the sum exceeds 29 it is subtracted by 29 (i.e. addition modulo 29) so that the result always lies in the range 1- 29.
  4. The new sums are looked up in the next-to-the-right column, and substituted back to the letters given in the rightmost column.
An example will - hopefully - make things clearer:

Cleartext:FOURDEST ROYERS
Figures:5243251712627 25241912526
Key G:30430430 430430
Sum mod 29:8247281752927 29271952826
Cryptogram:ÅOJZDFLT LTYFZS

To decrypt a received message, one uses the same procedure, but the keyfigures are subtracted from the numbers representing the cryptotext instead of added. If the result is a negative number or zero, one must add 29 to reach the right answer.

The regulations stated that the cryptograms should be sent in 12-letter groups. Because the lengths of the keys used are all factors of 12, the first figure of the key used must fall under the first letter of every such 12-letter group, and the last figure under the last letter. The cryptoclerk could thus easily spot if a letter was missing from a cryptogroup (Apparently, one hadn't begun using standard five-letter groups at that time).

The reader might think I've made a typo, and forgot to provide the key O. That's not the case. This was a special key only to be used between the King and the Supreme Commander of the Coastal Navy, and was issued only to the Supreme Commander of the Coastal Navy and the King.


Break a Navy Ciphermessage

The cipher isn't very safe, one major drawback being the short keys used. The interested reader can try and break the following ciphermessage, encrypted with a fictive key O. The cleartext is in English with some Swedish names. Be careful not to mix the funny looking vowels at the end of the Swedish alphabet with "A" and "O" since they count as letters of their own!

= King Gustaf, Royal Castle Stockholm = 18/3 1916 = GR 12 = TXT =

PDGAIFPEGLAT = WVAEIJFÅCSÅT = CEÖUURLZÄZSL =
RYFUZZLRUKRR = BYÖAICFZCRSU = LRBÖMFIZRCWU =
ZJUFTTTFGTRM = ZYFIZFZUGLLT = SYJCYRLSLÄIJ =
EZCJNNZEPTRF = IPJÖUEPIÄNTC = P =
Supreme Commander of the Coastal Navy =

There's no reward to the successful breaking of this message, since I believe breaking a crypto is a kind of reward in it self! Good Luck, though!


© Torbjörn Andersson.