1.0.3 • Published 3 years ago

regulus-crypt v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago