sodium_increment
PHP function
Edit on GitHub ✎
(PHP 7 >= 7.2.0, PHP 8)
Increment large number
Description
sodium_increment(string $string): void
Treat the string as a little-endian unsigned integer, then increase it by 1. Constant-time.
Parameters
stringString to increment.
Return Values
Void