You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cryptoIssues and PRs related to the crypto subsystem.experimentalIssues and PRs related to experimental features.performanceIssues and PRs related to the performance of Node.js.securityIssues and PRs related to security.
import{argon2,randomBytes}from'node:crypto'constparameters={message: 'password',nonce: randomBytes(16),parallelism: 4,tagLength: 64,memory: 65536,passes: 1000,// the only thing changed from doc to demonstrate};console.log(`Start at ${newDate().toISOString()}`)argon2('argon2id',parameters,()=>{})console.log(`Unblocked at ${newDate().toISOString()}`)// this takes 10 seconds on my Air
cryptoIssues and PRs related to the crypto subsystem.experimentalIssues and PRs related to experimental features.performanceIssues and PRs related to the performance of Node.js.securityIssues and PRs related to security.
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions
You can’t perform that action at this time.
✕
Wait! Don't Go Yet 🚀
Get our FREE eBook "10 Programming Tips That Changed Everything" when you subscribe!
Activity
[-]async argon2 freezes the event loop[/-][+]async argon2 freezes the main event loop[/+][-]async argon2 freezes the main event loop[/-][+]"async" argon2 freezes the main event loop[/+]panva commentedon Apr 21, 2026
FYI the API is still in
cc @jasnell @ranisalt
ChALkeR commentedon Apr 21, 2026
Yes, I'm aware, and that's precisely why this is public!
panva commentedon Apr 21, 2026
I'm aware that you're aware :) Just calling it out for clarity.
panva commentedon Apr 21, 2026
@ChALkeR what about the scrypt or PBKDF2 jobs?
ChALkeR commentedon Apr 21, 2026
It had "FYI" so I replied 😄
@panva scrypt is fine:
pbkdf2 is fine too:
compare to argon2:
passes=10 (parameters from doc example):
passes=100:
passes=1000:
It literally is just computed twice: once in sync, once in async, per every async call (at least judging from the numbers)
crypto: remove Argon2 KDF derivation from its job setup
crypto: remove Argon2 KDF derivation from its job setup
crypto: remove Argon2 KDF derivation from its job setup
crypto: remove Argon2 KDF derivation from its job setup
Merge upstream Node.js v24.18.1 into dotnet/main (#375)
レビュー指摘を反映し、Nodeの版と判定の契約を明確化
Add the auth core: sign-up with email verification, sign-in, rotating…