WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core_SecretStream_State::needsRekey() public WP 1.0

{} It's a method of the class: ParagonIE_Sodium_Core_SecretStream_State{}

No Hooks.

Return

true|false.

Usage

$ParagonIE_Sodium_Core_SecretStream_State = new ParagonIE_Sodium_Core_SecretStream_State();
$ParagonIE_Sodium_Core_SecretStream_State->needsRekey();

Code of ParagonIE_Sodium_Core_SecretStream_State::needsRekey() WP 5.8.2

public function needsRekey()
{
    return ($this->counter & 0xffff) === 0;
}