Replace RNGCryptoServiceProvider with RandomNumberGenerator