@karlbateman/nero
v1.1.1
Published
Numericode substitution cipher
Downloads
1
Maintainers
Readme
Nero
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 Javascript/NodeJS.
Install
$ npm install @karlbateman/nero
Usage
const { decoder, encoder } = require('@karlbateman/nero');
encoder('FOO BAR');
//=> '6 15 15 0 2 1 18'
decoder('6 15 15 0 2 1 18');
//=> 'FOO BAR'