Home / Security and Auth

Security and Auth JavaScript Projects

Passwords, codes and encryption feel like hard topics, but the browser ships the building blocks for all of them. These four projects use WebAuthn for passkeys and the Web Crypto API for strong encryption and two factor codes. They are small enough to read in an evening, and they show every step so you understand what is actually happening.

Passkey Login Demo JavaScript project preview

028. Passkey Login Demo

Sign up and sign in with your fingerprint instead of a password
Client-side Password Manager JavaScript project preview

029. Client-side Password Manager

An encrypted password vault that only your master password opens
Secure File Encryptor JavaScript project preview

030. Secure File Encryptor

Lock any file with a password, right in your browser
TOTP 2FA Authenticator JavaScript project preview

031. TOTP 2FA Authenticator

An authenticator app that makes six digit 2FA codes