caesar-cipher-amine
v1.0.26
Published
Implementation of caesar cipher
Downloads
10
Readme
Caesar-Cipher
Implementation of the Caesar-Cipher
1 - Abstract
This code implements Caesar's cipher. The text given in input is replaced by a text in which each letter is replaced by a different one a fixed places down the alphabet. This algorithm uses right shift translation.
Non-alphabetical charachters don't change in the transformed text.
The transformed text is given in lower case.
2 - Example
For "abc def" and a key of 1 the return value will be : bcd efg
3 - Usage
caesar [options] <text>
Options :
-h, --help output usage information
-d, --integer<n> Right shift, must be a number (if it's a float the integer part will be considered )
NB : if the text contains spaces, use "text text"
Installation
npm install caesar-cipher-amine