mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
12 lines
222 B
PHP
12 lines
222 B
PHP
<?php
|
|
|
|
namespace App\Services\Cipher;
|
|
|
|
class SALTED2MD5 implements EncryptInterface
|
|
{
|
|
public function encrypt($raw_passwd, $salt = "") {
|
|
$encrypt = md5(md5($raw_passwd).$salt);
|
|
return $encrypt;
|
|
}
|
|
}
|