numericode-cipher
v1.0.2
Published
Numericode substitution cipher
Downloads
3
Maintainers
Readme
Numericode Cipher
Numericode substitution cipher encoder/decoder
This module does not provide cryptographically secure functionality and shouldn't be used to protect sensitive information. The purpose of this project is to provide an example entrypoint for developing substitution cipher modules for NodeJS.
Installation
$ npm install --save numericode-cipher
Usage
const { decoder, encoder } = require('numericode-cipher');
encoder('FOO BAR');
//=> '6 15 15 0 2 1 18'
decoder('6 15 15 0 2 1 18');
//=> 'FOO BAR'