hutton
2.1.0 • Public • Published Hutton Cipher
import Hutton from './hutton.js';
let ciphertext = Hutton.encrypt('Hello World!', 'Open', 'Sesame');
console.log(ciphertext);
let plaintext = Hutton.decrypt('QIJRXCVLTX', 'Open', 'Sesame');
console.log(plaintext);
The WebAssembly implementation can be accessed this way:
import Hutton from './hutton.js';
let ciphertext = Hutton.Wasm.encrypt('Hello World!', 'Open', 'Sesame');
console.log(ciphertext);
let plaintext = Hutton.Wasm.decrypt('QIJRXCVLTX', 'Open', 'Sesame');
console.log(plaintext);
Online Hutton Calculator: Click here
Dependencies (0)
Dev Dependencies (0)
Package Sidebar
Install
Weekly Downloads