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; a Factory which 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()
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
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 Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::compare()
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()
top

e

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

f

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
top

i

init
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::init()
top

m

Math.php
procedural page Math.php
modulus
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::modulus()
multiply
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::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()
powmod
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::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()
subtract
in file Interface.php, method Crypt_DiffieHellman_Math_BigInteger_Interface::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:31:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.