Skip to content

Commit

Permalink
adding overload for argon2Id
Browse files Browse the repository at this point in the history
  • Loading branch information
DavitMatosyan authored and DavitMatosyan committed Oct 31, 2023
1 parent 4323961 commit eb082a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Pandatech.Crypto/Argon2Id.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ public Argon2Id(Argon2IdOptions options)
_options = options;
}

public Argon2Id()
{
_options = new Argon2IdOptions();
}

private const int SaltSize = 16;


Expand Down
2 changes: 1 addition & 1 deletion Pandatech.Crypto/Pandatech.Crypto.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BouncyCastle.NetCore" Version="2.2.1" />
<PackageReference Include="BouncyCastle.NetCore" Version="2.2.2" />
<PackageReference Include="Konscious.Security.Cryptography.Argon2" Version="1.3.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
</ItemGroup>
Expand Down

0 comments on commit eb082a6

Please sign in to comment.