mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-27 03:52:57 +02:00
79589b07fc
* 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,
|
|
}
|
|
}
|