Cipher Encoder

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Substitution ciphers are one of the simplest forms of encryption, where replacement rules are provided that map each letter of the alphabet onto a different letter.


This tool will generate randomly chosen keys that map the 26 letters of the English alphabet onto themselves. It also generates snippets of sample text from a range of English sources.


Contributed by: Jon McLoone (March 2011)
Open content licensed under CC BY-NC-SA



Ciphers are not "public key" encryption, as the decode key is a simple inversion of the encode key and so must be securely transmitted to the recipient of the message. Ciphers can also be broken by frequency analysis without the need for the key, as long as enough encrypted text is available.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.