blessing-skin-server/libraries/Cipher/MD5.class.php
2016-04-03 17:17:42 +08:00

21 lines
371 B
PHP

<?php
/**
* @Author: printempw
* @Date: 2016-04-03 14:53:42
* @Last Modified by: printempw
* @Last Modified time: 2016-04-03 17:17:06
*/
namespace Cipher;
class MD5 implements EncryptInterface
{
/**
* Once MD5 encrypt
*/
public function encrypt($raw_passwd, $salt = "") {
$encrypt = md5($raw_passwd);
return $encrypt;
}
}