Package Exports
- encrypt-decrypt-string
- encrypt-decrypt-string/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (encrypt-decrypt-string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
encrypt-decrypt
secret-maker
Encrypt and decrypt text
Install
npm i encrypt-decrypt-string
Sample
STEP 1
const {encryption_key,decryption_key} = require('encrypt-decrypt-string')
STEP 2 for encryption
const test_result_encrption = encryption_key('mySecretSalt','sachin@gmail.com')
STEP 3 for decryption
const test_result_decrption = decryption_key('mySecretSalt',test_result_encrption)
Result
console.log(test_result_encrption,test_result_decrption)