1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-26 09:54:35 +01:00

crypto service update

This commit is contained in:
Kyle Spearrin 2019-04-09 09:06:05 -04:00
parent 0b0245b90f
commit bb6c194eab

View File

@ -714,7 +714,7 @@ export class CryptoService implements CryptoServiceAbstraction {
return phrase; return phrase;
} }
private async buildEncKey(key: SymmetricCryptoKey, encKey: ArrayBuffer = null) private async buildEncKey(key: SymmetricCryptoKey, encKey: ArrayBuffer)
: Promise<[SymmetricCryptoKey, CipherString]> { : Promise<[SymmetricCryptoKey, CipherString]> {
let encKeyEnc: CipherString = null; let encKeyEnc: CipherString = null;
if (key.key.byteLength === 32) { if (key.key.byteLength === 32) {