xwei3752/yii2-laravel-crypt

yii2-laravel-crypt is yii2 library compatiable with laravel

dev-master 2016-12-27 06:55 UTC

This package is not auto-updated.

Last update: 2024-04-22 13:06:27 UTC


README

this is same as laravel(>=5.1) encrypt and decrypt function.

##example:

$cryption = new \Cryption\Encrypter("yourRandomString","AES-256-CBC");
$cryption->encrypt("yourData");