Revert "allow use of a custom random number generator"

This reverts commit 866b6abdc240aa8ef45dd0a4e03df808f667d653.