1.0.8 • Published 7 years ago

text-fingerprint v1.0.8

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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"
1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago