diff --git a/doc/api/webcrypto.md b/doc/api/webcrypto.md index 43327f58e5b6ae..4ae7003fbd9cb2 100644 --- a/doc/api/webcrypto.md +++ b/doc/api/webcrypto.md @@ -275,7 +275,7 @@ async function pbkdf2Key(pass, salt, iterations = 1000, length = 256) { ec.encode(pass), 'PBKDF2', false, - ['deriveBits']); + ['deriveKey']); const key = await subtle.deriveKey({ name: 'PBKDF2', hash: 'SHA-512',