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 = ; let encrypter = "your-secret-key-"; // orlet encrypter = "base64:eW91ci1zZWNyZXQta2V5LQ=="; // orlet encrypter = ; let encrypted = encrypter;let decrypted = encrypter;
The library tries to be as close to original as possible so you can refer to Laravel docs.