This repository was archived by the owner on Jun 1, 2025. It is now read-only.
forked from li-haobin/O2DESNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Screenshots
Goh Chun Lin edited this page Sep 8, 2024
·
28 revisions




























System.Random in C# is not suitable for cryptographic or security-sensitive purposes because it is not a cryptographically secure random number generator (CSPRNG). It's designed for general random number generation but not for scenarios where security is critical (e.g., generating tokens, passwords, encryption keys).
For simple random number generation in games, simulations, and other non-security-related applications, System.Random is fine. In addition, if we are running a simulation where the outcome doesn’t have security implications, System.Random is typically good enough.














