Security Tools

Add TOTP Two-Factor to Your Own App: A Developer Guide
security-tools

Add TOTP Two-Factor to Your Own App: A Developer Guide

A framework-agnostic guide to adding RFC 6238 TOTP two-factor auth: generate a secret, build the otpauth URI, verify codes with a drift window, and stop replay.

Read more →
How TOTP Authentication Works: RFC 6238 End to End
security-tools

How TOTP Authentication Works: RFC 6238 End to End

How TOTP two-factor codes work: the shared base32 secret, time steps, HMAC, RFC 4226 dynamic truncation, and the drift windows servers use to verify.

Read more →
Lost Phone With 2FA: Every Recovery Option Explained
security-tools

Lost Phone With 2FA: Every Recovery Option Explained

Lost, stolen or wiped the phone holding your authenticator? Here is how backup codes, cloud sync, saved secrets and account recovery get your 2FA back.

Read more →
Passphrase vs Random Password: Which Is Harder to Crack?
security-tools

Passphrase vs Random Password: Which Is Harder to Crack?

Passphrase vs random password — which is stronger? Compare entropy, diceware word lists, and cracking cost with hard numbers from NIST SP 800-63B and RFC 2289.

Read more →
TOTP vs SMS vs Passkeys: A Threat-Model Comparison
security-tools

TOTP vs SMS vs Passkeys: A Threat-Model Comparison

Compare SMS codes, TOTP authenticator apps, and passkeys by threat model: SIM swapping, phishing resistance, origin-binding, and when to use each factor.

Read more →
When Services Use SHA-256 or 8-Digit TOTP
security-tools

When Services Use SHA-256 or 8-Digit TOTP

RFC 6238 defaults to SHA-1, 6 digits, 30 seconds. Learn what happens when a service picks SHA-256 or 8-digit codes and why some apps generate wrong codes.

Read more →
What Is a Hash? MD5 vs SHA-256 and When to Use Each
security-tools

What Is a Hash? MD5 vs SHA-256 and When to Use Each

A plain-English guide to cryptographic hashes: how MD5, SHA-1, SHA-256 and SHA-512 differ, why MD5 is broken, and when to use each — with practical examples.

Read more →
How to Create Secure Passwords: Length and Entropy
security-tools

How to Create Secure Passwords: Length and Entropy

Understand password entropy, why length beats complexity, and how crypto.getRandomValues creates secure passwords aligned with NIST SP 800-63B.

Read more →