Methods
Zero internal buffer upon destruction
__destruct()
inherited
abs
abs(integer $integer,integer $size): integer
inheritedstatic
Arguments
$size
integer
(16, 32, 64)
Response
integer
If a variable does not match a given type, throw a TypeError.
declareScalarType(mixed &$mixedVar = null,string $type = 'void',integer $argumentIndex): void
inheritedstatic
Throws |
- \TypeError
- \SodiumException
|
Arguments
Catch hash_update() failures and throw instead of silently proceeding
hash_update( &$hs,string $data): void
inheritedstatic
psalm-suppress
|
PossiblyInvalidArgument |
Throws |
- \SodiumException
|
Arguments
Evaluate whether or not two strings are equal (in constant-time)
hashEquals(string $left,string $right): boolean
inheritedstatic
Throws |
- \SodiumException
- \TypeError
|
Arguments
Response
boolean
Properties
int>
buffer :\array<int,
inherited
final
final :boolean
inherited
int>
h :\array<int,
inherited
leftover
leftover :integer
inherited
r
r :array<mixed,integer>
inherited
Type(s)
array<mixed,integer>
pad
pad :array<mixed,integer>
inherited
Type(s)
array<mixed,integer>