HOTPを生成

“HOTPを生成” で定義されたアルゴリズムまたは形式に従ってデータを生成します。

入力: テキスト (UTF-8) / ファイル結果: テキスト

テキスト入力

ツールの設定

使用例

Reproduce three authenticator counter codes from the HOTP standard — step 1

Explain why counters produce different codes using published test keys, with no real authenticator secret.

入力

GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ

Expected checks

Case-insensitive
Contains "Password: 755224"
Contains "counter=0"
名前
RFC4226-public-test
コード長
6
カウンター
0
Reproduce three authenticator counter codes from the HOTP standard — step 2

Explain why counters produce different codes using published test keys, with no real authenticator secret.

入力

GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ

Expected checks

Case-insensitive
Contains "Password: 287082"
Contains "counter=1"
名前
RFC4226-public-test
コード長
6
カウンター
1
Reproduce three authenticator counter codes from the HOTP standard — step 3

Explain why counters produce different codes using published test keys, with no real authenticator secret.

入力

GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ

Expected checks

Case-insensitive
Contains "Password: 520489"
Contains "counter=9"
名前
RFC4226-public-test
コード長
6
カウンター
9
Generate HOTP

入力

JBSWY3DPEHPK3PXP

Expected answer

URI: otpauth://hotp/Account?secret=JBSWY3DPEHPK3PXP&algorithm=SHA1&digits=6&counter=0

Password: 282760
名前
Account
コード長
6
カウンター
0
invalid base32 secret rejected

入力

not,valid|base32;input

Expected rejection

Message contains
Invalid secret. The input must be a valid base32 string (characters A–Z and 2–7).
名前
Account
コード長
6
カウンター
0
special characters in name are URI-encoded

入力

JBSWY3DPEHPK3PXP

Expected answer

URI: otpauth://hotp/user%40example.com?secret=JBSWY3DPEHPK3PXP&algorithm=SHA1&digits=6&counter=0

Password: 282760
名前
user@example.com
コード長
6
カウンター
0

パラメーター

パラメーター既定値入力と選択肢
名前"Account"必須
コード長6最小値: 6. 最大値: 8. 整数
カウンター0最小値: 0. 整数

関連ツール

その他

操作の参考資料

元の技術文書を見る (English)