@haydenhigg/atbash
Version:
A small library for atbash encryptions.
16 lines (10 loc) • 391 B
Markdown
# @haydenhigg/atbash
A small library for atbash encryption. Ideal behavior taken from [here](http://rumkin.com/tools/cipher/atbash.php).
## Usage
```javascript
const atbash = require("@haydenhigg/atbash");
var encrypted = atbash.convert("the message");
var decrypted = atbash.convert(encrypted);
console.log(encrypted); //=> "GSV NVHHZTV"
console.log(decrypted); //=> "THE MESSAGE"
```