GoLang stats_rand_phrase_to_seeds

request it (347)
GoLang replacement for PHP's stats_rand_phrase_to_seeds [edit | history]



Do you know a GoLang replacement for PHP's stats_rand_phrase_to_seeds? Write it!

PHP stats_rand_phrase_to_seeds

PHP original manual for stats_rand_phrase_to_seeds [ show | php.net ]

stats_rand_phrase_to_seeds

(PECL stats >= 1.0.0)

stats_rand_phrase_to_seedsGenerate two seeds for the RGN random number generator

Description

array stats_rand_phrase_to_seeds ( string $phrase )

Generate two seeds for the random number generator from a phrase.

Parameters

phrase

The input phrase

Return Values

Returns an array of two integers.