Talk:Chaocipher

Revision as of 18:01, 20 July 2019 by Nigel Galloway (talk | contribs) (A Latin Square)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A Latin Suare

  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25
 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24
 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23
 23 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22
 22 23 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21
 21 22 23 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20
 20 21 22 23 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19
 19 20 21 22 23 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18
 18 19 20 21 22 23o 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17
 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16
 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15
 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12 14
 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11 12
 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4  5  6  7  8  9 10 11
 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4  5  6  7  8  9 10
 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4  5  6  7  8  9
  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4  5  6  7  8
  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4  5  6  7
  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4  5  6
  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4  5
  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3  4
  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2  3
  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1  2
  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13  1
  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0 13
 13  1  2  3  4  5  6  7  8  9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25  0

The relationship between encryption and Latin Squares has been mentioned recently on RC. The above, LS, is the Latin Square corresponding to the left wheel. If p is the position of the ciphertext letter then given a current ciphertext alphabet, HXUCZVAMDSLKPEFJRIGTWOBNYQ say, then applying the bijection
new ciphertext alphabet[n]=current ciphertext alphabet[LS[p][n]]
one obtains ONYQHXUCZVAMDBSLKPEFJRIGTW when p is 21.--Nigel Galloway (talk) 17:59, 20 July 2019 (UTC)

Return to "Chaocipher" page.