public function encrypt($raw_passwd, $salt = "") { $encrypt = hash('sha512', $raw_passwd); return $encrypt; }