(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_pwhash_str_needs_rehash — パスワードを再計算する必要があるかを判定する
現在の opslimit
値と memlimit 値から、
パスワードを再計算する必要があるかを判定します。
passwordパスワードハッシュ
opslimit設定済みの opslimit。 sodium_crypto_pwhash_str() を参照ください。
memlimit設定済みの memlimit。 sodium_crypto_pwhash_str() を参照ください。