Substitution cipher: Difference between revisions
→{{header|Quackery}}: bug fix
m (→{{header|Quackery}}: formatting) |
(→{{header|Quackery}}: bug fix) |
||
Line 1,579:
=={{header|Quackery}}==
<lang Quackery> [ stack ]
[ stack ]
[ [] 95 times [ i^ join ]
Line 1,588:
witheach
[ i^ unrot poke ]
decryption put ]
[ witheach [char
[ encryption release
decryption release ]
[ [] swap witheach
[ dup char ! char ~ 1+
within if
[
encryption share
swap peek
join ] ]
[ [] swap witheach
[ dup char ! char ~ 1+
within if
[
decryption share
swap peek
join ] ]
randomise
Line 1,624:
{{out}}
<pre>Encryption key is:
Decryption key is: ^]\Wk-[Ix'TUAB3CPSO|/;rG72"hQsc@w,eyD(amEqH~i_&V?0v`p?t4nK!.$z%u9fl>XZ8N6MdJ){1+<=#j:RLb*5YFog}
Plaintext: Encryption matters, and it is not just for spies and philanderers.
Encrypted:
Decrypted: Encryption matters, and it is not just for spies and philanderers.</pre>
=={{header|Racket}}==
|