mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-22 16:26:28 +00:00
up the iterations
This commit is contained in:
parent
9c675ba48c
commit
d1e9ffd89b
@ -36,7 +36,7 @@ export function getKeyFromString(password: string) {
|
||||
}
|
||||
|
||||
export async function getDerivedForKey(key: CryptoKey, salt: ArrayBuffer) {
|
||||
const iterations = 1_000
|
||||
const iterations = 100_000
|
||||
return window.crypto.subtle.deriveKey(
|
||||
{
|
||||
name: 'PBKDF2',
|
||||
|
Loading…
Reference in New Issue
Block a user