1.1.3 • Published 6 years ago

laravel-encryption v1.1.3

Weekly downloads
22
License
MIT
Repository
github
Last release
6 years ago

laravel-encryption

The Illuminate Encryption component from Laravel pure js implementation. The Laravel Encryption is node library that helps you to encode/decode data in compatible with Laravel way.

Basic usage:

const encryption = require('laravel-encryption');

let encrypter = new encryption.Encrypter("your-secret-key-");

// or
let encrypter = new encryption.fromRawKey("base64:eW91ci1zZWNyZXQta2V5LQ==");

// or
let encrypter = new encryption.fromEnv();

let encrypted = encrypter.encrypt({"key": "value"});
let decrypted = encrypter.decrypt(encrypted);

The library tries to be as close to original as possible so you can refer to Laravel docs.

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

0.1.0

6 years ago