mirror of
https://github.com/bitwarden/mobile
synced 2025-12-29 06:33:53 +00:00
* 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
9 lines
144 B
C#
9 lines
144 B
C#
namespace Bit.Core.Enums
|
|
{
|
|
public enum HashPurpose : byte
|
|
{
|
|
ServerAuthorization = 1,
|
|
LocalAuthorization = 2,
|
|
}
|
|
}
|