This is a project I worked on while attending Thinkful's Software Engineering Bootcamp. While working on this project, I was able to practice writing complex algorithms and unit tests with Mocha and Chai.
This application allows the user to encode and decode messages using either the polybius square, caesar shift, or substitution cipher. The caesar shift shifts all characters of a given message a specified number of characters to the right, if a positive shift value is given, or the the left, if a negative shift value is given. The polybius square translates characters into a number respresentative of a position in a two dimensional array known as a polybius square. Lastly, the substitution cipher exchanges letters in the English alphabet with a different alphabet provided by the user to create an encoded or decoded message.
Built with:
- Test-driven Development
- Mocha
- Chai
- JavaScript
- Bootstrap 4
- HTML
Example of using the Caesar Shift to encode a message:
Example of using the Caesar Shift to decode a message:
Example of using the Polybius Square to encode a message:
Example of using the Polybius Square to decode a message:
Example of using the Substitution Cipher to encode a message:
Example of using the Substitution Cipher to decode a message: