Security Encryption
Security Encryption is a lightweight javascript library without jQuery, no dependencies. It is used to make Security Encryption effect for your data etc. Only 21.7Kb.
Install
- Via NPM:
Install NPM package - https://www.npmjs.com/package/security-encryption:
npm i security-encryption
ES6 example
import securityEncryption from 'security-encryption'
// Input : string, Output: string
// encrypt string
const stringNeedEncrypt = 'example'
const stringEncrypt = securityEncryption.encrypt(stringNeedEncrypt)
// decrypt string
const stringNeedDecrypt = 'dsa01d31w5'
const stringDecrypt = securityEncryption.decrypt(stringNeedDecrypt)
## Development
```bash
$ yarn install
$ yarn dev
Build
$ yarn build
or:
$ npm run build