A direct PHP port of the algorithms used to generate and verify ASP.NET password hashes in .NET Core.
$ composer require mdhearing/aspnetcore-identity
$hasher = new MDHearing\AspNetCore\Identity\PasswordHasher(); $hashedPassword = $hasher->hashPassword('very strong password'); $result = $hasher->verifyHashedPassword($hashedPassword, 'very strong password');
Please see CHANGELOG for more information on what has changed recently.
$ composer test $ composer check-style
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.