chicorycom/laravel-encrypt

Your System and Security Network Integrator

v0.1.0 2018-08-20 10:22 UTC

This package is not auto-updated.

Last update: 2024-04-12 13:39:23 UTC


README

##chicorycom

Votre Intégrateur Reseau Système et Sécurité.

GitHub issues GitHub forks GitHub stars GitHub license Twitter

Installation

OS X & Linux & window:

composer require chicorycom/laravel-encrypt
  • v0.1.0 requires PHP >= 7.1

Usage example

php artisan vendor:publish --provider="vendor\chicorycom\laravel-encrypt\EcryptServiceProvider" --tag="config"
.env CH_ENCRYPT=YOUR-KEY

$en = new Encryption();
$e = $en->Crypte('Hello Work);
UCRTNgx1B3A=

$en->Decrypte('UCRTNgx1B3A=');
Hello Work

use Facade

Encrypte::Crypte('Hello Work');
WS0EYQB5AXY=

Encrypte::Decrypt('WS0EYQB5AXY=');
Hello Work

Meta

@Assane Sarrchickoryproduction@gmail.com

Distribué sous la licence MIT. Voir LICENCE pour plus d'informations.

https://github.com/chicorycom/encryption.git

laravel-encrypt