RSSAmplifier

Oh crap, it actually works · May 24, 2020

The Pitfalls of System.Random

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

When it comes to random number generators in .NET, there's two options: System.Random and the easy to say System.Security.Cryptography.RNGCryptoServiceProvider . The former is a pseudo random number generator (PRNG), while the latter is a cryptographically secure random number generator (CSRNG). Common wisdom is to use Random , since it's faster and friendlier than RNGCryptoServiceProvider while…

Read on /posts/pitfalls-of-system-random

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.