Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecurityDriven.Core vs SecurityDriven.Inferno #6

Open
hippus opened this issue Nov 4, 2021 · 1 comment
Open

SecurityDriven.Core vs SecurityDriven.Inferno #6

hippus opened this issue Nov 4, 2021 · 1 comment
Labels
question Further information is requested

Comments

@hippus
Copy link

hippus commented Nov 4, 2021

Hi, could you please clarify

  • is CryptoRandom in this library different from main lib (SecurityDriven.Inferno) and how?
  • which lib is better to use?
    Thanks
@sdrapkin
Copy link
Owner

sdrapkin commented Nov 4, 2021

is CryptoRandom in this library different from main lib (SecurityDriven.Inferno) and how?

Yes, they are different. [SecurityDriven.Inferno] has been designed for .NET Framework 4.x (on Windows) many years ago, and its CryptoRandom implementation is functionally correct but has an older and less performant implementation. [SecurityDriven.Core] is a newer more performant implementation which takes advantage of everything .NET 5+ has to offer.

which lib is better to use?

If you can use both libraries, prefer [SecurityDriven.Core] for all randomness needs, and use [SecurityDriven.Inferno] for cryptography. If you can only use [SecurityDriven.Inferno] (ex. cannot run .NET 5+), CryptoRandom in Inferno works.

@sdrapkin sdrapkin added the question Further information is requested label Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants