1.0.0 • Published 2 years ago

security-encryption v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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