security-encryption

1.0.0 • Public • Published

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

  1. 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

Licence

MIT

Package Sidebar

Install

npm i security-encryption

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.79 kB

Total Files

6

Last publish

Collaborators

  • truong-cong-hieu