Some C# translations use obsolete `RNGCryptoServiceProvider` and cause compilation warnings. In most of the cases, cryptographically secure RNG is an overkill and can be replaced with normal `Random`.