The RandomNumberGenerator
class does not take a seed value but the Random
class does.
As far as I understand, the Random
class is not considered a good choice for producing entropy for security.
I need to pass in the same seed material and always get the same sequence of random numbers returned.
How can I do that in .NET 6.0?