This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; | |
;; Implementation of John Nash's enciphering-deciphering machine described in | |
;; http://www.nsa.gov/public_info/_files/nash_letters/nash_letters1.pdf | |
;; | |
(use gauche.sequence) | |
(use gauche.generator) | |
(use srfi-43) | |
;; The 'key' of this machine is a configuration of Permuter-Reverser (P/R) |