mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
15 lines
244 B
PHP
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;
|
|
}
|
|
}
|