From eb082a6006c39a2251cd9afe360da70204c7f900 Mon Sep 17 00:00:00 2001 From: DavitMatosyan Date: Tue, 31 Oct 2023 16:40:53 +0400 Subject: [PATCH] adding overload for argon2Id --- Pandatech.Crypto/Argon2Id.cs | 5 +++++ Pandatech.Crypto/Pandatech.Crypto.csproj | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Pandatech.Crypto/Argon2Id.cs b/Pandatech.Crypto/Argon2Id.cs index a3d02fd..d8bfc90 100644 --- a/Pandatech.Crypto/Argon2Id.cs +++ b/Pandatech.Crypto/Argon2Id.cs @@ -11,6 +11,11 @@ public Argon2Id(Argon2IdOptions options) _options = options; } + public Argon2Id() + { + _options = new Argon2IdOptions(); + } + private const int SaltSize = 16; diff --git a/Pandatech.Crypto/Pandatech.Crypto.csproj b/Pandatech.Crypto/Pandatech.Crypto.csproj index e69d45c..851f41e 100644 --- a/Pandatech.Crypto/Pandatech.Crypto.csproj +++ b/Pandatech.Crypto/Pandatech.Crypto.csproj @@ -26,7 +26,7 @@ - +