100% Bahagian Klien Web Crypto API · Sifar Muat Naik Pelayan · Sedia Luar Talian Air-Gapped

Pengesah 2FA Dalam Talian

Pengesah standard TOTP RFC 6238. Mengira kod dinamik 6 digit dan kod QR Google Authenticator secara tempatan dalam pelayar anda dengan sifar kependaman.

🔑 2FA Dynamic Code Generator

Menyokong mod kunci tunggal dan mod kelompok berbilang baris · Kira detik langsung 30 saat

RFC 6238 HMAC-SHA1
Pembersihan automatik huruf & ruang
Contoh Ujian:
Kod Laluan 2FA
TOTP · 30s
Kod Laluan Satu Kali
000 000

Muat semula automatik setiap 30 saat

30
saat lagi
🛡️ Zero-Knowledge (100% Client-Side) Guarantee

Semua kunci rahsia dan kod laluan yang dijana diproses secara tempatan dalam kotak pasir pelayar anda menggunakan Web Crypto API standard. Tiada data yang pernah dihantar ke atau disimpan pada pelayan luaran.

Pusat Keselamatan · Panduan 2FA-Tool

Panduan Keselamatan & Pengukuhan 2FA Pilihan

Pematuhan kriptografi standard tinggi dan privasi pengguna tanpa kompromi

Semak Semua 12 Panduan →
Pemindahan 12 min bacaan

Cara Memindahkan Google Authenticator ke Telefon Baharu

Kompromi penyegerakan awan, protokol eksport QR optik, pembersihan telefon lama yang selamat, redundansi luar talian & penyelesaian masalah hanyutan jam NTP.

Baca Panduan Penuh → →
Pemulihan Bencana 14 min bacaan

Telefon 2FA Hilang? Cara Memulihkan Akaun Tanpa Aplikasi

SOP tindak balas kecemasan 15 minit pertama, laluan pemulihan silang platform (Google, Microsoft, Steam, Binance, Apple) & peraturan sandaran 3-2-1.

Baca Panduan Penuh → →
DevSecOps 10 min bacaan

Buku Panduan Persediaan GitHub 2FA, Sandaran SMS & Kod Pemulihan

Dasar penguatkuasaan 2FA mandatori, storan sejuk kod pemulihan 3 peringkat, cabaran tandatangan kunci SSH & strategi pencegahan terkunci akaun.

Baca Panduan Penuh → →
Perisikan Ancaman 12 min bacaan

Mengapa 2FA SMS Berbahaya: Pertukaran SIM & Eksploitasi SS7

Vektor kejuruteraan sosial pertukaran SIM, pemintasan selular SS7, proksi pancingan data Evilginx masa nyata & garis panduan penolakan NIST.

Baca Panduan Penuh → →
Keselamatan Kripto 11 min bacaan

Keselamatan Kripto Guide: Best 2FA Setup for Binance & Exchanges

Penyenaraian putih pengeluaran, kod anti-pancingan data, seni bina hibrid perkakasan FIDO2 + TOTP & storan sejuk untuk kunci 16 aksara.

Baca Panduan Penuh → →
Ulasan Aplikasi 13 min bacaan

Best Authenticator Apps of 2026: Aegis vs 2FAS vs Bitwarden

Comprehensive side-by-side comparison of 5 leading authenticator apps: encryption models, cloud sync vs offline, and security posture.

Baca Panduan Penuh → →
🧰

Troubleshooting Base32 format errors or device clock drift?

Explore our specialized 2FA Security Toolbox: Base32 Key Auto-Fixer, otpauth:// URI Inspector, and millisecond-accurate NTP clock drift detection.

Open Security Tools →
Architecture Review

2FA Methods Compared: Why TOTP is the Gold Standard

Comparing security levels, SIM swapping resistance, cost, and availability

Method Security Level SIM Swap Immunity Offline Capable Cost Convenience Primary Use Cases
★ TOTP (This Utility) High (Recommended) Immune (No Cellular Transmission) 100% Offline Free (Web / Apps) Very High Google, GitHub, AWS, Binance
SMS Verification Code Low to Medium Vulnerable (SIM Hijacking) Requires Cellular Signal Low (SIM Card) High Legacy consumer logins
Email Verification Code Medium Depends on email security Requires Internet Free Medium Secondary backup fallback
FIDO2 / Hardware Keys Highest (Anti-Phishing) Immune Supported $25 - $70 (Hardware) Medium (Must Carry) High-value enterprise infra
Step-by-Step

Platform Setup Guides & Backup Rules

How to enable 2FA and preserve recovery keys on major platforms

🐙 GitHub DevOps

Go to Settings -> Password and authentication -> Two-factor authentication. Click Enable 2FA, choose "Set up using an app", and copy the Base32 plaintext key.

Critical: Download and store your 16 Recovery Codes in an offline secure location!
🔍 Google Account Ecosystem

Navigate to myaccount.google.com -> Security -> 2-Step Verification. Scroll down to "Authenticator app" and click "Can't scan it?" to copy the 32-character plaintext secret.

Critical: Configure a backup phone number or security key to prevent single point of failure.
💰 Binance & Exchanges Finance

Under Security -> Authenticator App, click Enable. Write down the 16-character Reset Key on paper and store it in a physical safe.

Rule: Never save exchange 2FA secret keys in unencrypted cloud photo albums!
Cryptographic Logic

How Does the RFC 6238 TOTP Algorithm Work?

Mathematical steps turning shared secrets and Unix timestamps into synchronized codes

The Time-Based One-Time Password algorithm (TOTP) is defined in IETF RFC 6238. It converts continuous timestamps into discrete 30-second counters and executes HMAC-SHA1 hashing:

Step 1

Time Step Quantization

Divide current Unix seconds by 30-second interval: T = floor(Epoch / 30)

Step 2

Base32 Decoding

Convert the Base32 string (RFC 4648) back into raw cryptographic key bytes.

Step 3

HMAC-SHA1 Hashing

Hash the 8-byte big-endian time counter with the secret key to yield a 20-byte digest.

Step 4

Dynamic Truncation

Use the lowest 4 bits of the last byte as an offset to extract a 31-bit unsigned integer.

Step 5

Modulo 10^6

Take modulo 1,000,000: Code = Value % 10^6, zero-padded to 6 digits.

Troubleshooting

Code Shows "Invalid"? 4 Common Causes

99% of 2FA validation errors arise from local clock drift or character confusion

1 System Clock Drift (Most Common)

If your computer or phone clock drifts by even 15 seconds, your code falls into a different time window. Solution: Enable "Set Time Automatically (NTP)" in your OS settings.

2 Base32 Character Confusion

Base32 contains A-Z and 2-7. It never contains 0, 1, 8, 9. Do not confuse letter O with number 0, or letter I/L with number 1.

3 Using an Outdated Secret

If you clicked "Reset 2FA" on the platform multiple times, previous keys become invalid instantly. Ensure you are using the most recently generated secret.

4 Timing Expiry During Submission

Submitting when the progress bar has only 1-2 seconds left may cause the code to expire in transit. Wait for a fresh 30-second cycle.

Ecosystem

Recommended Authenticator Apps

Choose the optimal 2FA client for your security workflow

Google Authenticator

Most Popular

Clean interface, supports Google Account cloud backup, or can be used in offline local-only mode.

Best for: Everyday users on Android and iOS.

2FAS (Open Source)

Recommended

100% open-source, zero data tracking. End-to-end encrypted backup to iCloud/Google Drive with browser extension pairing.

Best for: Privacy-focused individuals and developers.

1Password / Bitwarden

Productivity

Stores TOTP keys alongside passwords for seamless one-click auto-fill across all browsers and desktop apps.

Best for: Managing hundreds of enterprise accounts.
Soalan Lazim

Soalan Lazim (FAQ)

Jawapan terperinci mengenai keselamatan 2FA, operasi luar talian dan mod kelompok