mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-14 18:59:51 +00:00
Merge branch '3.0'
This commit is contained in:
commit
656a46ae12
@ -616,6 +616,11 @@ abstract class Engine implements \JsonSerializable
|
|||||||
return $this->normalize($temp->powModInner($e, $n));
|
return $this->normalize($temp->powModInner($e, $n));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->compare($n) > 0) {
|
||||||
|
list(, $temp) = $this->divide($n);
|
||||||
|
return $temp->powModInner($e, $n);
|
||||||
|
}
|
||||||
|
|
||||||
return $this->powModInner($e, $n);
|
return $this->powModInner($e, $n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user