Updates Argon2 to use Spans/Stackalloc (#140)
This commit is contained in:
parent
2770ab1d50
commit
5d51e97c52
15 changed files with 115 additions and 230 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue