

The Caesar Shift is a type of substitution cipher originally used by Julius Caesar to protect messages of military significance. Note: Your submission will be tested on a total of 29 tests. Write tests for the substitution() function.Write tests for the polybius() function.Each function and cipher is described below.īelow is a checklist of what you need to accomplish.
Polybius square online series#
For each cipher, you should make a series of tests using Mocha & Chai to confirm that your cipher works.Īll of the functions can be found inside of the src/ directory. You are tasked with building functions for an application that will either encode or decode a string using a variety of ciphers.

This project was designed to test the ability to build tricky algorithms in JavaScript as well as write unit tests with Mocha & Chai.
