Skip to content

andkom/rand48-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

composer require andkom/rand48

Use

$rng = new \AndKom\Rand48\Rand48();
echo $rng->random();

About

A rand48 random number generator implementation in pure PHP.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages