npm.io
1.0.2 • Published 10 years ago

codenewbie-rot13

Licence
ISC
Version
1.0.2
Deps
1
Vulns
0
Weekly
0

CodeNewbie ROT13 Code-Breaker

A simple ROT13 encrypt/decrypt module used for the CodeNewbie Code-Breaker Code Challenge.

Usage

Install with npm install codenewbie-rot13 --save.

Just require and start encrypting/decrypting!

var rot13 = require("codenewbie-rot13");

console.log(rot13("This is a secret message!")); // --> Guvf vf n frperg zrffntr!

console.log(rot13("Guvf vf n frperg zrffntr!")); // --> This is a secret message!

NOTE: Please do not use this for any serious encrypting/decrypting purposes. ROT13 is considered to be weak ecryption. This module is just for fun!

Keywords