mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Deprecate encstring's decrypt function (#15703)
This commit is contained in:
@@ -153,6 +153,10 @@ export class EncString implements Encrypted {
|
||||
return EXPECTED_NUM_PARTS_BY_ENCRYPTION_TYPE[encType] === encPieces.length;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated - This function is deprecated. Use EncryptService.decryptString instead.
|
||||
* @returns - The decrypted string, or `[error: cannot decrypt]` if decryption fails.
|
||||
*/
|
||||
async decrypt(
|
||||
orgId: string | null,
|
||||
key: SymmetricCryptoKey | null = null,
|
||||
|
||||
Reference in New Issue
Block a user