Skip to content

A direct PHP port of the algorithms used to generate and verify ASP.NET password hashes in .NET Core.

Notifications You must be signed in to change notification settings

MDHearingAid/aspnetcore-identity-php

Repository files navigation

aspnetcore-identity

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.

About

A direct PHP port of the algorithms used to generate and verify ASP.NET password hashes in .NET Core.

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages