mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
add decryption with MasterKey method to crypto service
This commit is contained in:
@@ -37,6 +37,7 @@ export abstract class CryptoService {
|
||||
masterKey: MasterKey,
|
||||
userSymKey?: UserSymKey
|
||||
) => Promise<[UserSymKey, EncString]>;
|
||||
decryptUserSymKeyWithMasterKey: (masterKey: MasterKey, userId?: string) => Promise<UserSymKey>;
|
||||
hashPassword: (password: string, key: MasterKey, hashPurpose?: HashPurpose) => Promise<string>;
|
||||
setKeyHash: (keyHash: string) => Promise<void>;
|
||||
getKeyHash: () => Promise<string>;
|
||||
|
||||
Reference in New Issue
Block a user