random::password_check()

平文のパスワードと random::password_hash() で作成した文字列とを比較する

引数説明
1 平文のパスワード
2 ハッシュ化されたパスワード
一致すればtrueが返ります