// Initialize cipher if not already defined if (client.cipher == null) { client.cipher = "'T EIZOH MIFK RMCR IZY LKOIBKH DIZARYW ETOO HYTAX\n" + "HKKF SYIP RMK DMCOTDK IS DIZYCJK.' - JKAKYCO HIZJOCV\n" + "PCDCYRMZY.\n"; } // Initialize clear if not already defined if (client.clear == null) { client.clear = InitAnswer(client.cipher); client.clear = CipherSubstitute("L", "B", client.cipher, client.clear); } // Translate from/to if specified in request context if((request.from != null) && (request.to != null)) { request.from = request.from.toUpperCase(); request.to = request.to.toUpperCase(); debug(request.from); client.clear = CipherSubstitute(request.from, request.to, client.cipher, client.clear); } // Store mixed result in client context client.mix = CipherMix(client.clear, client.cipher);

Celebrity Cipher

write(client.mix);
Translate each into a