diff --git a/src/Security/Random/Rng.cs b/src/Security/Random/Rng.cs index 998b49f..329c33d 100644 --- a/src/Security/Random/Rng.cs +++ b/src/Security/Random/Rng.cs @@ -8,7 +8,7 @@ public class Rng : IRng public Rng() { - _rng = new RNGCryptoServiceProvider(); + _rng = RandomNumberGenerator.Create(); } public void GetBytes(byte[] bytes)