regulus-crypt

1.0.3 • Public • Published

Regulus Crypt

Regulus is a new way to encrypt or decrypt text. It is a variation of the Caesar code, but also uses the Nato phonetic alphabet.

Summary

Usage

Encoding

To encode a text, use the encode(text) function, here is an example:

let regulus = require("regulus-crypt")
console.log(regulus.encode("hello world")) 
// Output: Jpekb Hqmh Ojmf Oqwgndft Rbrb Trbef Y-scz Svgcgd Tkftsc Ppxfocgs Feiq

Decoding

To decode a text, use the function decode(text), here is an example:

let regulus = require("regulus-crypt")
console.log(regulus.decode("Jpekb Hqmh Ojmf Oqwgndft Rbrb Trbef Y-scz Svgcgd Tkftsc Ppxfocgs Feiq")) 
// Output: hello world

Readme

Keywords

none

Package Sidebar

Install

npm i regulus-crypt

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

4.62 kB

Total Files

5

Last publish

Collaborators

  • orionsource