liveBook · Manning

Caesar cipher

A Caesar cipher is a substitution cipher that shifts each alphabetic letter by a fixed number of positions with wrap-around.

How 2 Manning books explain it

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.

Read how Learn Haskell by Example explains Caesar cipher →

What to know first

Related concepts

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.