Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Caesar-cipher/Ursala/caesar-cipher.ursala
Normal file
11
Task/Caesar-cipher/Ursala/caesar-cipher.ursala
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#import std
|
||||
#import nat
|
||||
|
||||
enc "n" = * -:~&@T ^p(rep"n" ~&zyC,~&)~~K30K31X letters # encryption function
|
||||
dec "n" = * -:~&@T ^p(~&,rep"n" ~&zyC)~~K30K31X letters # decryption function
|
||||
|
||||
plaintext = 'the five boxing wizards jump quickly THE FIVE BOXING WIZARDS JUMP QUICKLY'
|
||||
|
||||
#show+ # exhaustive test
|
||||
|
||||
test = ("n". <.enc"n",dec"n"+ enc"n"> plaintext)*= nrange/1 25
|
||||
Loading…
Add table
Add a link
Reference in a new issue