DiscoverRedwolf / QAcipher

QA coding test #2 - cipher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QA cipher

QA coding test - cipher

Setup

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

Tasks

  1. 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.

  1. 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.

About

QA coding test #2 - cipher