An open API service indexing awesome lists of open source software.

https://github.com/renjithspace/encrip

Tiny, Secure, Zero Dependency and Secret Key Based Encryption
https://github.com/renjithspace/encrip

Last synced: about 1 month ago
JSON representation

Tiny, Secure, Zero Dependency and Secret Key Based Encryption

Awesome Lists containing this project

README

        

# Encrip
Tiny, Secure, Zero Dependency and Secret Key Based Encryption

### Installation
```sh
npm install encrip
```

### Usage
```js
const Encrip = require('encrip')

const plainText = 'Hello world'
const secretKey = 'mysecretkey'

const cipher = Encrip.encrypt(plainText, secretKey) // ӽԚԡԡԤӕԬԤԧԡԙ
Encrip.decrypt(cipher, secretKey) // Hello world
```

### Try online
You can find an Encrip starter project from [repl.it](https://repl.it/@RenjithV/encrip)