RosettaCodeData/Task/Caesar-cipher/PicoLisp/caesar-cipher.l

7 lines
179 B
Plaintext

(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)) ) ) )