1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-06 18:43:25 +00:00

refactor crypto service to use crypto functions

This commit is contained in:
Kyle Spearrin
2018-04-21 23:14:04 -04:00
parent cda2814192
commit fc1114a6bd
15 changed files with 211 additions and 329 deletions

View File

@@ -1,8 +1,8 @@
import { SymmetricCryptoKey } from './symmetricCryptoKey';
export class EncryptedObject {
iv: Uint8Array;
ct: Uint8Array;
mac: Uint8Array;
iv: ArrayBuffer;
ct: ArrayBuffer;
mac: ArrayBuffer;
key: SymmetricCryptoKey;
}