Added entropy-source paramater and seedRandom helper