내 웹 사이트에 탱크 인증을 사용하고 있습니다.Codeigniter 탱크 인증 확인 사용자가 입력 한 비밀번호
사용자가 올바른 암호를 입력했는지, 프로필을 업데이트하려고 할 때를 확인하는 기능을 검색했습니다.
데이터베이스에서 사용자 입력과 일치하는 암호를 해시하는 방법을 모르겠다.
$password = $this->input->post('password');
$hasher = new PasswordHash(
$this->config->item('phpass_hash_strength', 'tank_auth'),
$this->config->item('phpass_hash_portable', 'tank_auth')
);
$hashed_password = $hasher->HashPassword($password);
$hashed_password
나에게 내가 phpass_hash_portable
어떤 조언을 가능하게해야한다고 생각 해달라고 때마다
을 다른 해시를 제공합니다
여기 내 컨트롤러 코드입니까?