https://docs.microsoft.com/en-us/dot...ew=netcore-3.1
System.Security.Cryptography.RandomNumberGenerator kullanabilirsin linkte dökğmanı var