Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe BigInteger

Fonctions membres publiques

 toBytes ()
 
 add (self $y)
 
 subtract (self $y)
 
 multiply (self $x)
 
 divide (self $x)
 
 modPow (self $e, self $n)
 
 mod (self $d)
 
 modInverse (BigInteger $m)
 
 compare (self $y)
 
 equals (self $y)
 
 gcd (self $y)
 
 lowerThan (self $y)
 
 isEven ()
 
 get ()
 

Fonctions membres publiques statiques

static createFromBinaryString (string $value)
 
static createFromDecimal (int $value)
 
static createFromBigInteger (BrickBigInteger $value)
 
static random (self $y)
 

Fonctions membres privées

 __construct (BrickBigInteger $value)
 

Attributs privés

 $value
 

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( BrickBigInteger  $value)
private

Références BigInteger\$value, et value.

Documentation des fonctions membres

◆ add()

add ( self  $y)

Adds two BigIntegers.

Paramètres
BigInteger$y
Renvoie
BigInteger

Références BigInteger\$value, et value.

◆ compare()

compare ( self  $y)

Compares two numbers.

Paramètres
BigInteger$y

Références value.

◆ createFromBigInteger()

static createFromBigInteger ( BrickBigInteger  $value)
static
Renvoie
BigInteger

Références BigInteger\$value.

◆ createFromBinaryString()

◆ createFromDecimal()

static createFromDecimal ( int  $value)
static
Renvoie
BigInteger

Références BigInteger\$value.

Référencé par PSSRSA\exponentiate(), et RSAKey\exponentiate().

◆ divide()

divide ( self  $x)

Divides two BigIntegers.

Paramètres
BigInteger$x
Renvoie
BigInteger

Références BigInteger\$value, et value.

◆ equals()

equals ( self  $y)
Paramètres
BigInteger$y

Références value.

◆ gcd()

gcd ( self  $y)
Paramètres
BigInteger$y
Renvoie
BigInteger

Références value.

◆ get()

get ( )

Références BigInteger\$value.

◆ isEven()

isEven ( )

Références value.

◆ lowerThan()

lowerThan ( self  $y)
Paramètres
BigInteger$y

Références value.

◆ mod()

mod ( self  $d)

Performs modular exponentiation.

Paramètres
BigInteger$d
Renvoie
BigInteger

Références BigInteger\$value, et value.

◆ modInverse()

modInverse ( BigInteger  $m)

Références value.

◆ modPow()

modPow ( self  $e,
self  $n 
)

Performs modular exponentiation.

Paramètres
BigInteger$e
BigInteger$n
Renvoie
BigInteger

Références $n, BigInteger\$value, et value.

◆ multiply()

multiply ( self  $x)

Multiplies two BigIntegers.

Paramètres
BigInteger$x
Renvoie
BigInteger

Références BigInteger\$value, et value.

◆ random()

static random ( self  $y)
static
Paramètres
BigInteger$y
Renvoie
BigInteger

◆ subtract()

subtract ( self  $y)

Subtracts two BigIntegers.

Paramètres
BigInteger$y
Renvoie
BigInteger

Références BigInteger\$value, et value.

◆ toBytes()

toBytes ( )

Converts a BigInteger to a binary string.

Références $temp, et value.

Référencé par PSSRSA\convertIntegerToOctetString(), et RSA\convertIntegerToOctetString().

Documentation des champs

◆ $value


La documentation de cette classe a été générée à partir du fichier suivant :