There are no reviews yet. Be the first to send feedback to the community and the maintainers!
Repository Details
A substitution cipher program in JavaScript. The usual alphabet and cipher alphabet are introduced as strings alphabet and permuted. The user then enters a word, which is immediately converted to all upper case . The program then sequences through the word, taking each character in word, and finding the appropriate substitution in permuted. Each newly found symbol in permuted is appended onto result. Note however that the program, expects that all characters in word are letters.