Repository navigation
Expand file tree
/
Copy pathdemo-loader.js
More file actions
1098 lines (1075 loc) · 70.9 KB
/
Copy pathdemo-loader.js
File metadata and controls
1098 lines (1075 loc) · 70.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
* THE CIPHER MUSEUM — Demo Loader
* Auto-generates interactive "Try It Yourself" demos for all cipher exhibit pages.
* Place <div class="demo-section" data-cipher="cipherName"></div> in the HTML.
*/
'use strict';
(function () {
const CONFIGS = {
rasterschluessel44: { label:'RS44 (27 March 1944; max 200 prepared letters)', engine:'rasterschluessel44', defaultMsg:'FEINDGREIFTSEITELFXVIERFUENFUHRBEIAAIGQALFISIGQALFISEEMITAQTPANZNAQSUEDWESTAN', inputs:[{type:'text',id:'keyword',label:'Key: manual, or JSON settings (short teaching mode)',value:'manual'}] },
doublePlayfair: { label:'German Double Playfair (December 1941; J→II; odd filler Z)', engine:'doublePlayfair', defaultMsg:'FEINDLIQERANGRIFFAUFSTRASZEADORFSTRIQBEHAUSENABGEWEHRT', inputs:[{type:'text',id:'keyword',label:'Key: manual, or JSON squares/filler/strict',value:'manual'}] },
amsco: { label:'AMSCO (ACA digraph-first)', engine:'amsco', defaultMsg:'INCOMPLETECOLUMNARWITHALTERNATINGSINGLELETTERSANDDIGRAPHS', inputs:[{type:'text',id:'keyword',label:'Column ranks (or JSON order/first)',value:'41325'}] },
caesar: {
label: 'Caesar Cipher', engine: 'caesar', defaultMsg: 'THE QUICK BROWN FOX',
inputs: [{ type: 'range', id: 'shift', label: 'Shift', min: 1, max: 25, value: 3 }]
},
monoalphabetic: {
label: 'Monoalphabetic Substitution', engine: 'monoalphabetic', defaultMsg: 'ATTACK AT DAWN',
inputs: [{ type: 'text', id: 'keyword', label: 'Keyword', value: 'ZEBRA', placeholder: 'Keyword…' }]
},
polybius: {
label: 'Polybius Square', engine: 'polybius', defaultMsg: 'HELLO WORLD',
inputs: []
},
homophonic: {
label: 'Homophonic Substitution', engine: 'homophonic', defaultMsg: 'SECRET MESSAGE',
inputs: [{ type: 'text', id: 'keyword', label: 'Seed Keyword', value: 'CIPHER', placeholder: 'Seed…' }]
},
playfair: {
label: 'Playfair Cipher', engine: 'playfair', defaultMsg: 'HIDE THE GOLD',
inputs: [{ type: 'text', id: 'keyword', label: 'Keyword', value: 'MONARCHY', placeholder: 'Keyword…' }]
},
hill: {
label: 'Hill Cipher', engine: 'hill', defaultMsg: 'SHORT',
inputs: [{ type: 'text', id: 'keyword', label: 'Key Matrix (a,b,c,d)', value: '3,3,2,5', placeholder: '3,3,2,5' }]
},
vigenere: {
label: 'Vigenère Cipher', engine: 'vigenere', defaultMsg: 'ATTACKATDAWN',
inputs: [{ type: 'text', id: 'keyword', label: 'Keyword', value: 'LEMON', placeholder: 'Keyword…' }]
},
beaufort: {
label: 'Beaufort Cipher', engine: 'beaufort', defaultMsg: 'THE QUICK BROWN FOX',
inputs: [{ type: 'text', id: 'keyword', label: 'Keyword', value: 'FORTIFICATION', placeholder: 'Keyword…' }]
},
gronsfeld: {
label: 'Gronsfeld Cipher', engine: 'gronsfeld', defaultMsg: 'THE SECRET CODE',
inputs: [{ type: 'text', id: 'keyword', label: 'Numeric Key', value: '31415', placeholder: 'Digits…' }]
},
porta: {
label: 'Porta Cipher', engine: 'porta', defaultMsg: 'DEFEND THE EAST WALL',
inputs: [{ type: 'text', id: 'keyword', label: 'Keyword', value: 'FORTIFY', placeholder: 'Keyword…' }]
},
runningKey: {
label: 'Running Key Cipher', engine: 'runningKey', defaultMsg: 'FLEE AT ONCE',
inputs: [{ type: 'textarea', id: 'keyword', label: 'Key Text', value: 'WE HOLD THESE TRUTHS TO BE SELF EVIDENT', placeholder: 'Long key text…' }]
},
railFence: {
label: 'Rail Fence Cipher', engine: 'railFence', defaultMsg: 'WE ARE DISCOVERED FLEE AT ONCE',
inputs: [{ type: 'range', id: 'shift', label: 'Rails', min: 2, max: 10, value: 3 }]
},
columnar: {
label: 'Columnar Transposition', engine: 'columnar', defaultMsg: 'THE TOMATO IS A PLANT',
inputs: [{ type: 'text', id: 'keyword', label: 'Keyword', value: 'ZEBRA', placeholder: 'Keyword…' }]
},
doubleTransposition: {
label: 'Double Transposition', engine: 'doubleTransposition', defaultMsg: 'ATTACK AT DAWN',
inputs: [{ type: 'text', id: 'keyword', label: 'Keywords (key1,key2)', value: 'FIRST,SECOND', placeholder: 'KEY1,KEY2' }]
},
bacon: {
label: "Bacon's Cipher", engine: 'bacon', defaultMsg: 'HELLO',
inputs: []
},
tapCode: {
label: 'Tap Code', engine: 'tapCode', defaultMsg: 'HELLO',
inputs: []
},
pigpen: {
label: 'Pigpen Cipher', engine: 'pigpen', defaultMsg: 'FREEMASON',
inputs: []
},
bifid: {
label: 'Bifid Cipher', engine: 'bifid', defaultMsg: 'FLEEATONCE',
inputs: [{ type: 'text', id: 'keyword', label: 'Keyword', value: 'SECRET', placeholder: 'Keyword…' }]
},
trifid: {
label: 'Trifid Cipher', engine: 'trifid', defaultMsg: 'DEFEND',
inputs: [{ type: 'text', id: 'keyword', label: 'Keyword', value: 'FELIX', placeholder: 'Keyword…' }]
},
adfgx: {
label: 'ADFGX Cipher', engine: 'adfgx', defaultMsg: 'ATTACK',
inputs: [{ type: 'text', id: 'keyword', label: 'Keys (polybius,columnar)', value: 'PRIVACY,GERMAN', placeholder: 'KEY1,KEY2' }]
},
adfgvx: {
label: 'ADFGVX Cipher', engine: 'adfgvx', defaultMsg: 'ATTACK',
inputs: [{ type: 'text', id: 'keyword', label: 'Keys (polybius,columnar)', value: 'PRIVACY,GERMAN', placeholder: 'KEY1,KEY2' }]
},
nihilist: {
label: 'Nihilist Cipher', engine: 'nihilist', defaultMsg: 'DYNAMITE WINTER PALACE',
inputs: [{ type: 'text', id: 'keyword', label: 'Keys (polybius,keyword)', value: 'RUSSIAN,KEY', placeholder: 'GRID,KEY' }]
},
otp: {
label: 'One-Time Pad', engine: 'otp', defaultMsg: 'ATTACK',
inputs: [{ type: 'text', id: 'keyword', label: 'Key (leave blank for random)', value: '', placeholder: 'Random key if empty' }]
},
fractionatedMorse: {
label: 'Fractionated Morse', engine: 'fractionatedMorse', defaultMsg: 'HELLO WORLD',
inputs: [{ type: 'text', id: 'keyword', label: 'Keyword', value: 'ROUNDTABLE', placeholder: 'Keyword…' }]
},
confederateVigenere: {
label: 'Confederate Vigenère', engine: 'confederateVigenere', defaultMsg: 'SEND REINFORCEMENTS',
inputs: [{ type: 'text', id: 'keyword', label: 'Keyword', value: 'CONFEDERATE', placeholder: 'Keyword…' }]
},
bazeries: {
label: 'Bazeries-inspired teaching model', engine: 'bazeries', defaultMsg: 'RETREAT TO THE HILLS',
inputs: [{ type: 'range', id: 'shift', label: 'Number Key', min: 2, max: 99, value: 42 }]
},
alberti: {
label: 'Alberti Cipher Disk', engine: 'alberti', defaultMsg: 'SECRETS OF THE VATICAN',
inputs: [{ type: 'range', id: 'shift', label: 'Initial Disk Setting', min: 0, max: 25, value: 3 }]
},
jefferson: {
label: 'Jefferson Disk', engine: 'jefferson', defaultMsg: 'WE HOLD THESE TRUTHS',
inputs: [{ type: 'text', id: 'keyword', label: 'Disk Order (comma-separated)', value: '3,1,5,2,4,6', placeholder: '1,2,3…26' }]
},
enigma: {
label: 'Enigma Machine', engine: 'enigma', defaultMsg: 'HELLO WORLD',
inputs: [{ type: 'text', id: 'keyword', label: 'Rotor Start (3 letters)', value: 'AAA', placeholder: 'AAA' }]
},
lorenz: {
label: 'Lorenz Cipher', engine: 'lorenz', defaultMsg: 'URGENT MESSAGE',
inputs: [{ type: 'text', id: 'keyword', label: 'Wheel Seed', value: 'LORENZ', placeholder: 'Seed word…' }]
},
dictionaryCode: {
label: 'Dictionary Code', engine: 'dictionaryCode', defaultMsg: 'WTUSC',
inputs: [{ type: 'textarea', id: 'keyword', label: 'Reference Text', value: 'We the People of the United States in Order to form a more perfect Union establish Justice insure domestic Tranquility provide for the common defence', placeholder: 'Reference text…' }]
},
stager: {
label: 'Letter-Route Teaching Model — Compare Stager’s Word Routes', engine: 'stager', defaultMsg: 'WE ARE DISCOVERED FLEE AT ONCE',
inputs: [{ type: 'range', id: 'shift', label: 'Columns', min: 2, max: 10, value: 5 }]
},
vic: {
label: 'VIC Cipher', engine: 'vic', defaultMsg: 'AGENT REPORT',
inputs: [{ type: 'text', id: 'keyword', label: 'Keyword', value: 'SNOWFALL', placeholder: 'Keyword…' }]
},
scytale: {
label: 'Scytale', engine: 'scytale', defaultMsg: 'ATTACK AT DAWN',
inputs: [{ type: 'range', id: 'shift', label: 'Rod Rows', min: 2, max: 10, value: 3 }]
},
vernam: {
label: 'Vernam Cipher (XOR)', engine: 'vernam', defaultMsg: 'SECRET',
inputs: [{ type: 'text', id: 'keyword', label: 'Key (leave blank for random)', value: '', placeholder: 'Random key if empty' }]
},
greatCipher: {
label: 'Great Cipher (Grand Chiffre)', engine: 'greatCipher',
defaultMsg: 'THE KING ORDERS RETREAT TO PARIS AT DAWN',
inputs: [{ type: 'text', id: 'keyword', label: 'Codebook Seed', value: 'LOUIS', placeholder: 'Seed word…' }]
},
babington: {
label: 'Babington Plot Cipher', engine: 'babington',
defaultMsg: 'THE QUEEN MUST DIE FOR LIBERTY',
inputs: [{ type: 'text', id: 'keyword', label: 'Codebook Seed', value: 'BABINGTON', placeholder: 'Seed word…' }]
},
'navajo-code-talkers': {
label: 'Navajo Code Talkers', engine: 'navajo',
defaultMsg: 'ENEMY TANK BATTLESHIP IWO JIMA',
inputs: []
},
voynich: {
label: 'Voynich exhibit — invented letter-substitution model', engine: 'voynich',
defaultMsg: 'HE WHO DECIPHERS THIS WILL BE FAMOUS',
inputs: []
},
atbash: {
label: 'Atbash', engine: 'atbash', defaultMsg: 'HELLO WORLD',
inputs: []
},
rot13: {
label: 'ROT13', engine: 'rot13', defaultMsg: 'TRY ROTATING THIRTEEN',
inputs: []
},
foursquare: {
label: 'Four-Square Cipher', engine: 'foursquare', defaultMsg: 'HELP ME OBI WAN',
inputs: [{ type: 'text', id: 'keyword', label: 'Two Keywords (key1,key2)', value: 'EXAMPLE,KEYWORD', placeholder: 'KEY1,KEY2' }]
},
twosquare: {
label: 'Two-Square Cipher', engine: 'twosquare', defaultMsg: 'COME QUICKLY WE NEED HELP',
inputs: [{ type: 'text', id: 'keyword', label: 'Two Keywords (key1,key2)', value: 'EXAMPLE,KEYWORD', placeholder: 'KEY1,KEY2' }]
},
straddlingCheckerboard: {
label: 'Straddling Checkerboard', engine: 'straddlingCheckerboard',
defaultMsg: 'ATTACK AT DAWN',
inputs: [{ type: 'text', id: 'keyword', label: 'Top-Row Letters (8)', value: 'ATONESIRE', placeholder: '8 distinct letters' }]
},
chaocipher: {
label: 'Chaocipher', engine: 'chaocipher', defaultMsg: 'WELLDONE IS BETTER THAN WELLSAID',
inputs: [{ type: 'text', id: 'keyword', label: 'Initial Alphabet Key', value: 'CHAOCIPHER', placeholder: 'Seed word…' }]
},
m209: {
label: 'M-209 pin-and-lug teaching model', engine: 'm209', defaultMsg: 'ENEMY ADVANCING ON FLANK',
note: 'This deterministic teaching model derives six pin wheels and all 27 lug bars from the seed. It is not an operational M-209 key sheet.',
inputs: [{ type: 'text', id: 'keyword', label: 'Deterministic Pin/Lug Seed', value: 'HAGELIN', placeholder: 'Seed word…' }]
},
solitaire: {
label: 'Solitaire / Pontifex', engine: 'solitaire', defaultMsg: 'DO NOT USE PC',
inputs: [{ type: 'text', id: 'keyword', label: 'Deck Key', value: 'CRYPTONOMICON', placeholder: 'Key word…' }]
},
beale: {
label: 'Beale Cipher (book cipher)', engine: 'beale', defaultMsg: 'GOLD',
inputs: [{ type: 'textarea', id: 'keyword', label: 'Reference Text (Declaration of Independence excerpt)',
value: 'When in the course of human events it becomes necessary for one people to dissolve the political bands which have connected them with another and to assume among the powers of the earth the separate and equal station to which the laws of nature and of natures god entitle them a decent respect to the opinions of mankind requires that they should declare the causes which impel them to the separation',
placeholder: 'Long reference text…' }]
},
copiale: {
label: 'Copiale Cipher', engine: 'copiale', defaultMsg: 'OCULIST ORDER SECRETS',
inputs: [{ type: 'text', id: 'keyword', label: 'Symbol Seed', value: 'COPIALE', placeholder: 'Seed word…' }]
},
kryptos: {
label: 'Kryptos K1/K2 Tableau', engine: 'kryptos', defaultMsg: 'BETWEEN SUBTLE SHADING AND THE ABSENCE OF LIGHT',
inputs: [{ type: 'text', id: 'keyword', label: 'Vigenère Key', value: 'PALIMPSEST', placeholder: 'PALIMPSEST or ABSCISSA' }]
},
purple: {
label: 'Purple (simplified)', engine: 'purple', defaultMsg: 'CLIMB MOUNT NIITAKA',
inputs: [{ type: 'text', id: 'keyword', label: 'Switch Seed', value: 'PURPLE', placeholder: 'Seed word…' }]
},
autokey: {
label: 'Autokey Cipher (Vigenère self-extending)', engine: 'autokey', defaultMsg: 'ATTACK AT DAWN',
inputs: [{ type: 'text', id: 'keyword', label: 'Primer Key', value: 'QUEENLY', placeholder: 'Primer word…' }]
},
nomenclator: {
label: 'Nomenclator (codebook + cipher alphabet)', engine: 'nomenclator',
defaultMsg: 'THE KING WILL ATTACK PARIS AT DAWN',
inputs: []
},
bookCipher: {
label: 'Book Cipher (Declaration of Independence)', engine: 'bookCipher',
defaultMsg: 'GOLD',
inputs: []
},
sigaba: {
label: 'SIGABA (pseudorandom rotor stepping)', engine: 'sigaba', defaultMsg: 'CLIMB MOUNT NIITAKA',
inputs: [{ type: 'text', id: 'keyword', label: 'Rotor Seed', value: 'SIGABA', placeholder: 'Seed word…' }]
},
typex: {
label: 'Typex (5-rotor Enigma-style)', engine: 'typex', defaultMsg: 'BRITISH SIGNAL READY',
inputs: [{ type: 'text', id: 'keyword', label: 'Rotor Start (5 letters)', value: 'AAAAA', placeholder: 'AAAAA' }]
},
'kama-sutra': {
label: 'Kama Sutra Cipher (Mlecchita Vikalpa)', engine: 'kamaSutra',
defaultMsg: 'SECRET LOVERS LANGUAGE',
inputs: [{ type: 'text', id: 'keyword', label: 'Pairing Seed', value: 'KAMASUTRA', placeholder: 'Seed word…' }]
},
'aeneas-tacticus': {
label: 'Aeneas Tacticus Water-Clock Code', engine: 'aeneasTacticus',
defaultMsg: 'SHIPS APPROACH AT NIGHT',
inputs: []
},
'arabic-nomenclators': {
label: 'Arabic Nomenclator (al-Kindi era)', engine: 'nomenclator',
defaultMsg: 'THE CALIPH RIDES AT DAWN',
inputs: []
},
'jn-25': {
label: 'JN-25 (illustrative superenciphered codebook)', engine: 'jn25',
defaultMsg: 'AF SHORT OF WATER',
inputs: [{ type: 'text', id: 'keyword', label: 'Additive Key Digits', value: '31415', placeholder: 'Digits only…' }]
},
'red-type-a': {
label: 'Red (Type A) stepping-switch model', engine: 'redTypeA',
defaultMsg: 'DIPLOMATIC TRAFFIC TOKYO',
inputs: [{ type: 'text', id: 'keyword', label: 'Switch Seed', value: 'TOKYORED', placeholder: 'Seed word…' }]
},
'affine': {
label: 'Affine Cipher (E(x) = a·x + b mod 26)', engine: 'affine',
defaultMsg: 'AFFINE CIPHER',
inputs: [{ type: 'text', id: 'keyword', label: 'Key (a,b) — a coprime to 26', value: '5,8', placeholder: '5,8' }]
},
'trithemius': {
label: 'Trithemius Progressive Cipher (1518)', engine: 'trithemius',
defaultMsg: 'STEGANOGRAPHIA',
inputs: [{ type: 'number', id: 'shift', label: 'Starting Shift', value: '0', placeholder: '0' }]
},
'cardano-autokey': {
label: 'Plaintext Autokey — Modern Comparison Model', engine: 'cardanoAutokey',
defaultMsg: 'MEET ME AT MIDNIGHT',
inputs: [{ type: 'text', id: 'keyword', label: 'Single Seed Letter', value: 'Q', placeholder: 'Q' }]
},
'wheatstone': {
label: 'Equal-Dial Substitution Model — Not Historical Wheatstone', engine: 'wheatstone',
defaultMsg: 'TELEGRAPH SIGNAL',
inputs: [{ type: 'text', id: 'keyword', label: 'Inner-Dial Keyword', value: 'WHEATSTONE', placeholder: 'Keyword…' }]
},
'morse': {
label: 'International Morse Code', engine: 'morse',
defaultMsg: 'SOS',
inputs: []
},
'cardano-grille': {
label: 'Cardano Grille (1550)', engine: 'cardanoGrille',
defaultMsg: 'MEETME',
inputs: [{ type: 'text', id: 'keyword', label: 'Pattern (size:idx,idx,…)', value: '5:0,3,7,12,19,21,24', placeholder: 'e.g. 5:0,3,7,12,19' }]
},
'null-cipher': {
label: 'Null Cipher (Hidden-Letter Concealment)', engine: 'nullCipher',
defaultMsg: 'HELP',
inputs: [{ type: 'text', id: 'keyword', label: 'Position (first | last | N)', value: 'first', placeholder: 'first' }]
},
'fialka': {
label: 'Fialka M-125 (Soviet 10-rotor model)', engine: 'fialka',
note: 'Illustrative seeded 26-letter rotor model only. It does not reproduce the M-125 30-contact alphabet, real rotor wiring, stepping, or key-card settings.',
defaultMsg: 'WARSAW PACT TRAFFIC',
inputs: [{ type: 'text', id: 'keyword', label: 'Rotor Seed', value: 'M125', placeholder: 'Seed word…' }]
},
'kl-7': {
label: 'KL-7 (US 1952 8-rotor model)', engine: 'kl7',
note: 'Illustrative seeded 26-letter rotor model only. It does not reproduce ADONIS rotor wiring, notch rings, stepping, or re-entry wiring.',
defaultMsg: 'NATO READY MESSAGE',
inputs: [{ type: 'text', id: 'keyword', label: 'Rotor Seed', value: 'TSEC', placeholder: 'Seed word…' }]
},
'geheimschreiber': {
label: 'Geheimschreiber T52 (Sturgeon family)', engine: 'geheimschreiber',
defaultMsg: 'OBERKOMMANDO WEHRMACHT',
inputs: [{ type: 'text', id: 'keyword', label: 'Wheel Seed', value: 'STURGEON', placeholder: 'Seed word…' }]
},
'kryha': {
label: 'Kryha Pocket Cipher (1924)', engine: 'kryha',
defaultMsg: 'UNBREAKABLE CIPHER',
inputs: [{ type: 'text', id: 'keyword', label: 'Wheel Seed', value: 'POCKET', placeholder: 'Seed word…' }]
},
'm-94': {
label: 'M-94 / M-138-A Strip Cipher (1922)', engine: 'm94',
defaultMsg: 'ARMY SIGNAL READY',
inputs: [{ type: 'text', id: 'keyword', label: 'Offset Row[, disk-order]', value: '5', placeholder: '5 or 5,1,2,3,…' }]
},
'chinese-telegraph': {
label: 'Chinese Telegraph Code (1881, 4-digit codebook)', engine: 'chineseTelegraph',
defaultMsg: 'SHANGHAI',
inputs: [{ type: 'text', id: 'keyword', label: 'Additive Key (numeric, 0–9999)', value: '0', placeholder: 'e.g. 1234' }]
},
'zimmermann': {
label: 'Codebook and Additive Teaching Model', engine: 'zimmermann',
note: 'An invented word table with optional additive arithmetic. This does not reconstruct diplomatic codes 0075 or 13040, which were used on successive transmission legs.',
defaultMsg: 'WAR WITH MEXICO STOP',
inputs: [{ type: 'text', id: 'keyword', label: 'Teaching-model additive (0–99999)', value: '0', placeholder: 'e.g. 12345' }]
},
'slidex': {
label: 'Slidex (British WWII tactical bigram card)', engine: 'slidex',
defaultMsg: 'TANK MOVE NORTH',
inputs: [{ type: 'text', id: 'keyword', label: 'Card Seed', value: 'SLIDEX', placeholder: 'Seed word…' }]
},
'commercial-codebooks': {
label: 'Commercial Telegraph Codebooks (ABC / Bentley\'s style)', engine: 'commercialCode',
defaultMsg: 'CONFIRMED SHIPMENT URGENT',
inputs: [{ type: 'text', id: 'keyword', label: 'Codebook (informational only)', value: 'ABC', placeholder: 'ABC, Bentley, Lieber…' }]
},
'culper-ring': {
label: 'Culper Ring / Tallmadge Code (1779)', engine: 'culperRing',
defaultMsg: 'WASHINGTON ATTACK MIDNIGHT',
inputs: [{ type: 'text', id: 'keyword', label: 'Codebook key (informational)', value: 'TALLMADGE', placeholder: 'TALLMADGE' }]
},
'arnold-andre': {
label: 'Arnold–André Book Cipher (Blackstone\'s Commentaries)', engine: 'arnoldAndre',
defaultMsg: 'GENERAL ARNOLD MEET ANDRE TONIGHT',
inputs: [{ type: 'text', id: 'keyword', label: 'Book seed (informational)', value: 'BLACKSTONE', placeholder: 'BLACKSTONE' }]
},
'argenti': {
label: 'Argenti Family Cipher (Vatican, 1500s–1600s)', engine: 'argenti',
defaultMsg: 'ATTACK AT DAWN',
inputs: [{ type: 'text', id: 'keyword', label: 'Homophone Key', value: 'ARGENTI', placeholder: 'ARGENTI' }]
},
'wallis-ciphers': {
label: 'Wallis Ciphers (English Civil War, 1640s)', engine: 'wallisCiphers',
defaultMsg: 'KING CHARLES MARCH OXFORD',
inputs: [{ type: 'text', id: 'keyword', label: 'Nomenclator Key', value: 'WALLIS', placeholder: 'WALLIS' }]
},
'raf-otp': {
label: 'Letter-Pad Teaching Model — Not an Authenticated RAF System', engine: 'otp',
defaultMsg: 'OPERATION READY', inputs: [
{ type: 'text', id: 'keyword', label: 'Pad (leave blank for random)', value: '', placeholder: 'OTP key material…' }
]
},
'che-vic': {
label: 'VIC Comparison Model — Not Guevara’s Pad System', engine: 'vic',
defaultMsg: 'COMRADES MOVE NORTH',
inputs: [{ type: 'text', id: 'keyword', label: 'Personal Key', value: 'GUEVARA', placeholder: 'Personal phrase' }]
},
'ira-ciphers': {
label: 'IRA Cipher Traffic (Twomey papers, 1926\u20131928)', engine: 'columnar',
defaultMsg: 'SEND ADDRESS TO SMITH',
inputs: [{ type: 'text', id: 'keyword', label: 'Transposition Keyword', value: 'IRELAND', placeholder: 'Keyword\u2026' }]
},
'latin-american-codebooks': {
label: 'Invented Commercial Codebook Illustration', engine: 'commercialCode',
defaultMsg: 'CARGO ARRIVED BUENOSAIRES',
inputs: [{ type: 'text', id: 'keyword', label: 'Codebook (informational only)', value: 'COMERCIAL', placeholder: 'Invented vocabulary' }]
},
'diana-cryptosystem': {
label: 'Diana Cryptosystem (US Special Forces OTP, 1960s–)', engine: 'diana',
defaultMsg: 'EXTRACT NOW',
inputs: [{ type: 'text', id: 'keyword', label: 'Pad Trigraphs', value: 'XKCDQNJVMZAPLR', placeholder: 'Random pad text\u2026' }]
},
'patterson-jefferson-cipher': {
label: 'Patterson\u2019s Cipher for Jefferson (1801) \u2014 sections of \u22649 lines',
engine: 'patterson',
defaultMsg: 'IN CONGRESS JULY FOURTH',
inputs: [{ type: 'text', id: 'keyword', label: 'Key \u2014 pairs of (line number, arbitrary letters)', value: '13,34,57,65,22,78,49', placeholder: '13,34,57,65,22,78,49' }]
},
'wadsworth': {
label: 'Wadsworth Cipher Device (1817) \u2014 26:33 geared disks', engine: 'wadsworth',
defaultMsg: 'ATTACK',
inputs: [{ type: 'text', id: 'keyword', label: 'Inner-Disk Keyword', value: 'WADSWORTH', placeholder: 'Keyword\u2026' }]
},
'amharic-ge-ez-ciphers': {
label: 'Illustrative Latin Substitution — Historical Attribution Unverified', engine: 'geezMonastic',
defaultMsg: 'PRESERVE THE TEXT',
inputs: [{ type: 'text', id: 'keyword', label: 'Latin Alphabet Seed', value: 'GEEZ', placeholder: 'Key word\u2026' }]
},
'vietnamese-underground': {
label: 'Illustrative Substitution — No Specific Operational Attribution', engine: 'monoalphabetic',
defaultMsg: 'ADVANCE TO POSITIONS',
inputs: [{ type: 'text', id: 'keyword', label: 'Teaching Keyword', value: 'GIAIPHONG', placeholder: 'Key word\u2026' }]
}
};
function buildDemo(container) {
const cipherName = container.dataset.cipher;
const config = CONFIGS[cipherName];
if (!config || !window.CipherEngines) return;
const engine = window.CipherEngines[config.engine];
if (!engine) return;
let mode = 'enc';
const inputId = 'demo-msg-' + cipherName;
const keyId = 'demo-key-' + cipherName;
let inputsHTML = '';
for (const inp of config.inputs) {
if (inp.type === 'range') {
inputsHTML += `
<div class="input-group">
<label class="input-label" for="${keyId}">${inp.label} — <span id="demo-range-val-${cipherName}">${inp.value}</span></label>
<div class="range-row">
<input type="range" class="museum-range" id="${keyId}" min="${inp.min}" max="${inp.max}" value="${inp.value}"
aria-label="${inp.label}">
<span class="range-val" id="demo-range-display-${cipherName}">${inp.value}</span>
</div>
</div>`;
} else if (inp.type === 'textarea') {
inputsHTML += `
<div class="input-group">
<label class="input-label" for="${keyId}">${inp.label}</label>
<textarea class="museum-input" id="${keyId}" rows="2" placeholder="${inp.placeholder || ''}"
aria-label="${inp.label}">${inp.value}</textarea>
</div>`;
} else {
inputsHTML += `
<div class="input-group">
<label class="input-label" for="${keyId}">${inp.label}</label>
<input class="museum-input" id="${keyId}" type="text" value="${inp.value}" placeholder="${inp.placeholder || ''}"
aria-label="${inp.label}">
</div>`;
}
}
const modeToggle = config.encryptOnly ? `
<div class="mode-toggle" role="group" aria-label="Cipher mode">
<button class="mode-btn active" data-mode="enc" aria-pressed="true">Encrypt</button>
</div>` : `
<div class="mode-toggle" role="group" aria-label="Cipher mode">
<button class="mode-btn active" data-mode="enc" aria-pressed="true">Encrypt</button>
<button class="mode-btn" data-mode="dec" aria-pressed="false">Decrypt</button>
</div>`;
container.innerHTML = `
<div class="demo-panel">
<div class="demo-head">
<span>🔐</span>
<span class="demo-title">Try It Yourself</span>
</div>
<div class="demo-body">
${config.note ? `<p class="demo-model-note" style="grid-column:1/-1;margin:0;padding:.75rem 1rem;border:1px solid var(--gold-b);border-radius:var(--rs);color:var(--tx2);font-size:.9rem;line-height:1.55;"><strong>Model scope:</strong> ${config.note}</p>` : ''}
<div class="demo-col">
${modeToggle}
<div class="input-group">
<label class="input-label" for="${inputId}">Message</label>
<textarea class="museum-input" id="${inputId}" rows="3" placeholder="Type a message…"
aria-label="Message input">${config.defaultMsg}</textarea>
</div>
${inputsHTML}
</div>
<div class="demo-col">
<div class="btn-group">
<button class="btn btn-primary" id="demo-run-${cipherName}">Run Cipher</button>
<button class="btn btn-secondary" id="demo-clear-${cipherName}">Clear</button>
</div>
<p class="demo-key-warning" role="status" hidden></p>
<div class="input-group">
<span class="input-label" id="demo-output-label-${cipherName}">Output</span>
<div class="output-box" id="demo-output-${cipherName}" aria-live="polite" aria-labelledby="demo-output-label-${cipherName}" role="status">
<span class="output-empty">Result appears here…</span>
</div>
</div>
</div>
</div>
</div>`;
// Wire events
const modeButtons = container.querySelectorAll('.mode-btn');
modeButtons.forEach(btn => {
btn.addEventListener('click', () => {
modeButtons.forEach(b => { b.classList.remove('active'); b.setAttribute('aria-pressed', 'false'); });
btn.classList.add('active');
btn.setAttribute('aria-pressed', 'true');
mode = btn.dataset.mode;
});
});
const rangeInput = container.querySelector('.museum-range');
if (rangeInput) {
const valSpan = document.getElementById('demo-range-val-' + cipherName);
const displaySpan = document.getElementById('demo-range-display-' + cipherName);
rangeInput.addEventListener('input', () => {
if (valSpan) valSpan.textContent = rangeInput.value;
if (displaySpan) displaySpan.textContent = rangeInput.value;
});
}
function getKey() {
const el = document.getElementById(keyId);
return el ? el.value : '';
}
const runBtn = document.getElementById('demo-run-' + cipherName);
const clearBtn = document.getElementById('demo-clear-' + cipherName);
const outputBox = document.getElementById('demo-output-' + cipherName);
const msgInput = document.getElementById(inputId);
const keyWarning = container.querySelector('.demo-key-warning');
runBtn.addEventListener('click', () => {
const msg = msgInput.value;
const key = getKey();
keyWarning.hidden = true;
keyWarning.textContent = '';
if (config.engine === 'runningKey') {
const keyLength = String(key).toUpperCase().replace(/[^A-Z]/g, '').length;
const messageLength = msg.toUpperCase().replace(/[^A-Z]/g, '').length;
if (!keyLength || keyLength < messageLength) {
keyWarning.textContent = !keyLength
? 'No alphabetic key supplied: the engine uses its built-in teaching excerpt and repeats it if needed. Supply a book passage at least as long as your message for a non-repeating running key.'
: 'This key has ' + keyLength + ' letters for ' + messageLength + ' message letters, so the teaching engine repeats it. This run is periodic, unlike a full-length non-repeating running key.';
keyWarning.hidden = false;
}
}
try {
const result = mode === 'enc' ? engine.encode(msg, key) : engine.decode(msg, key);
outputBox.innerHTML = '';
outputBox.textContent = result;
} catch (e) {
outputBox.textContent = 'Error: ' + e.message;
}
});
clearBtn.addEventListener('click', () => {
msgInput.value = '';
keyWarning.hidden = true;
keyWarning.textContent = '';
outputBox.innerHTML = '<span class="output-empty">Result appears here…</span>';
});
// Embed affordance — teachers can drop any demo into their own page.
// Hidden on the embed page itself and when already inside an iframe.
const isEmbedPage = /embed\.html$/.test(location.pathname);
let framed = false;
try { framed = window.self !== window.top; } catch { framed = true; }
if (!isEmbedPage && !framed) {
const snippet = '<iframe src="https://ciphermuseum.com/embed.html?cipher=' + cipherName +
'" width="100%" height="520" style="border:1px solid #2e2e3a;border-radius:8px" ' +
'title="' + config.label + ' interactive demo — The Cipher Museum" loading="lazy"></iframe>';
const embed = document.createElement('details');
embed.className = 'demo-embed';
embed.style.cssText = 'margin-top:.5rem;font-family:var(--fm);font-size:.72rem;color:var(--tx3);';
const summary = document.createElement('summary');
summary.textContent = '‹/› Embed this demo on your own page';
summary.style.cssText = 'cursor:pointer;letter-spacing:.06em;';
const row = document.createElement('div');
row.style.cssText = 'display:flex;gap:.5rem;margin-top:.5rem;flex-wrap:wrap;';
const field = document.createElement('input');
field.type = 'text';
field.readOnly = true;
field.value = snippet;
field.setAttribute('aria-label', 'Embed code for this demo');
field.className = 'museum-input';
field.style.cssText = 'flex:1;min-width:220px;font-size:.7rem;';
field.addEventListener('focus', () => field.select());
const copy = document.createElement('button');
copy.type = 'button';
copy.className = 'btn btn-secondary';
copy.textContent = 'Copy';
copy.addEventListener('click', () => {
const done = () => {
copy.textContent = 'Copied!';
setTimeout(() => { copy.textContent = 'Copy'; }, 2000);
};
if (navigator.clipboard && navigator.clipboard.writeText) {
navigator.clipboard.writeText(snippet).then(done, () => field.select());
} else { field.select(); try { document.execCommand('copy'); done(); } catch {} }
});
row.appendChild(field);
row.appendChild(copy);
embed.appendChild(summary);
embed.appendChild(row);
container.appendChild(embed);
}
// Auto-run on load for instant feedback
runBtn.click();
}
/* ─── Sources & Further Reading ─── */
const SOURCES = {
caesar: [
{ text: "Suetonius, <em>The Twelve Caesars</em>, \"Divus Iulius\" §56 — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Caesar_cipher" },
{ text: "Simon Singh, <em>The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography</em> (1999; Anchor paperback, 2000), ch. 1", url: "https://simonsingh.net/books/the-code-book/" },
{ text: "Practical Cryptography — Caesar Cipher", url: "https://practicalcryptography.com/ciphers/caesar-cipher/" }
],
polybius: [
{ text: "Polybius, <em>Histories</em>, Book X §45 — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Polybius_square" },
{ text: "Practical Cryptography — Polybius Square", url: "https://practicalcryptography.com/ciphers/polybius-cipher/" }
],
scytale: [
{ text: "Plutarch, <em>Life of Lysander</em> §19 — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Scytale" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
monoalphabetic: [
{ text: "Al-Kindi, <em>A Manuscript on Deciphering Cryptographic Messages</em> (~850 AD) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Al-Kindi" },
{ text: "Simon Singh, <em>The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography</em> (1999; Anchor paperback, 2000), ch. 1", url: "https://simonsingh.net/books/the-code-book/" },
{ text: "Practical Cryptography — Simple Substitution", url: "https://practicalcryptography.com/ciphers/simple-substitution-cipher/" }
],
homophonic: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Practical Cryptography — Homophonic Substitution", url: "https://practicalcryptography.com/ciphers/homophonic-substitution-cipher/" }
],
babington: [
{ text: "Pollen, John Hungerford. <em>Mary Queen of Scots and the Babington Plot</em> (Scottish History Society, 1922)" },
{ text: "Simon Singh, <em>The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography</em> (1999; Anchor paperback, 2000), ch. 1 — \"The Cipher of Mary Queen of Scots\"", url: "https://simonsingh.net/books/the-code-book/" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "British Library — Digitised manuscripts and archives (collection portal)", url: "https://www.bl.uk/collection/digitised-manuscripts-archives" }
],
voynich: [
{ text: "Mary E. D’Imperio, <em>The Voynich Manuscript: An Elegant Enigma</em> (1978), §§5.1–5.2 and 6.2–6.6." },
{ text: "Sravana Reddy and Kevin Knight, <em>What We Know About The Voynich Manuscript</em> (2011), §§4.1–4.2 and Table 2.", url: "https://aclanthology.org/W11-1511/" },
{ text: "René Zandbergen, <em>Transliteration of the Text</em>, including the Landini–Zandbergen EVA design.", url: "https://www.voynich.nu/transcr.html" },
{ text: "Stephen Bax, <em>A Proposed Partial Decoding of the Voynich Script</em> (2014), abstract and proposed readings.", url: "https://stephenbax.net/?page_id=11" },
{ text: "University of Bristol, <em>Statement re: Voynich research paper</em> (16 May 2019).", url: "https://www.bristol.ac.uk/news/2019/may/voynich-manuscript.html" }
],
playfair: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Practical Cryptography — Playfair Cipher", url: "https://practicalcryptography.com/ciphers/playfair-cipher/" }
],
m209: [
{ text: "War Department, <em>TM 11-380: Converter M-209, M-209-A, M-209-B</em> (17 March 1944)", url: "https://www.nsa.gov/news-features/declassified-documents/friedman-documents/assets/files/publications/FOLDER_075/41709299074861.pdf" }
],
hill: [
{ text: "Hill, Lester S., \"Cryptography in an Algebraic Alphabet,\" <em>American Math Monthly</em> 36 (1929) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Hill_cipher" },
{ text: "Practical Cryptography — Hill Cipher", url: "https://practicalcryptography.com/ciphers/hill-cipher/" }
],
vigenere: [
{ text: "Vigenère, Blaise de. <em>Traicté des chiffres</em> (1586) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Vigen%C3%A8re_cipher" },
{ text: "Kasiski, Friedrich. <em>Die Geheimschriften und die Dechiffrirkunst</em> (1863) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Kasiski_examination" },
{ text: "Simon Singh, <em>The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography</em> (1999; Anchor paperback, 2000), ch. 2", url: "https://simonsingh.net/books/the-code-book/" }
],
beaufort: [
{ text: "Beaufort, Sir Francis. <em>Cipher system</em> (1857) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Beaufort_cipher" },
{ text: "Practical Cryptography — Beaufort Cipher", url: "https://practicalcryptography.com/ciphers/beaufort-cipher/" }
],
gronsfeld: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
porta: [
{ text: "Satoshi Tomokiyo, Cryptiana — Porta’s <em>De furtivis literarum notis</em> (1563): illustrated analysis", url: "https://cryptiana.web.fc2.com/code/porta.htm" }
],
runningKey: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Practical Cryptography — Running Key Cipher", url: "https://practicalcryptography.com/ciphers/running-key-cipher/" }
],
railFence: [
{ text: "Practical Cryptography — Rail Fence Cipher", url: "https://practicalcryptography.com/ciphers/rail-fence-cipher/" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
columnar: [
{ text: "Practical Cryptography — Columnar Transposition", url: "https://practicalcryptography.com/ciphers/columnar-transposition-cipher/" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
doubleTransposition: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
bacon: [
{ text: "Bacon, Francis. <em>De Augmentis Scientiarum</em> (1623) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Bacon%27s_cipher" },
{ text: "Simon Singh, <em>The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography</em> (1999; Anchor paperback, 2000), ch. 1", url: "https://simonsingh.net/books/the-code-book/" }
],
tapCode: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Jim and Sybil Stockdale, <em>In Love and War: The Story of a Family’s Ordeal and Sacrifice During the Vietnam Years</em> (1984) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Tap_code" }
],
pigpen: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
bifid: [
{ text: "Delastelle, Félix. <em>Traité élémentaire de cryptographie</em> (1902) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Bifid_cipher" },
{ text: "Practical Cryptography — Bifid Cipher", url: "https://practicalcryptography.com/ciphers/bifid-cipher/" }
],
trifid: [
{ text: "Delastelle, Félix. <em>Traité élémentaire de cryptographie</em> (1902) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Trifid_cipher" }
],
adfgx: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
adfgvx: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Practical Cryptography — ADFGVX Cipher", url: "https://practicalcryptography.com/ciphers/adfgvx-cipher/" }
],
nihilist: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Practical Cryptography — Nihilist Cipher", url: "https://practicalcryptography.com/ciphers/nihilist-cipher/" }
],
otp: [
{ text: "Shannon, Claude. \"Communication Theory of Secrecy Systems\" (1949) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/One-time_pad" },
{ text: "Vernam, Gilbert. US Patent 1,310,719 (1919) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Gilbert_Vernam" }
],
fractionatedMorse: [
{ text: "Practical Cryptography — Fractionated Morse", url: "https://practicalcryptography.com/ciphers/fractionated-morse-cipher/" }
],
confederateVigenere: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
bazeries: [
{ text: "Bazeries, Étienne. <em>Les Chiffres et les Lettres</em> (1901) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Bazeries_cylinder" }
],
alberti: [
{ text: "Alberti, Leon Battista. <em>De Componendis Cifris</em> (1467) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Alberti_cipher" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
jefferson: [
{ text: "Jefferson, Thomas. Papers, 1795 — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Jefferson_disk" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
enigma: [
{ text: "Andrew Hodges, <em>Alan Turing: The Enigma</em> (1983; centenary edition, 2014)", url: "https://www.turing.org.uk/book/" },
{ text: "Simon Singh, <em>The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography</em> (1999; Anchor paperback, 2000), ch. 4–6", url: "https://simonsingh.net/books/the-code-book/" },
{ text: "David Kahn, <em>Seizing the Enigma: The Race to Break the German U-Boat Codes, 1939–1945</em> (revised edition, 2012)", url: "https://www.usni.org/press/books/seizing-enigma" }
],
lorenz: [
{ text: "B. Jack Copeland (ed.), <em>Colossus: The Secrets of Bletchley Park’s Codebreaking Computers</em> (2006) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Lorenz_cipher" },
{ text: "Simon Singh, <em>The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography</em> (1999; Anchor paperback, 2000), ch. 6", url: "https://simonsingh.net/books/the-code-book/" }
],
dictionaryCode: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
stager: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
vic: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
vernam: [
{ text: "Vernam, Gilbert. US Patent 1,310,719 (1919) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Gilbert_Vernam" },
{ text: "Shannon, Claude. \"Communication Theory of Secrecy Systems\" (1949) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/One-time_pad" }
],
"navajo-code-talkers": [
{ text: "William C. Meadows, <em>The Comanche Code Talkers of World War II</em> (2002) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Code_talker" },
{ text: "National Museum of the American Indian — <em>Native Words, Native Warriors</em>: Code Talking", url: "https://americanindian.si.edu/nk360/code-talkers/code-talking/" }
],
zodiac: [
{ text: "Oranchak, David et al. \"Cracking the Zodiac 340-Character Cipher\" (2020) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Zodiac_Killer#Communications" },
{ text: "Simon Singh, <em>The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography</em> (1999; Anchor paperback, 2000), ch. 8", url: "https://simonsingh.net/books/the-code-book/" }
],
autokey: [
{ text: "Vigenère, Blaise de. <em>Traicté des chiffres</em> (1586) — autokey variant — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Autokey_cipher" },
{ text: "Practical Cryptography — Autokey Cipher", url: "https://practicalcryptography.com/ciphers/autokey-cipher/" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
nomenclator: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Simon Singh, <em>The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography</em> (1999; Anchor paperback, 2000), ch. 1", url: "https://simonsingh.net/books/the-code-book/" }
],
bookCipher: [
{ text: "Ward, James B. <em>The Beale Papers</em> (1885) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Beale_ciphers" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
sigaba: [
{ text: "Stamp & Chan, \"SIGABA: Cryptanalysis of the Full Keyspace\" (2007) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/SIGABA" },
{ text: "NSA Center for Cryptologic History — SIGABA", url: "https://www.nsa.gov/History/Cryptologic-History/" }
],
typex: [
{ text: "Erskine, Ralph. \"The Development of Typex\" (Cryptologia, 1997) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Typex" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." }
],
jn25: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Elliot Carlson, <em>Joe Rochefort's War: The Odyssey of the Codebreaker Who Outwitted Yamamoto at Midway</em> (2011)", url: "https://www.usni.org/press/books/joe-rocheforts-war" },
{ text: "Jonathan Parshall and Anthony Tully, <em>Shattered Sword: The Untold Story of the Battle of Midway</em> (2005) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Battle_of_Midway" }
],
redTypeA: [
{ text: "Rowlett, Frank. <em>The Story of Magic</em> (1998; library catalog record)", url: "https://ci.nii.ac.jp/ncid/BA54201586" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "NSA CCH materials on SIS Japanese machine exploitation", url: "https://www.nsa.gov/History/Cryptologic-History/" }
],
affine: [
{ text: "Lyons, James. \"Affine Cipher\" — Practical Cryptography", url: "https://practicalcryptography.com/ciphers/classical-era/affine/" },
{ text: "Stinson, Douglas. <em>Cryptography: Theory and Practice</em>, ch. 1 (modular arithmetic primer) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Affine_cipher" },
{ text: "Wikipedia — Affine cipher (key-space derivation)", url: "https://en.wikipedia.org/wiki/Affine_cipher" }
],
trithemius: [
{ text: "Trithemius, Johannes. <em>Polygraphia</em> (1518) — first printed cryptography book — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Polygraphia_(book)" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Practical Cryptography — Trithemius cipher", url: "https://practicalcryptography.com/ciphers/classical-era/trithemius/" }
],
cardanoAutokey: [
{ text: "Cardano, Girolamo. <em>De Subtilitate</em> (1550) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Gerolamo_Cardano" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Wikipedia — Autokey cipher (history section)", url: "https://en.wikipedia.org/wiki/Autokey_cipher" }
],
wheatstone: [
{ text: "Wheatstone, Charles. <em>Cryptograph</em> — 1867 Paris Universal Exposition (described in Kahn) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Charles_Wheatstone#Cryptography" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Crypto Museum — Cipher disks and dial machines", url: "https://www.cryptomuseum.com/crypto/" }
],
morse: [
{ text: "ITU-R Recommendation M.1677 — International Morse Code", url: "https://www.itu.int/rec/R-REC-M.1677/" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Wikipedia — Morse code", url: "https://en.wikipedia.org/wiki/Morse_code" }
],
cardanoGrille: [
{ text: "Cardano, Girolamo. <em>De Subtilitate</em> (1550) — original grille proposal — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Cardan_grille" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Wikipedia — Grille (cryptography)", url: "https://en.wikipedia.org/wiki/Grille_(cryptography)" }
],
nullCipher: [
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Wikipedia — Null cipher", url: "https://en.wikipedia.org/wiki/Null_cipher" },
{ text: "Stamatatos, Efstathios. \"A Survey of Modern Authorship Attribution Methods\" (2009) — statistical detection of constrained text — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Stylometry" }
],
fialka: [
{ text: "Crypto Museum — Fialka M-125 deep dive", url: "https://www.cryptomuseum.com/crypto/fialka/" },
{ text: "Wikipedia — Fialka", url: "https://en.wikipedia.org/wiki/Fialka" },
{ text: "Reuvers & Simons, \"Fialka History & Operation\" (Crypto Museum, 2009)", url: "https://www.cryptomuseum.com/crypto/fialka/files/" }
],
kl7: [
{ text: "Crypto Museum — KL-7 (TSEC/KL-7 ADONIS)", url: "https://www.cryptomuseum.com/crypto/usa/kl7/" },
{ text: "NSA Cryptologic History — general history portal", url: "https://www.nsa.gov/History/Cryptologic-History/" },
{ text: "Wikipedia — KL-7", url: "https://en.wikipedia.org/wiki/KL-7" }
],
geheimschreiber: [
{ text: "Crypto Museum — Siemens & Halske T52 Geheimschreiber", url: "https://www.cryptomuseum.com/crypto/siemens/t52/" },
{ text: "Bengt Beckman, <em>Codebreakers: Arne Beurling and the Swedish Crypto Program during World War II</em> (English edition, 2002) — related Wikipedia overview", url: "https://en.wikipedia.org/wiki/Arne_Beurling" },
{ text: "Wikipedia — Siemens and Halske T52 / \"Sturgeon\" / Fish (cryptography)", url: "https://en.wikipedia.org/wiki/Siemens_and_Halske_T52" }
],
kryha: [
{ text: "NSA — William F. Friedman documents (declassified collection portal)", url: "https://www.nsa.gov/Helpful-Links/NSA-FOIA/Declassification-Transparency-Initiatives/Historical-Releases/Friedman-Documents/" },
{ text: "Crypto Museum — Kryha Standard Cipher Machine", url: "https://www.cryptomuseum.com/crypto/kryha/" },
{ text: "Wikipedia — Kryha", url: "https://en.wikipedia.org/wiki/Kryha" }
],
m94: [
{ text: "Crypto Museum — M-94 / CSP-488", url: "https://www.cryptomuseum.com/crypto/usa/m94/" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Wikipedia — M-94 and M-138-A", url: "https://en.wikipedia.org/wiki/M-94" }
],
chineseTelegraph: [
{ text: "Wikipedia — Chinese telegraph code", url: "https://en.wikipedia.org/wiki/Chinese_telegraph_code" },
{ text: "Thomas S. Mullaney, <em>The Chinese Typewriter: A History</em> (2017; paperback, 2018)", url: "https://mitpress.mit.edu/9780262536103/the-chinese-typewriter/" },
{ text: "Columbia University Libraries — Chinese Telegraphic Codebooks and Cryptography (collection overview, 2019)", url: "https://blogs.library.columbia.edu/rbml/2019/10/09/chinese-telegraphic-codebooks-and-cryptography/" }
],
zimmermann: [
{ text: "NSA Center for Cryptologic History — The Zimmermann Telegram", url: "https://www.nsa.gov/Helpful-Links/NSA-FOIA/Declassification-Transparency-Initiatives/Historical-Releases/" },
{ text: "Tuchman, Barbara W. <em>The Zimmermann Telegram</em> (1985 edition; first published 1958)", url: "https://www.penguinrandomhouse.com/books/180859/the-zimmermann-telegram-by-barbara-w-tuchman/" },
{ text: "National Archives — Zimmermann Telegram (decoded text)", url: "https://www.archives.gov/education/lessons/zimmermann" },
{ text: "Thomas Boghardt, <em>The Zimmermann Telegram: Intelligence, Diplomacy, and America’s Entry into World War I</em> (2012)", url: "https://www.usni.org/press/books/zimmermann-telegram" }
],
slidex: [
{ text: "Crypto Museum — Slidex", url: "https://www.cryptomuseum.com/crypto/uk/slidex/" },
{ text: "Wikipedia — Slidex", url: "https://en.wikipedia.org/wiki/Slidex" },
{ text: "GCHQ — History articles and resources", url: "https://www.gchq.gov.uk/section/advice-guidance/all-topics?topics=History" }
],
commercialCode: [
{ text: "Wikipedia — Commercial code (communications), general overview", url: "https://en.wikipedia.org/wiki/Commercial_code_(communications)" },
{ text: "Bentley's Complete Phrase Code (1906)" },
{ text: "ABC Telegraphic Code, 5th edition (1901)" },
{ text: "Tom Standage, <em>The Victorian Internet: The Remarkable Story of the Telegraph and the Nineteenth Century’s On-Line Pioneers</em> (1998), cultural context." }
],
culperRing: [
{ text: "Rose, Alexander. <em>Washington’s Spies: The Story of America’s First Spy Ring</em> (2007 paperback; first published 2006)", url: "https://www.penguinrandomhouse.com/books/157145/washingtons-spies-by-alexander-rose/" },
{ text: "Library of Congress — Tallmadge's codebook (digitised pages)", url: "https://www.loc.gov/collections/george-washington-papers/" },
{ text: "Mount Vernon — “Culper Spy Ring Codes”, full transcription of the code book (PDF). This is the source for the numbers quoted on this page: 711 = “Gen Washington”, 727 = “New York”", url: "https://mtv-main-assets.mountvernon.org/files/resources/culpercodebook.pdf" },
{ text: "Mount Vernon — The Culper Code Book", url: "https://www.mountvernon.org/george-washington/the-revolutionary-war/spying-and-espionage/the-culper-code-book" },
{ text: "Wikipedia — Culper Ring", url: "https://en.wikipedia.org/wiki/Culper_Ring" }
],
arnoldAndre: [
{ text: "Wikipedia — Benedict Arnold and John André correspondence", url: "https://en.wikipedia.org/wiki/Benedict_Arnold" },
{ text: "Bakeless, John. <em>Turncoats, Traitors and Heroes</em> (1998 reprint; first published 1959)", url: "https://www.hachettebookgroup.com/titles/john-bakeless/turncoats-traitors-and-heroes/9780306808432/" },
{ text: "Mount Vernon — André's captured ciphered letter", url: "https://www.mountvernon.org/library/digitalhistory/digital-encyclopedia/article/john-andre/" },
{ text: "Cipher History — Arnold-André book cipher analysis", url: "https://www.tandfonline.com/journals/ucry20" }
],
argenti: [
{ text: "Meister, Aloys. <em>Die Geheimschrift im Dienste der päpstlichen Kurie</em> (1906)" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Vatican Apostolic Archive — Argenti family papers (Trattato in Cifra)", url: "https://www.archivioapostolicovaticano.va/content/aav/en.html" }
],
wallisCiphers: [
{ text: "Wallis, John. Cipher notes — Bodleian Library MSS", url: "https://www.bodleian.ox.ac.uk/" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Smith, David Eugene. <em>John Wallis as a Cryptographer</em> (Bulletin AMS, 1917)", url: "https://www.ams.org/journals/bull/1917-24-02/S0002-9904-1917-02954-X/" },
{ text: "Wikipedia — John Wallis", url: "https://en.wikipedia.org/wiki/John_Wallis" }
],
"raf-otp": [
{ text: "Aust, Stefan. <em>The Baader-Meinhof Complex</em> (2008 English ed.)", url: "https://www.bodleyhead.co.uk/" },
{ text: "Peters, Butz. <em>Tödlicher Irrtum: Die Geschichte der RAF</em> (2007 paperback; first published 2004)", url: "https://www.fischerverlage.de/buch/butz-peters-toedlicher-irrtum-9783596172658" },
{ text: "Bundeskriminalamt — RAF forensic archive (Stammheim materials)", url: "https://www.bka.de/" },
{ text: "Wikipedia — Red Army Faction (Communications & Tradecraft)", url: "https://en.wikipedia.org/wiki/Red_Army_Faction" }
],
"che-vic": [
{ text: "Anderson, Jon Lee. <em>Che Guevara: A Revolutionary Life</em> (1997)", url: "https://www.groveatlantic.com/book/che-guevara/" },
{ text: "CIA FOIA — “Guevara Cryptography” (1967 Bolivian capture, declassified)", url: "https://www.cia.gov/readingroom/" },
{ text: "National Security Archive — Bolivia & Che Guevara documents (Peter Kornbluh)", url: "https://nsarchive.gwu.edu/" },
{ text: "Wikipedia — VIC Cipher", url: "https://en.wikipedia.org/wiki/VIC_cipher" }
],
"ira-ciphers": [
{
"text": "Tom Mahon and James J. Gillogly, <em>Decoding the IRA</em> (2008)."
},
{
"text": "Elonka Dunin and Klaus Schmeh, <em>Codebreaking: A Practical Guide</em> (Robinson, 2020), the Gillogly and Bean IRA transposition case studies."
},
{
"text": "University of Queensland, “UQ data scientist cracks near century old crypto-code” (23 August 2019), documenting Richard Bean’s solution.",
"url": "https://news.uq.edu.au/2019-08-23-uq-data-scientist-cracks-near-century-old-crypto-code"
}
],
"latin-american-codebooks": [
{ text: "<em>Código Comercial Mexicano</em> (Mexican commercial telegraph code)", url: "https://www.bnm.unam.mx/" },
{ text: "<em>ABC Universal Commercial Telegraphic Code</em>, 6th edition (1920)." },
{ text: "Bentley, E.L. <em>Bentley’s Complete Phrase Code</em> (1906)" }
],
"diana-cryptosystem": [
{ text: "US Army FM 34-40-2 — Cryptanalysis (declassified editions)", url: "https://armypubs.army.mil/" },
{ text: "Moore, Tyler. “The Diana Cryptosystem” (IEEE Privacy & Security Magazine, 2002)", url: "https://www.computer.org/csdl/magazine/sp" },
{ text: "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996)." },
{ text: "Wikipedia — Beaufort cipher (mathematical kin)", url: "https://en.wikipedia.org/wiki/Beaufort_cipher" }
],
"patterson-jefferson-cipher": [
{ text: "Smithline, Lawren M. “A Cipher to Thomas Jefferson”, <em>American Scientist</em> 97(2), 2009, 142–149", url: "https://www.americanscientist.org/article/a-cipher-to-thomas-jefferson" },
{ text: "Robert Patterson to Thomas Jefferson, 19 December 1801 — Founders Online", url: "https://founders.archives.gov/documents/Jefferson/01-36-02-0025" },
{ text: "Thomas Jefferson to Robert Patterson, 22 March 1802 — Founders Online", url: "https://founders.archives.gov/documents/Jefferson/01-37-02-0083" },
{ text: "Thomas Jefferson, 12 April 1802, Patterson’s Cipher — Library of Congress", url: "https://www.loc.gov/resource/mtj1.026_0086_0094/?st=gallery" }
],
wadsworth: [
{ text: "Kruh, Louis. “The Mystery of Colonel Decius Wadsworth’s Cipher Device”, <em>Cryptologia</em> 6(3), 1982, 238–247", url: "https://doi.org/10.1080/0161-118291857037" },
{ text: "“Decius Wadsworth Disc Cipher” — William F. Friedman collection, NSA (declassified)", url: "https://archive.org/stream/41788379082740/41788379082740_djvu.txt" },
{ text: "National Cryptologic Foundation — Inventors’ Day & the Wadsworth Cipher", url: "https://archive.cryptologicfoundation.org/community/cryptologic-history/cryptologic-history-calendar.html/event/2026/02/11/1770807600/inventors-day-the-wadsworth-cipher/496980" },
{ text: "Kaeding, Thomas. “Automated ciphertext-only attack on the Wheatstone Cryptograph and related devices”, IACR ePrint 2020/1492", url: "https://eprint.iacr.org/2020/1492" }
],
"dagapeyeff": [
{
"text": "Alexander d’Agapeyeff, <em>Codes and Ciphers</em> (Oxford University Press, 1939). The challenge-page photograph consulted is numbered 158; its edition is not identified by that image."
},
{
"text": "Hyde & Rugg, “The D’Agapeyeff Cipher” — the researchers’ account of their work; a possible error is a hypothesis, not an established defect.",
"url": "https://www.hydeandrugg.com/our-research/codes-ciphers/the-dagapeyeff-cipher/"
}
],
"dorabella": [
{
"text": "David Kahn, <em>The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</em>, revised edition (1996), chapter 21."
},
{
"text": "Bradley Hauer, Colin Choi, Abram Hindle, Scott Smallwood and Grzegorz Kondrak, “Dorabella Cipher as Musical Inspiration” (2025), especially §4.1. Creative musical interpretation, not an authenticated solution.",
"url": "https://arxiv.org/abs/2509.17950"
}
],
"phaistos-disc": [
{
"text": "Michael Everson, “Phaistos Disc: U+101D0–U+101FF” (2011), corpus transcription. The widget counts the 45 sign classes and excludes the marked gap and combining oblique strokes.",
"url": "https://www.evertype.com/standards/csur/phaistos-sample.html"
},
{
"text": "Ireland, “Response to L2/11-126 ‘Phaistos Disc Errata’” (2011), pp. 1–3: writing direction and overlapping impressions.",
"url": "https://www.unicode.org/L2/L2011/11166-phaistos-response.pdf"
},
{
"text": "Heraklion Archaeological Museum, “The Phaistos Disc”: holding institution and catalogue description.",
"url": "https://www.heraklionmuseum.gr/en/exhibit/the-phaistos-disc/"
}
],
"shugborough": [
{
"text": "National Trust Heritage Records, “Shepherd’s Monument, Shugborough Estate”, MNA181338: relief, inscription and architectural dating.",
"url": "https://heritagerecords.nationaltrust.org.uk/HBSMR/MonRecord.aspx?skin=printerfriendly&uid=MNA181338"
}
],
"mccormick": [
{