TOTP اور HOTP

TOTP (وقت پر مبنی ون ٹائم پاسورڈ، RFC 6238) اور HOTP (HMAC پر مبنی ون ٹائم پاسورڈ، RFC 4226) دو RFC ہیں جنہیں ہر 2FA اندراج QR نافذ کرتا ہے۔ انکوڈ شدہ otpauth:// URI اسکیم Google Authenticator کا عملی معیار ہے, ہر بڑی تصدیقی ایپ میں مستعمل۔

TOTP خصوصیات:RFC 6238 (time-based, 2011).
HOTP خصوصیات:RFC 4226 (counter-based, 2005).
URI اسکیم:Google Authenticator Key URI Format, the format every authenticator agrees on.

یہ کیا ہے

2FA اندراج QR ایک URL ہے otpauth:// اسکیم میں جو مشترکہ راز اور شناختی میٹا ڈیٹا رکھتا ہے۔ فارمیٹ:

otpauth://TYPE/LABEL?secret=SECRET&issuer=ISSUER&algorithm=ALG&digits=N&period=SEC

معیاری ٹیسٹ ویکٹرز

CaseInputsExpected otpauth:// URI
TOTP, minimal (SHA1, 6 digits, 30 s)issuer=GitHub
account=alice@example.com
secret=JBSWY3DPEHPK3PXP
otpauth://totp/GitHub:alice@example.com?secret=JBSWY3DPEHPK3PXP&issuer=GitHub
TOTP, SHA256, 8 digitsissuer=Corp
account=bob
secret=JBSWY3DPEHPK3PXP
algorithm=SHA256
digits=8
otpauth://totp/Corp:bob?secret=JBSWY3DPEHPK3PXP&issuer=Corp&algorithm=SHA256&digits=8
HOTP, counter=0issuer=YubiKey
account=carol
secret=JBSWY3DPEHPK3PXP
counter=0
otpauth://hotp/YubiKey:carol?secret=JBSWY3DPEHPK3PXP&issuer=YubiKey&counter=0
TOTP, RFC 6238 reference secretissuer=Example
account=test
secret=GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ
digits=8
Standard RFC test secret (12345678901234567890). Produces TOTP 94287082 at T=59 s.

لائیو Base32 راز تصدیق کار

تصدیقی ایپس Base32 حروف تہجی (A-Z، 2-7) سے باہر کچھ بھی ہونے پر رازوں کو مسترد کر دیتی ہیں۔ نیچے وہی تصدیق کار ہے جو Abundera TOTP جنریٹر کے اندر چلاتی ہے, آپ کے براؤزر میں۔

تصدیق کے لیے ایک راز داخل کریں۔

عام غلطیاں

تصدیقی ایپ مطابقت

AppTOTP SHA1TOTP SHA256/512HOTP8-digitNotes
Google AuthenticatorYesIgnoredYesIgnoredThe de facto baseline. Always targets this first.
1PasswordYesYesYesYesFull RFC support.
AuthyYesYesNoYesDrops HOTP in newer versions.
BitwardenYesYesYesYesFull RFC support.
Microsoft AuthenticatorYesYesYesYesFull RFC support.
YubiKey AuthenticatorYesYesYesYesHOTP is the canonical YubiKey mode.
Duo MobileYesIgnoredNoIgnoredUses its own push flow; TOTP is fallback only.

یہ بھی دیکھیں

خصوصیات کے حوالہ جات 2026-04-18 کو تصدیق شدہ۔ RFC 6238 (2011)، RFC 4226 (2005)، Google Key URI Format۔