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

Element index for package Crypt_DiffieHellman

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

_

$_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

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
BigInteger.php
procedural page BigInteger.php
Bcmath.php
procedural page Bcmath.php
top

c

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_Exception
in file Exception.php, class Crypt_DiffieHellman_Math_BigInteger_Exception
    Crypt_DiffieHellman_Math_BigInteger_Exception
Crypt_DiffieHellman_Math_Exception
in file Exception.php, class Crypt_DiffieHellman_Math_Exception
    Crypt_DiffieHellman_Exception
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 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.
compare
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::compare()
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_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.
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

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
Gmp.php
procedural page Gmp.php
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 Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::multiply()
multiply
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::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 Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::sqrt()
sqrt
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::sqrt()
subtract
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::subtract()
subtract
in file Bcmath.php, method Crypt_DiffieHellman_Math_BigInteger_Bcmath::subtract()
subtract
in file Gmp.php, method Crypt_DiffieHellman_Math_BigInteger_Gmp::subtract()
top

t

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

Documentation generated on Mon, 11 Mar 2019 15:47:58 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.