Project Creation: Part One
In this lesson, we will start with another project based on character-level RNNs. In this project, we are going to build a model that will decipher the ciphered text.
Introduction to the project
Now you understand the working of RNNs, and you have also created a project in the previous chapter. In this chapter, we are going to build a model that will decipher the string encrypted with a certain cipher.
What is a cipher?
A cipher is a cryptographic algorithm used to encrypt and decrypt data. In this project, we are going to use the Caesar cipher. It is a mono-alphabetic cipher, wherein each letter of the plaintext is substituted by another letter to form the ciphertext. It is the simplest form of a substitution cipher scheme. This cryptosystem is generally referred to as the Shift cipher. The concept is to replace each alphabet with another alphabet that is ‘shifted’ by some fixed number between 0 and 25.
For example, if we want to encrypt the string hello
by a shift of 1 towards left, the ciphertext (encrypted data) will be ifmmp
.
Take a small quiz below to check your understanding.
Get hands-on with 1200+ tech skills courses.