Skip to content

Standalone password hasher for ASP.NET Core using a PBKDF2 implementation.

License

Notifications You must be signed in to change notification settings

ClintSu/CryptoHelper

This branch is 4 commits behind henkmollema/CryptoHelper:master.

Folders and files

NameName
Last commit message
Last commit date
Mar 7, 2018
Feb 3, 2018
Aug 18, 2017
Jul 24, 2015
May 17, 2016
Feb 3, 2018
Mar 7, 2018
Feb 3, 2018
Jul 24, 2015
May 17, 2016
Apr 24, 2017
May 17, 2016
Feb 3, 2018
Aug 18, 2017

Repository files navigation

CryptoHelper

🔑 Standalone password hasher for ASP.NET Core using a PBKDF2 implementation.


Windows Linux OS X
Build status Build Status Build Status

This utility provides a standalone password hasher for ASP.NET Core without a dependency on ASP.NET Identity. The passwords are hashed using the new Data Protection stack.


Download

CryptoHelper is available on NuGet.


Usage

using CryptoHelper;

// Hash a password
public string HashPassword(string password)
{
    return Crypto.HashPassword(password);
}

// Verify the password hash against the given password
public bool VerifyPassword(string hash, string password)
{
    return Crypto.VerifyHashedPassword(hash, password);
}

About

Standalone password hasher for ASP.NET Core using a PBKDF2 implementation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 93.3%
  • PowerShell 3.4%
  • Batchfile 2.5%
  • Shell 0.8%