79624209

Date: 2025-05-15 21:38:13
Score: 1
Natty:
Report link
  var randomBytes = new byte[4];

  using (var rng = RandomNumberGenerator.Create())
  {
      rng.GetBytes(randomBytes);
      var trueRandom = BitConverter.ToUInt32(randomBytes, 0);
      chance = trueRandom / (double)uint.MaxValue;
  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Cvetoslav Yanachkov