Moving to RandomNumberGenerator as CryptRandom is not supported in Mono

#847