Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andkom/rand48-php
A rand48 random number generator implementation in pure PHP.
https://github.com/andkom/rand48-php
generator php random random-generation
Last synced: about 6 hours ago
JSON representation
A rand48 random number generator implementation in pure PHP.
- Host: GitHub
- URL: https://github.com/andkom/rand48-php
- Owner: andkom
- License: mit
- Created: 2018-10-07T19:09:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-07T19:14:19.000Z (about 6 years ago)
- Last Synced: 2024-11-14T05:28:12.315Z (about 23 hours ago)
- Topics: generator, php, random, random-generation
- Language: PHP
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rand48.js
A rand48 random number generator implementation in pure PHP.
It's a default random number generator in Java. Also it was used in old versions of Firefox and other browsers.
Not cryptographically strong!
## Install
```bash
composer require andkom/rand48
```## Use
```php
$rng = new \AndKom\Rand48\Rand48();
echo $rng->random();
```