Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
btwoc(
string $long
)
:
string
Get the big endian two's complement of a given big integer in binary notation
fromBinary(
string $binary
)
:
string
Translate a binary form into a big integer string
rand(
string|int $minimum, string|int $maximum
)
:
string
Generate a pseudorandom number within the given range.
Will attempt to read from a systems RNG if it exists or else utilises a simple random character to maximum length process. Simplicity is a factor better left for development...
toBinary(
string $integer
)
:
string
Translate a big integer string into a binary form