Registry / crypto / zendframework-zend-math

zendframework-zend-math

JSON →
library3.2.0phppackagistunverified

Create cryptographically secure pseudo-random numbers and manage big integers.

composer require zendframework/zend-math
INSTALL
IMPORT
SIG · ZENDFRAMEWORK-ZEND
Z
zendframework-zend-math
cryptophpv3.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rand
use Zend\Math\Rand;

Generate cryptographically secure random bytes and integers.

use Zend\Math\Rand; $randomBytes = Rand::getBytes(16); $randomInt = Rand::getInt(1, 100);
Debug
Known issues
breakingThis package is part of the deprecated Zend Framework; consider using Laminas.
fix
Migrate to laminas/laminas-math for continued support.
affects: >=3.0.0
Upgrade
Version history
3.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
52 hits · last 30 days
node
48
Resources