密码类(PasswordHash)的使用方法: ``` //生成密码 $hasher=new PasswordHash(8,true); $password=$hasher->HashPassword($password); //检查密码 $hasher->CheckPassword($password, $stored_hash); ```