# Caesar Cipher

[![Build Statu](](
[![Hex Version](](

This is a package for cipher words using the classic Caesar Cipher algorithm, known as the simplest
cipher algorithm.
The algorithm is only based in changing characters by the salt specified. If you are <b>encrypting</b> the salt is going frontwards and on <b>decrypting</b> backwards.

## Installation

The package can be installed by adding `caesar_cipher` to your list of dependencies in `mix.exs`:

def deps do
    {:caesar_cipher, "~> 0.2.0"}

## Example

Using the <b>encrypt</b> function:

iex> CaesarCipher.encrypt("Hello World!", 2) 
"Jgnnq Yqtnf!"

Using the <b>decrypt</b> function:

iex> CaesarCipher.decrypt("Jgnnq Yqtnf!", 2) 
"Hello World!"