-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Random\Randomizer::getBytesFromString
Get random bytes from a source string
&reftitle.description;
public stringRandom\Randomizer::getBytesFromString
stringstring
intlength
Generates a string containing uniformly selected random bytes from the
input string with the requested length.
The chance for a byte to be selected is proportional to its share
of the input string. If each byte occurs
the same amount of times, each byte is equally likely to be selected.
Metadata
Metadata
Assignees
Labels
No labels