\Zend_Crypt_Math
- Copyright: Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Crypt_Math
extends Zend_Crypt_Math_BigInteger
{
- // Inherited members from Zend_Crypt_Math_BigInteger
- protected Zend_Crypt_Math_BigInteger_Interface $_math;
- // methods
- public string rand()
- public string btwoc()
- public string fromBinary()
- public string toBinary()
- // Inherited methods from Zend_Crypt_Math_BigInteger
- public void __construct()
- public void __call()
- protected void _loadAdapter()
Hierarchy
Extends
Members
protected
- $_math
—
Zend_Crypt_Math_BigInteger_Interface
Holds an instance of one of the three arbitrary precision wrappers.
Methods
public
- btwoc() — Get the big endian two's complement of a given big integer in binary notation
- fromBinary() — Translate a binary form into a big integer string
- rand() — Generate a pseudorandom number within the given range.
- toBinary() — Translate a big integer string into a binary form
Inherited from Zend_Crypt_Math_BigInteger
protected
public
- __call() — Redirect all public method calls to the wrapped extension object.