Open Closed

What algorithm is used for password hashing? #5394


User avatar
0
alex@livemobility.com created
  • ABP Framework version: 5.3.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Hello abp team,

Could you tell us what hashing algorithm is used for abp stored passwords?

Thank you Alex Maiereanu


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We use ASP NET Core Identity, which uses the HMACSHA512.

    https://github.com/dotnet/aspnetcore/blob/release/7.0/src/Identity/Extensions.Core/src/PasswordHasher.cs#L141

  • User Avatar
    0
    alex@livemobility.com created

    Hi,

    Thanks for the answer. Can you please confirm that abp 5.3.2 is using V3 hashing?

    Thanks Alex

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Yes

    https://github.com/dotnet/aspnetcore/blob/main/src/Identity/Extensions.Core/src/PasswordHasherOptions.cs#L21

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11