mdhearing / aspnetcore-identity
A direct port of the algorithms used to generate and verify ASP.NET password hashes in .NET Core
Installs: 12 259
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 8
Open Issues: 2
Requires
- php: ~7.2 || ~8.0
Requires (Dev)
- phpunit/phpunit: >=8.0
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2024-10-23 19:29:17 UTC
README
A direct PHP port of the algorithms used to generate and verify ASP.NET password hashes in .NET Core.
https://github.com/dotnet/aspnetcore/blob/master/src/Identity/Extensions.Core/src/PasswordHasher.cs
Install
Via Composer
$ composer require mdhearing/aspnetcore-identity
Usage
$hasher = new MDHearing\AspNetCore\Identity\PasswordHasher(); $hashedPassword = $hasher->hashPassword('very strong password'); $result = $hasher->verifyHashedPassword($hashedPassword, 'very strong password');
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
$ composer check-style
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email it@mdhearingaid.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.