[ class tree: ] [ index: ] [ all elements ]

Index of all elements

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ i ] [ m ] [ n ] [ p ] [ r ] [ s ] [ t ] [ _ ]

a

add
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::add()
add
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::add()
    Adds two arbitrary precision numbers
add
in file Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::add()
    Adds two arbitrary precision numbers
top

b

BINARY
in file DiffieHellman.php, class constant Crypt_DiffieHellman::BINARY
    Constants; used to define inputs or outputs as binary or big numbers.
btwoc
in file Math.php, method Crypt_DiffieHellman_Math::btwoc()
    Perform a btwoc operation on the given BigInteger number in binary form which returns the big-endian two's complement.
BTWOC
in file DiffieHellman.php, class constant Crypt_DiffieHellman::BTWOC
Bcmath.php
procedural page Bcmath.php
BigInteger.php
procedural page BigInteger.php
top

c

compare
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::compare()
    Compare two big integers and returns result as an integer where 0 means both are identical, 1 that left_operand is larger, or -1 that right_operand is larger.
compare
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::compare()
compare
in file Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::compare()
    Compare two big integers and returns result as an integer where 0 means both are identical, 1 that left_operand is larger, or -1 that right_operand is larger.
computeSecretKey
in file DiffieHellman.php, method Crypt_DiffieHellman::computeSecretKey()
    Compute the shared secret key based on the public key received from the the second party to this transaction. This should agree to the secret key the second party computes on our own public key.
Crypt_DiffieHellman
in file DiffieHellman.php, class Crypt_DiffieHellman
    Crypt_DiffieHellman class
Crypt_DiffieHellman_Exception
in file Exception.php, class Crypt_DiffieHellman_Exception
    Crypt_DiffieHellman_Exception
Crypt_DiffieHellman_Math
in file Math.php, class Crypt_DiffieHellman_Math
    Crypt_DiffieHellman_Math class
Crypt_DiffieHellman_Math_BigInteger
in file BigInteger.php, class Crypt_DiffieHellman_Math_BigInteger
    Crypt_DiffieHellman_Math_BigInteger class
Crypt_DiffieHellman_Math_BigInteger_Bcmath
in file Bcmath.php, class Crypt_DiffieHellman_Math_BigInteger_Bcmath
    Support for arbitrary precision mathematics in PHP.
Crypt_DiffieHellman_Math_BigInteger_Exception
in file Exception.php, class Crypt_DiffieHellman_Math_BigInteger_Exception
    Crypt_DiffieHellman_Math_BigInteger_Exception
Crypt_DiffieHellman_Math_BigInteger_Gmp
in file Gmp.php, class Crypt_DiffieHellman_Math_BigInteger_Gmp
    Support for arbitrary precision mathematics in PHP.
Crypt_DiffieHellman_Math_BigInteger_Interface
in file Interface.php, class Crypt_DiffieHellman_Math_BigInteger_Interface
    Support for arbitrary precision mathematics in PHP.
Crypt_DiffieHellman_Math_Exception
in file Exception.php, class Crypt_DiffieHellman_Math_Exception
    Crypt_DiffieHellman_Exception
top

d

DiffieHellman.php
procedural page DiffieHellman.php
divide
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::divide()
divide
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::divide()
    Divide two big integers and return result or NULL if the denominator is zero.
divide
in file Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::divide()
    Divide two big integers and return result or NULL if the denominator is zero.
top

e

Exception.php
procedural page Exception.php
Exception.php
procedural page Exception.php
Exception.php
procedural page Exception.php
top

f

factory
in file BigInteger.php, method Crypt_DiffieHellman_Math_BigInteger::factory()
fromBinary
in file Math.php, method Crypt_DiffieHellman_Math::fromBinary()
    Convert a Binary value into a BigInteger number
top

g

Gmp.php
procedural page Gmp.php
generateKeys
in file DiffieHellman.php, method Crypt_DiffieHellman::generateKeys()
    Generate own public key. If a private number has not already been set, one will be generated at this stage.
getGenerator
in file DiffieHellman.php, method Crypt_DiffieHellman::getGenerator()
    Getter for the value of the generator number
getPrime
in file DiffieHellman.php, method Crypt_DiffieHellman::getPrime()
    Getter for the value of the prime number
getPrivateKey
in file DiffieHellman.php, method Crypt_DiffieHellman::getPrivateKey()
    Getter for the value of the private number
getPublicKey
in file DiffieHellman.php, method Crypt_DiffieHellman::getPublicKey()
    Returns own public key for communication to the second party to this transaction.
getSharedSecretKey
in file DiffieHellman.php, method Crypt_DiffieHellman::getSharedSecretKey()
    Return the computed shared secret key from the DiffieHellman transaction
top

i

Interface.php
procedural page Interface.php
init
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::init()
init
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::init()
    Initialise a big integer into an extension specific type. This is not applicable to BCMath.
init
in file Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::init()
    Initialise a big integer into an extension specific type. This is not applicable to BCMath.
top

m

Math.php
procedural page Math.php
modulus
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::modulus()
modulus
in file Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::modulus()
modulus
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::modulus()
multiply
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::multiply()
multiply
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::multiply()
multiply
in file Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::multiply()
top

n

NUMBER
in file DiffieHellman.php, class constant Crypt_DiffieHellman::NUMBER
top

p

pow
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::pow()
pow
in file Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::pow()
pow
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::pow()
powmod
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::powmod()
powmod
in file Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::powmod()
powmod
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::powmod()
top

r

rand
in file Math.php, method Crypt_DiffieHellman_Math::rand()
    Generate a pseudorandom number within the given range.
top

s

setBigIntegerMath
in file DiffieHellman.php, method Crypt_DiffieHellman::setBigIntegerMath()
    Setter to pass an extension parameter which is used to create a specific BigInteger instance for a specific extension type.
setGenerator
in file DiffieHellman.php, method Crypt_DiffieHellman::setGenerator()
    Setter for the value of the generator number
setPrime
in file DiffieHellman.php, method Crypt_DiffieHellman::setPrime()
    Setter for the value of the prime number
setPrivateKey
in file DiffieHellman.php, method Crypt_DiffieHellman::setPrivateKey()
    Setter for the value of the private number
sqrt
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::sqrt()
sqrt
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::sqrt()
sqrt
in file Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::sqrt()
subtract
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::subtract()
subtract
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::subtract()
subtract
in file Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::subtract()
top

t

toBinary
in file Math.php, method Crypt_DiffieHellman_Math::toBinary()
    Convert a BigInteger number into binary
top

_

$_math
in file BigInteger.php, variable Crypt_DiffieHellman_Math_BigInteger::$_math
    Holds an instance of one of the three arbitrary precision wrappers.
_generatePrivateKey
in file DiffieHellman.php, method Crypt_DiffieHellman::_generatePrivateKey()
    In the event a private number/key has not been set by the user, generate one at random.
__call
in file BigInteger.php, method Crypt_DiffieHellman_Math_BigInteger::__call()
    Redirect all public method calls to the wrapped extension object.
__construct
in file BigInteger.php, method Crypt_DiffieHellman_Math_BigInteger::__construct()
    Constructor; Detects a suitable PHP extension for arbitrary precision math and instantiates the suitable wrapper object.
__construct
in file DiffieHellman.php, method Crypt_DiffieHellman::__construct()
    Constructor; if set construct the object using the parameter array to set values for Prime, Generator and Private.
top

Documentation generated on Sun, 01 Apr 2012 21:30:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.