RNGCryptoServiceProvider in .Net Core

后端 未结 3 1555
失恋的感觉
失恋的感觉 2020-12-09 15:12

I cannot find the System.Security.Cryptography.RNGCryptoServiceProvider class in .NetCore.

It is essential to the application I am trying to port from .Net Framework

3条回答
  •  无人及你
    2020-12-09 15:36

    One of the solutions suggested is to use RandomNumberGenerator.Create() https://github.com/dotnet/corefx/issues/2881

提交回复
热议问题