Re: C# 6+ Random algorithm changed

2022-06-30 Thread Tony McGee
Oh nice, thanks, I missed this news for .NET 6. I've used Mersenne Twister in the past for an app where the RNG pool didn't need to be cryptographically secure but the algorithm did have to be explicitly specified in the deliverable. Also, interesting detail in the implementation as noted - if

C# 6+ Random algorithm changed

2022-06-30 Thread Greg Keogh
TGIF folks, FYI - I discovered by accident yesterday in this article that the algorithm used by the Random class has changed. Historically it has used the Knuth subtractive algorithm