blessing-skin-server/app/Services/Cipher/MD5.php
2016-07-21 22:01:57 +08:00

15 lines
244 B
PHP

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