1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

rename all to PBKDF2_SHA256

This commit is contained in:
Kyle Spearrin
2018-08-27 19:58:49 -04:00
parent ae54094fcd
commit 13e0cf0c47
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ export class RegisterComponent {
this.name = this.name === '' ? null : this.name;
this.email = this.email.toLowerCase();
const kdf = KdfType.PBKDF2;
const kdf = KdfType.PBKDF2_SHA256;
const kdfIterations = 5000;
const key = await this.cryptoService.makeKey(this.masterPassword, this.email, kdf, kdfIterations);
const encKey = await this.cryptoService.makeEncKey(key);