RosettaCodeData/Task/Caesar-cipher/PicoLisp/caesar-cipher.l
2023-07-01 13:44:08 -04:00

6 lines
179 B
Text

(setq *Letters (apply circ (mapcar char (range 65 90))))
(de caesar (Str Key)
(pack
(mapcar '((C) (cadr (nth (member C *Letters) Key)))
(chop (uppc Str)) ) ) )