1.0.0 • Published 5 years ago
@haydenhigg/substitution v1.0.0
@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
1.0.0
5 years ago