标签: php codeigniter encryption sha1
Hello Everyone我在注册表单上保存密码时遇到此错误“遇到PHP错误,严重性:错误|消息:调用未定义的方法CI_Encrypt :: sha1()|文件名:controllers / User.php |行号:54 | Backtrace:“
这是我的代码:
$userdata['password'] = $this->encrypt->sha1($this->input->post('password'));