mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-06-01 08:00:52 +00:00
Merge branch '2.0' into 3.0
This commit is contained in:
commit
566d74b991
|
@ -379,7 +379,9 @@ abstract class Strings
|
|||
public static function increment_str(&$var)
|
||||
{
|
||||
if (function_exists('sodium_increment')) {
|
||||
$var = strrev($var);
|
||||
sodium_increment($var);
|
||||
$var = strrev($var);
|
||||
return $var;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user