1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

cache key meta data for forge decryption

This commit is contained in:
Kyle Spearrin
2018-05-09 15:48:17 -04:00
parent 9de9c1655c
commit 22894a6876
2 changed files with 27 additions and 5 deletions

View File

@@ -12,6 +12,8 @@ export class SymmetricCryptoKey {
encKeyB64: string;
macKeyB64: string;
meta: any;
constructor(key: ArrayBuffer, encType?: EncryptionType) {
if (key == null) {
throw new Error('Must provide key');