Make things private
MODIFY
WalletWasabi/Crypto/Randomness/PseudoRandom.cs
WalletWasabi/Crypto/Randomness/PseudoRandom.cs
@@ -11,7 +11,7 @@ namespace WalletWasabi.Crypto.Randomness
Random = new Random();
}
- public Random Random { get; }
+ private Random Random { get; }
public void GetBytes(byte[] buffer) => Random.NextBytes(buffer);

MODIFY
WalletWasabi/Crypto/Randomness/SecureRandom.cs
WalletWasabi/Crypto/Randomness/SecureRandom.cs
@@ -14,7 +14,7 @@ namespace WalletWasabi.Crypto.Randomness
Random = RandomNumberGenerator.Create();
}
- public RandomNumberGenerator Random { get; }
+ private RandomNumberGenerator Random { get; }
public void GetBytes(byte[] buffer) => Random.GetBytes(buffer);

Make things private