destiny/hasher

1.1 2017-03-18 09:00 UTC

This package is not auto-updated.

Last update: 2024-10-26 21:03:54 UTC


README

Build Status Scrutinizer Code Quality Build Status

This is test Demo

composer require destiny/hasher

添加进 app/config.php 的 providers :

\Destiny\Hasher\MD5HasherProvider::class,

使用方法

$md5 = app('md5hash');
$md5->make($value, ['salt' => 'string']);
$md5->check($value, $hashValue, ['salt' => 'string']);