Updates Argon2 to use Spans/Stackalloc (#140)

This commit is contained in:
Kamron Batman 2020-05-24 18:45:30 -07:00 • committed by GitHub
parent 2770ab1d50
commit 5d51e97c52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 115 additions and 230 deletions

View file

@ -1,4 +1,4 @@
namespace Server.Accounting.Security
namespace System.Security.Cryptography
{
/// <summary>
/// An enumeration of the possible error codes which are returned from Daniel Dinu and
@ -23,6 +23,11 @@
/// </summary>
SALT_TOO_SHORT = -6,
/// <summary>
/// The salt is too big
/// </summary>
SALT_TOO_LONG = -7,
/// <summary>
/// The time cost is less than 1
/// </summary>