NonceGenerator now uses RNGCryptoServiceProvider

I've changed NonceGenerator to use RNGCryptoServiceProvider instead of System.Random.