Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 582 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 582 Bytes

Caesar cipher

This project is encodes input text by "Caesar cipher" or decodes already encoded text.

Note: supported only latin letters, other symbols not changed.

For run

Run encode node cipher.js arg1 arg2

Run decode node decoder.js arg1 arg2

Where arg1 is required key for cipher algorithm , arg2 is input text

NOTE: 
  'arg1' is required and must be positive intger. 
  'arg2' is not required. You can pass input text as 'arg2' or you can write text in './input.txt' file.

Final result will be written in './output.txt' file.