mirror of
https://github.com/bitwarden/mobile
synced 2026-01-06 10:34:07 +00:00
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
This commit is contained in:
8
src/Core/Enums/HashPurpose.cs
Normal file
8
src/Core/Enums/HashPurpose.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Bit.Core.Enums
|
||||
{
|
||||
public enum HashPurpose : byte
|
||||
{
|
||||
ServerAuthorization = 1,
|
||||
LocalAuthorization = 2,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user