ToolypetMCP
intermediate4 minutessecurity

TOTP Implementation Audit

Audit TOTP 2FA implementation: verify secret generation, code validation, and backup code handling.

totp2faauditauthenticationcompliance

何时使用此配方

Verify your 2FA implementation follows best practices. Test standard and enhanced TOTP configs, ensure backup codes are properly generated and stored.

步骤

1

TOTP Generator

试用此工具

Generate standard TOTP

提示词:Generate TOTP with SHA-1, 6 digits, 30-second period — the standard Google Authenticator config
2

TOTP Generator

试用此工具

Generate enhanced TOTP

提示词:Generate TOTP with SHA-256, 8 digits, 60-second period — enhanced security variant
3

Secret Generator

试用此工具

Create backup codes

提示词:Generate 10 backup recovery codes (12 characters each, alphanumeric uppercase)
4

Hash Calculator

试用此工具

Secure backup code storage

提示词:Hash each backup code with bcrypt for secure database storage

常见问题

SHA-1 vs SHA-256 for TOTP — does it matter?

SHA-1 is the standard (RFC 6238) and compatible with all authenticator apps. SHA-256 is more secure but not universally supported. Stick with SHA-1 for compatibility.

How many backup codes should I provide?

8-10 single-use codes. Store hashes only (like passwords). Mark as used after each use. Allow regeneration which invalidates all previous codes.

相关配方