mirror of
https://github.com/bitwarden/browser
synced 2024-12-15 10:48:59 +01:00
c90eb42ead
* move decryptFromBytes, decryptToBytes, and encryptToBytes from CryptoService to EncryptService * leave redirects in CryptoService * combine encryptService decryptFromBytes and decryptToBytes methods * move parsing logic into EncArrayBuffer * add tests
9 lines
201 B
TypeScript
9 lines
201 B
TypeScript
import { EncryptionType } from "../enums/encryptionType";
|
|
|
|
export interface IEncrypted {
|
|
encryptionType?: EncryptionType;
|
|
dataBytes: ArrayBuffer;
|
|
macBytes: ArrayBuffer;
|
|
ivBytes: ArrayBuffer;
|
|
}
|