Table of Contents
Constants
-
DIGIT_SIZE
= 4
Properties
-
$digits
: mixed
Methods
-
createFromDec()
: mixed
-
createFromDigits()
: mixed
-
createFromHex()
: mixed
-
getHighIndex()
: mixed
-
multiplyMod()
: mixed
-
powMod()
: mixed
-
shiftRight()
: mixed
-
toHex()
: mixed
-
__construct()
: mixed
DIGIT_SIZE
public
mixed
DIGIT_SIZE
= 4
$digits
public
mixed
$digits
createFromDec()
public
static createFromDec([mixed $dec = 0 ]) : mixed
Parameters
-
$dec
: mixed
= 0
-
createFromDigits()
public
static createFromDigits([array<string|int, mixed> $digits = [] ]) : mixed
Parameters
-
$digits
: array<string|int, mixed>
= []
-
createFromHex()
public
static createFromHex(mixed $hex) : mixed
Parameters
-
$hex
: mixed
-
getHighIndex()
public
getHighIndex() : mixed
multiplyMod()
public
multiplyMod(BigInt $input, BigInt $modulus) : mixed
Parameters
-
$input
: BigInt
-
-
$modulus
: BigInt
-
powMod()
public
powMod(BigInt $modulus, BigInt $encryptionExponent) : mixed
Parameters
-
$modulus
: BigInt
-
-
$encryptionExponent
: BigInt
-
shiftRight()
public
shiftRight(mixed $i) : mixed
Parameters
-
$i
: mixed
-
toHex()
public
toHex() : mixed
__construct()
protected
__construct(array<string|int, mixed> $digits) : mixed
Parameters
-
$digits
: array<string|int, mixed>
-