🔑 2FA Dynamic Code Generator
Menyokong mod kunci tunggal dan mod kelompok berbilang baris · Kira detik langsung 30 saat
Muat semula automatik setiap 30 saat
Imbas dengan Google Authenticator atau aplikasi 2FA lain untuk memadankan
Kod Kelompok Dijana
0 sah 30sSemua 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.
Panduan Keselamatan & Pengukuhan 2FA Pilihan
Pematuhan kriptografi standard tinggi dan privasi pengguna tanpa kompromi
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.
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.
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.
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.
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.
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.
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.
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 |
Platform Setup Guides & Backup Rules
How to enable 2FA and preserve recovery keys on major platforms
Go to Settings -> Password and authentication -> Two-factor authentication. Click Enable 2FA, choose "Set up using an app", and copy the Base32 plaintext key.
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.
Under Security -> Authenticator App, click Enable. Write down the 16-character Reset Key on paper and store it in a physical safe.
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:
Time Step Quantization
Divide current Unix seconds by 30-second interval: T = floor(Epoch / 30)
Base32 Decoding
Convert the Base32 string (RFC 4648) back into raw cryptographic key bytes.
HMAC-SHA1 Hashing
Hash the 8-byte big-endian time counter with the secret key to yield a 20-byte digest.
Dynamic Truncation
Use the lowest 4 bits of the last byte as an offset to extract a 31-bit unsigned integer.
Modulo 10^6
Take modulo 1,000,000: Code = Value % 10^6, zero-padded to 6 digits.
Code Shows "Invalid"? 4 Common Causes
99% of 2FA validation errors arise from local clock drift or character confusion
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.
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.
If you clicked "Reset 2FA" on the platform multiple times, previous keys become invalid instantly. Ensure you are using the most recently generated secret.
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.
Recommended Authenticator Apps
Choose the optimal 2FA client for your security workflow
Google Authenticator
Most PopularClean interface, supports Google Account cloud backup, or can be used in offline local-only mode.
2FAS (Open Source)
Recommended100% open-source, zero data tracking. End-to-end encrypted backup to iCloud/Google Drive with browser extension pairing.
1Password / Bitwarden
ProductivityStores TOTP keys alongside passwords for seamless one-click auto-fill across all browsers and desktop apps.
Soalan Lazim (FAQ)
Jawapan terperinci mengenai keselamatan 2FA, operasi luar talian dan mod kelompok
Sama sekali tidak. Alat ini beroperasi 100% di bahagian klien (dalam pelayar anda sendiri). Penyahkodan Base32 dan pengiraan cincangan HMAC-SHA1 dijalankan secara eksklusif dalam memori peranti melalui Web Crypto API standard W3C.
Kunci rahsia anda tidak pernah dihantar ke pelayan. Anda boleh mengesahkannya melalui tab Rangkaian (F12) atau menggunakan mod luar talian (kapal terbang).
Ya, sepenuhnya serupa 100%. Alat ini mematuhi piawaian antarabangsa IETF RFC 6238 (TOTP) dengan tepat.
Dengan kunci rahsia Base32 yang sama dan masa yang disegerakkan, kod 6 digit yang dijana akan sepadan secara tepat dengan Google Authenticator, 1Password, Bitwarden atau Microsoft Authenticator.
Dengan menambahkan kunci pada hujung URL seperti https://2fa-tool.com/ms/#JBSWY3DPEHPK3PXP, laman web akan mengecam kunci dan menjana kod serta-merta.
Berdasarkan protokol HTTP, kandungan selepas tanda '#' tidak akan dihantar ke pelayan web dan diproses sepenuhnya dalam pelayar setempat. Anda hanya perlu berhati-hati agar tidak berkongsi pautan tersebut dengan orang lain.
Mod kelompok menerima satu akaun bagi setiap baris dan menyokong kunci Base32 tulen, format Label: Kunci, Nama, Kunci atau pautan URI piawai otpauth://totp/....
Anda boleh memproses puluhan akaun serentak dan menyalin semua kod dengan satu klik sahaja.
Ya, reka bentuknya responsif sepenuhnya. Sama ada anda menggunakan Safari pada iPhone atau Chrome pada Android, anda dapat menikmati kelajuan pengiraan kriptografi Web Crypto API dan salinan satu ketukan yang lancar.
Base32 ialah piawaian pengekodan yang direka untuk kebolehbacaan manusia, hanya menggunakan 32 aksara: huruf A-Z dan angka 2-7. Ia sengaja menyingkirkan aksara yang mengelirukan seperti 0, 1, O dan I.
Alat kami secara automatik membersihkan ruang kosong, tanda sempang dan padding '='.
Ya. Semua skrip dan gaya dihoskan secara setempat. Sebaik sahaja halaman dimuatkan dalam pelayar anda, anda boleh memutuskan sambungan Wi-Fi atau mengaktifkan Mod Pesawat; alat ini akan terus menjana kod TOTP masa nyata hanya berpandukan jam dalaman peranti anda.
Perkhidmatan ini 100% percuma. Tiada pendaftaran pengguna, log masuk atau maklumat peribadi (seperti e-mel atau nombor telefon) yang diperlukan sama sekali. Anda boleh menggunakannya pada bila-bila masa tanpa sebarang sekatan.