@haydenhigg/substitution

1.0.0 • Public • Published

@haydenhigg/substitution

A small library for substitution encipherment.

Usage

const substitution = require("@haydenhigg/substitution");

var encrypted = substitution.encrypt("the message", "the key");
var decrypted = substitution.decrypt(encrypted, "the key");

console.log(encrypted); // RCY JYQQTBY
console.log(decrypted); // THE MESSAGE

Package Sidebar

Install

npm i @haydenhigg/substitution

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2.25 kB

Total Files

3

Last publish

Collaborators

  • haydenhigg