mirror of
https://github.com/bitwarden/browser
synced 2024-12-26 09:54:35 +01:00
crypto service update
This commit is contained in:
parent
0b0245b90f
commit
bb6c194eab
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user