Data update

This commit is contained in:
Ingy döt Net 2024-07-13 15:19:22 -07:00
parent 29a5eea0d4
commit 5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions

View file

@ -1,10 +1,10 @@
val .rot = fn(.s, .key) {
cp2s map(fn(.c) rotate(rotate(.c, .key, 'a'..'z'), .key, 'A'..'Z'), s2cp .s)
val rot = fn(s, key) {
cp2s map(fn(c) { rotate(rotate(c, key, 'a'..'z'), key, 'A'..'Z') }, s2cp(s))
}
val .s = "A quick brown fox jumped over something."
val .key = 3
val s = "A quick brown fox jumped over something, you know."
val key = 3
writeln " original: ", .s
writeln "encrypted: ", .rot(.s, .key)
writeln "decrypted: ", .rot(.rot(.s, .key), -.key)
writeln " original: ", s
writeln "encrypted: ", rot(s, key)
writeln "decrypted: ", rot(rot(s, key), -key)