Replacing RNGCryptoServiceProvider with RandomNumberGenerator