2026-10-26Bun 博客实战Bun 博客实战(9):认证、PBKDF2 与会话不用 bcrypt/argon2,也能用 Web 标准做认证:WebCrypto PBKDF2、随机 salt、常量时间比较、DB 会话和 HttpOnly Cookie。