Alea
Non-cryptographic pseudo-random number generator
Loading...
Searching...
No Matches
Wikimedia\Alea\Mash Class Reference

This is a helper class which just takes a bunch of mixed seed content and smushes it together to create a single numeric seed. More...

Public Member Functions

 mash ( $data)
 Mash in some more data.
 

Static Public Member Functions

static version ()
 

Detailed Description

This is a helper class which just takes a bunch of mixed seed content and smushes it together to create a single numeric seed.

Member Function Documentation

◆ mash()

Wikimedia\Alea\Mash::mash ( $data)

Mash in some more data.

Parameters
mixed$dataAnything that can be an argument to strval.
Returns
float The current mash

The documentation for this class was generated from the following file: