所以我尝试用LISP递归地实现一个Caesar密码,并且我已经得到了基本的功能。问题是它返回一个字符列表,而在return语句上调用concatenate 'string只返回相同的字符列表加上一个"“。(defun caesar (s n) '() (code-char(+ n (char-code (
以下代码 "Computes the caesar block cypher for the given text with the k key.return-byte-array (byte (+ k (first byte-string))))返回一个字节数组,在文本处使用k键处理凯撒密码。我想将字节数组转换为字符串,或者直接在字符串上执行密码,但是