mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-04 21:05:54 +08:00
crypto service update
This commit is contained in:
parent
0b0245b90f
commit
bb6c194eab
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user