1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-29 06:33:53 +00:00
Files
mobile/src/Core/Enums/HashPurpose.cs
Thomas Rittson 79589b07fc Use 2 iterations for local password hashing (#1423)
* Add HashPurpose parameter to HashPasswordAsync

* Use 2 iterations for local password hashing

* Force logout if user has old keyHash stored

* Revert "Force logout if user has old keyHash stored"

This reverts commit 497d4928fa.

* Add backwards compatability with existing keyHash
2021-06-15 07:39:34 +10:00

9 lines
144 B
C#

namespace Bit.Core.Enums
{
public enum HashPurpose : byte
{
ServerAuthorization = 1,
LocalAuthorization = 2,
}
}