crypto service update

This commit is contained in:
Kyle Spearrin 2019-04-09 09:06:05 -04:00
parent 0b0245b90f
commit bb6c194eab
1 changed files with 1 additions and 1 deletions

View File

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