Lorenz

The Lorenz SZ40/42 teleprinter cipher. Running it twice with the same settings returns the plaintext.

  • ID: lorenz
  • Category: Encryption / Encoding
  • Aliases: sz40, sz42, tunny, fish, teleprinter cipher

Arguments

ArgumentTypeDefaultConstraints
Wheel patternstextarea""Twelve lines of 0s and 1s: chi 1-5 (41,31,29,26,23), psi 1-5 (43,47,51,53,59), mu (61,37)
Start positionsstring""Twelve numbers, one per wheel; empty means all at 1
Limitationoption"None (SZ40)"None (SZ40), Chi 2 one back, Psi 1 one back
Inputoption"Tunny letters"Tunny letters, Text, Five-bit numbers
Outputoption"Tunny letters"Tunny letters, Text, Five-bit numbers