Classic ciphers implemented in JavaScript