Caesar cipher
A Caesar cipher is a substitution cipher that shifts each alphabetic letter by a fixed number of positions with wrap-around.
Julia as a Second Language
A Caesar cipher is a substitution cipher that shifts each alphabetic letter by a fixed number of positions with wrap-around.
- How it is used
- Uses the Caesar cipher to compare interchangeable cipher designs in a password-keeper demonstration.
- How deep it goes
- Develops character-level shift and wrap-around logic into message-level functions, an object interface, and partially applied functions.
- Examples
- Demonstrates a pangram round trip, a HELLO pipeline, and password-vault storage and retrieval.
- What you can do after
- Builds a Caesar cipher from scratch in Julia and applies it to encrypt and decrypt messages.
Read how Julia as a Second Language explains Caesar cipher →
Learn Haskell by Example
A Caesar cipher is a substitution cipher that replaces each letter with another letter a fixed distance away in an ordered alphabet.
- How it is used
- Teaches functional programming through a practical string-transformation and encryption exercise.
- How deep it goes
- Works from alphabet rotation through character helpers, recursion, map, symmetry, and frequency analysis, while stopping short of secure cryptography.
- Examples
- Uses substitution wheels, ROT13 messages, digit rotations, GHCi evaluations, and frequency-analysis exercises.
- What you can do after
- Build a Caesar cipher in Haskell, test reversible rotations, and investigate weak encryption with frequency counts.
What to know first
- functional programmingFunctional programming is a programming paradigm that expresses computation through the evaluation and composition of functions, typically favoring immutable data and minimizing mutable state and side effects.
Related concepts
- rot13includes · ROT13 is a substitution cipher that rotates each letter of the Latin alphabet thirteen positions, making encryption and decryption identical.
- alphabetuses · An alphabet is a finite set of symbols used to form strings or other sequences.
- cipherkind of · A cipher is a cryptographic algorithm that transforms plaintext into ciphertext and typically provides a corresponding transformation for recovering the original plaintext.
- mapused by · Map is an operation that applies a function to values in a collection or computational context and returns the results while preserving the structure or context.
- cryptographic keyconfigured by · A cryptographic key is a value supplied to a cryptographic algorithm to control operations such as encryption, decryption, signing, authentication, or verification.
Questions about Caesar cipher
What is Caesar cipher?
A Caesar cipher is a substitution cipher that shifts each alphabetic letter by a fixed number of positions with wrap-around.
Which Manning books explain Caesar cipher?
Julia as a Second Language and Learn Haskell by Example.
What should I know before learning Caesar cipher?
Manning books that teach Caesar cipher usually introduce functional programming first.
What kinds of Caesar cipher are there?
Kinds of Caesar cipher include rot13.
What is Caesar cipher a kind of?
Caesar cipher is a kind of cipher. A cipher is a cryptographic algorithm that transforms plaintext into ciphertext and typically provides a corresponding transformation for recovering the original plaintext.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

