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

Class: Crypt_DiffieHellman_Math_BigInteger_Interface

Source Location: /Crypt_DiffieHellman-0.2.6/Crypt/DiffieHellman/Math/BigInteger/Interface.php

Class Overview


Support for arbitrary precision mathematics in PHP.


Author(s):

  • Pádraic Brady (http://blog.astrumfutura.com)

Methods


Inherited Variables

Inherited Methods


Class Details

[line 38]
Support for arbitrary precision mathematics in PHP.

Crypt_DiffieHellman_Math_BigInteger_Bcmath is a wrapper across the PHP BCMath extension.

  • Author: Pádraic Brady (http://blog.astrumfutura.com)
  • License: New BSD License


[ Top ]


Method Detail

add   [line 42]

void add( $left_operand, $right_operand)

  • Access: public

Parameters:

   $left_operand   — 
   $right_operand   — 

[ Top ]

compare   [line 44]

void compare( $left_operand, $right_operand)

  • Access: public

Parameters:

   $left_operand   — 
   $right_operand   — 

[ Top ]

divide   [line 45]

void divide( $left_operand, $right_operand)

  • Access: public

Parameters:

   $left_operand   — 
   $right_operand   — 

[ Top ]

init   [line 41]

void init( $operand, [ $base = 10])

  • Access: public

Parameters:

   $operand   — 
   $base   — 

[ Top ]

modulus   [line 46]

void modulus( $left_operand, $modulus)

  • Access: public

Parameters:

   $left_operand   — 
   $modulus   — 

[ Top ]

multiply   [line 47]

void multiply( $left_operand, $right_operand)

  • Access: public

Parameters:

   $left_operand   — 
   $right_operand   — 

[ Top ]

pow   [line 48]

void pow( $left_operand, $right_operand)

  • Access: public

Parameters:

   $left_operand   — 
   $right_operand   — 

[ Top ]

powmod   [line 49]

void powmod( $left_operand, $right_operand, $modulus)

  • Access: public

Parameters:

   $left_operand   — 
   $right_operand   — 
   $modulus   — 

[ Top ]

sqrt   [line 50]

void sqrt( $operand)

  • Access: public

Parameters:

   $operand   — 

[ Top ]

subtract   [line 43]

void subtract( $left_operand, $right_operand)

  • Access: public

Parameters:

   $left_operand   — 
   $right_operand   — 

[ Top ]


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