text-fingerprint
v1.0.8
Published
against copy copywriting
Downloads
10
Maintainers
Readme
text-fingerprint
Install
$ npm install --save text-fingerprint
Usage
const { getEncrypt, getDecrypt } = require('text-fingerprint')
Example
const { getEncrypt, getDecrypt } = require('text-fingerprint')
const secret = 'secret'
const text = 'some test words'
const encryptSecret = getEncrypt(secret) //""
const encryptText = text + encryptSecret //"some test words"
const decryptText = getDecrypt(encryptText) // "some test words secret"