blessing-skin-server/app/Services/Cipher/MD5.php
2017-01-08 10:48:46 +08:00

15 lines
206 B
PHP

<?php
namespace App\Services\Cipher;
class MD5 implements EncryptInterface
{
/**
* Once MD5 hash
*/
public function encrypt($value, $salt = "")
{
return md5($value);
}
}