You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you for the repo.
The code could not be compiled in dotnet core because of the following issue: https://github.com/dotnet/corefx/issues/2881
Please consider adding also dotnet core version file.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
To use in dotnet core we just need change this: using (RNGCryptoServiceProvider csprng = new RNGCryptoServiceProvider()) { csprng.GetBytes(salt); }
to this: using (var rng = RandomNumberGenerator.Create()) { rng.GetBytes(salt); }
Hi,
Thank you for the repo.
The code could not be compiled in dotnet core because of the following issue:
https://github.com/dotnet/corefx/issues/2881
Please consider adding also dotnet core version file.
Thanks.
The text was updated successfully, but these errors were encountered: