[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/include/Zend/Crypt/ -> Math.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id: Math.php 24593 2012-01-05 20:35:02Z matthew $
File Size: 102 lines (3 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 include/Zend/Crypt/Math/BigInteger.php

Defines 1 class

Zend_Crypt_Math:: (4 methods):
  rand()
  btwoc()
  fromBinary()
  toBinary()


Class: Zend_Crypt_Math  - X-Ref


rand($minimum, $maximum)   X-Ref
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...

param: string|int $minimum
param: string|int $maximum
return: string

btwoc($long)   X-Ref
Get the big endian two's complement of a given big integer in
binary notation

param: string $long
return: string

fromBinary($binary)   X-Ref
Translate a binary form into a big integer string

param: string $binary
return: string

toBinary($integer)   X-Ref
Translate a big integer string into a binary form

param: string $integer
return: string



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1