QA coding test - cipher
Assuming you have already installed node, do in your terminal:
# Clone this repository
$ git clone git@github.com:Adslot/node-puzzle.git
# Go to current dir
$ cd node_puzzle/08-cipher
# Install npm dependencies
$ npm install
# Test your solution
$ npm test
- Substitution cipher
Implement a substution cipher encryption function in lib/substitution.coffee
.
You should use the provided placeholder function is provided.
A decryption function and tests are provided to check your implementation.
To test your solution run npm test
in your terminal.
- Offset (Caesar) cipher
Implement an offset (Caesar) cipher decryption function in lib/offset.coffee
.
Again, you should use the provided placeholder function is provided.
An encryption function and tests are provided to check your implementation.
To test your solution run npm test
in your terminal.