Deliria.Cryptography.PasswordHashing
0.1.0
dotnet add package Deliria.Cryptography.PasswordHashing --version 0.1.0
NuGet\Install-Package Deliria.Cryptography.PasswordHashing -Version 0.1.0
<PackageReference Include="Deliria.Cryptography.PasswordHashing" Version="0.1.0" />
paket add Deliria.Cryptography.PasswordHashing --version 0.1.0
#r "nuget: Deliria.Cryptography.PasswordHashing, 0.1.0"
// Install Deliria.Cryptography.PasswordHashing as a Cake Addin #addin nuget:?package=Deliria.Cryptography.PasswordHashing&version=0.1.0 // Install Deliria.Cryptography.PasswordHashing as a Cake Tool #tool nuget:?package=Deliria.Cryptography.PasswordHashing&version=0.1.0
Deliria.Cryptography.PasswordHashing
Deliria.Cryptography.PasswordHashing
is a library designed to provide a simplified password hashing procedure using the Argon2 algorithm. It provides user-friendly interfaces and utilities to help you securely hash, store and verify passwords.
By default it encourages OWASP's recommended parameters, but you can also take full control of the parameters if desired.
Disclaimer: The "verification and upgrade" feature is currently untested. We do not recommend using it in production environments, but you are welcome to experiment with it.
Table of Contents
Usage
Hashing Passwords
To get started, install the Deliria.Cryptography.PasswordHashing.Konscious
package, which utilizes the Konscious.Security.Cryptography.Argon2
implementation.
You can read more about it here.
Implementing Custom Hashers
If you wish to implement your own password hashing mechanism, you can do so by creating a class that implements the IPasswordHasher
interface. You can refer to the PasswordHasherKonscious
class for guidance on how to properly wrap an existing implementation.
Contributing
We welcome contributions to improve this library! Please feel free to submit issues or pull requests.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Deliria.Cryptography.PasswordHashing:
Package | Downloads |
---|---|
Deliria.Cryptography.PasswordHashing.Konscious
This package provides a user-friendly interface for password hashing using Argon2, featuring an implementation developed by Konscious. It adheres to OWASP best practices to ensure secure defaults. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.0 | 117 | 9/17/2024 |