WordPress at a glance
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. Null. Nothing.

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.7

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