better crypto
use the global random generator through the RandomGenerator interface