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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user