1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +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

@@ -276,7 +276,7 @@ export class CryptoService implements CryptoServiceAbstraction {
async makeKey(password: string, salt: string, kdf: KdfType, kdfIterations: number):
Promise<SymmetricCryptoKey> {
let key: ArrayBuffer = null;
if (kdf == null || kdf === KdfType.PBKDF2) {
if (kdf == null || kdf === KdfType.PBKDF2_SHA256) {
if (kdfIterations == null) {
kdfIterations = 5000;
} else if (kdfIterations < 5000) {