dotnet / dotnet/dotnet-api-docs
Document thread safety of RandomNumberGenerator
Open
area-System.Security
Pri3
untriaged
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
**Issue description**
I cannot find information w.r.t. the thread safety of members of `System.Security.Cryptorgraphy.RandomNumberGenerator`. Knowing if calls must be synchronized by the caller is important.
`RNGCryptoServiceProvider.GetBytes` is thread safe according to the documentation.
**Target framework**
- [x] .NET Core
- [x] .NET Framework
- [x] .NET Standard
Contributor guide
Assessment
This issue has not been assessed yet.