By Robert Franssen in exploratory R ciphers

July 2, 2021

An R Shiny app that I created to understand some basic cipher concepts.

I deployed this application to and began to develop tabs to interactive engage with cipher concepts.

Shift Ciphers (or Caesar ciphers) are a way to encrypt or decrypt text by shifting each character by a set number.

shift cipher

Frequency Plots are a technique to example the frequency of characters in a block of text. Frequency plots are an early method for guessing different types of encryption. They work by assuming the most frequently occurring character is probably an E, T, or an A. After a few good guesses, we can decrypt an entire passeage. The R code used in this frequency plot counts the number of letters in the user-provided text and returns a frequency plot to demonstrate how well this assumption holds.

frequency plots