Isopoh.Cryptography.Blake2b 2.0.0

Isopoh

BLAKE2B

Argon2 uses Blake2b as a cryptographic building block. This code uses the C# implementation of Blake2 modified from https://github.com/BLAKE2. The main modification is that the Blake2 here uses SecureArray<T>. The SecureArray takes a SecureArrayCall to protect potentially sensitive data. Most other modifications are strictly cosmetic.

As part of this Blake2b port, an effort was made to speed Blake2b by using techniques like unrolling and using raw buffers in unsafe code. It turns out the CLR optimizes plain code better than unrolled/unsafe code and the original always ran faster. At some point I may try a port to System.Numerics.Vector<T>...

API GENERATION

The API Documentation at https://mheyman.github.io/Isopoh.Cryptography.Argon2 gets generated automatically upon build. This happens via a dummy C# "Doc" project that uses the DocFx NuGet package to produce the API documentation.

AUTHOR

Michael Heyman

ACKNOWLEDGMENTS

List of people and project that inspired creation of this one:

  • The many contributers of the Argon2 repository
  • and the cryptographers responsible for creating and testing that algorithm
  • @CodesInChaos for the fully managed Blake2b implementation here
  • @PurpleBooth for his readme template posted here

LICENSE

Creative Commons License
Isopoh.Cryptography.Argon2 by Michael Heyman is licensed under a Creative Commons Attribution 4.0 International License.

PRODUCTION STATUS & SUPPORT

You should be aware that this project is supported solely by me and provided as is.

Go back to the top

Showing the top 20 packages that depend on Isopoh.Cryptography.Blake2b.

Packages Downloads
Isopoh.Cryptography.Argon2
Argon2 Password Hasher written in C#. Uses Isopoh.Cryptography.Blake2 for hashing and Isopoh.Cryptography.SecureArray to protect sensitive data.
2

Bump version to match Isopoh.Cryptography.Argon2.

.NET Core 3.1

.NET 6.0

.NET 7.0

.NET Standard 2.0

Version Downloads Last updated
2.0.0 2 03/25/2026
1.1.12 0 05/22/2022
1.1.11 0 12/12/2021
1.1.10 0 11/18/2020
1.1.9 0 10/02/2020
1.1.8 0 07/26/2020
1.1.7 0 07/26/2020
1.1.6 0 07/25/2020
1.1.5 0 07/25/2020
1.1.4 0 07/05/2020
1.1.3 0 10/27/2019
1.1.2 0 05/14/2019
1.1.1 0 02/16/2019
1.1.0 0 02/16/2019
1.0.10 0 02/10/2019
1.0.9 0 02/10/2019
1.0.8 0 03/11/2018
1.0.7 0 03/11/2018
1.0.6 0 01/13/2018
1.0.5 0 10/29/2017
1.0.4 0 09/23/2017
1.0.3 0 09/10/2017
1.0.2 0 08/31/2017
1.0.1 0 03/08/2017
1.0.0 0 07/31/2016