blob: 21baf4c41f325a631dcba98057d07b926183a81a (
plain)
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
|
\usemodule [enigma]
\usetypescript [iwona]
\setupbodyfont [iwona,20pt]
\defineenigma [secretmessage]
\setupenigma [secretmessage] [
other_chars = yes,
day_key = B V III II 12 03 01 GI JV KZ WM PU QY AD CN ET FL,
rotor_setting = ben,
]
\defineenigma [othersecretmessage] [secretmessage]
\defineenigma [othermessage] [secretmessage]
\setupenigma [othermessage] [other_chars=wrong]
\starttext
\startsecretmessage
føo bąr baž
\stopsecretmessage
\startothersecretmessage
iøtyąwqiž
\stopothersecretmessage
\startothermessage
føo bąr baž
\stopothermessage
\stoptext
|