bc-csharp
bc-csharp copied to clipboard
[Argon2] Multithreading support
Describe your changes
Added multithreading support for Argon2. Followup of https://github.com/bcgit/bc-csharp/pull/559
How has this been tested?
Using the tests that were already available for Argon2.
Checklist before requesting a review
- [x] I have performed a self-review of my code
- [x] I have kept the patch limited to only change the parts related to the patch
- [ ] This change requires a documentation update
@peterdettman Here's the first follow-up PR for Argon2! The second will be for Span usage to avoid copies on little-endian machines
Merged, thanks. I made a few followup changes, including adding a TaskFactory constructor so that parallel execution is opt-in.