YoCrypt algorithm written in JavaScript
YoCrypt is a new way to encode and decode text symetrically. It works with a key and is a variation of the Caesar cipher. If you want to know more about YoCrypt, check out the GitHub.
The files located in this directory implement the YoCrypt algorithm in JavaScript. Note that their usage only works with argv (command-line passed arguments) as described below.
Usage
Encoding
To encode a text using YoCrypt, run the encode.js file located in this directory, and pass the text to encode via argv :
user@computer:~ $ node encode.js "hello my name is john doe"
hello ud zmbm ne vdps pat
Decoding
To decode a text using YoCrypt, run the decode.js file located in this directory, and pass the text to decode via argv :
user@computer:~ $ node decode.js "hello ud zmbm ne vdps pat"
hello my name is john doe
To go further...
If you want to go further through the uses of the algorithm, take a look at the library (on GitHub and on NPMjs) and the documentation. You can also check out the GitHub.
