mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-29 04:23:34 +00:00
Merge branch '3.0'
This commit is contained in:
commit
0893147281
@ -82,10 +82,10 @@ class PHP32 extends PHP
|
|||||||
}
|
}
|
||||||
$step = count($vals) & 3;
|
$step = count($vals) & 3;
|
||||||
if ($step) {
|
if ($step) {
|
||||||
$digit = floor($digit / 2 ** (2 * $step));
|
$digit = (int) floor($digit / 2 ** (2 * $step));
|
||||||
}
|
}
|
||||||
if ($step != 3) {
|
if ($step != 3) {
|
||||||
$digit &= static::MAX_DIGIT;
|
$digit = (int) fmod($digit, static::BASE_FULL);
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
$vals[] = $digit;
|
$vals[] = $digit;
|
||||||
|
Loading…
Reference in New Issue
Block a user