Genera HOTP

Genera dati secondo l'algoritmo o il formato definito da “Genera HOTP”.

Input: Testo (UTF-8) / Un fileRisultato: Testo

Inserimento di testo

Opzioni

Esempi

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.

Input

GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ

Expected checks

Case-insensitive
Contains "Password: 755224"
Contains "counter=0"
Nome
RFC4226-public-test
Lunghezza del codice
6
Contatore
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.

Input

GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ

Expected checks

Case-insensitive
Contains "Password: 287082"
Contains "counter=1"
Nome
RFC4226-public-test
Lunghezza del codice
6
Contatore
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.

Input

GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ

Expected checks

Case-insensitive
Contains "Password: 520489"
Contains "counter=9"
Nome
RFC4226-public-test
Lunghezza del codice
6
Contatore
9
Generate HOTP

Input

JBSWY3DPEHPK3PXP

Expected answer

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

Password: 282760
Nome
Account
Lunghezza del codice
6
Contatore
0
invalid base32 secret rejected

Input

not,valid|base32;input

Expected rejection

Message contains
Invalid secret. The input must be a valid base32 string (characters A–Z and 2–7).
Nome
Account
Lunghezza del codice
6
Contatore
0
special characters in name are URI-encoded

Input

JBSWY3DPEHPK3PXP

Expected answer

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

Password: 282760
Nome
user@example.com
Lunghezza del codice
6
Contatore
0

Parametri

ParametroValore predefinitoInput e opzioni
Nome"Account"Obbligatorio
Lunghezza del codice6Minimo: 6. Massimo: 8. Intero
Contatore0Minimo: 0. Intero

Strumenti correlati

Altro

Riferimento dell’operazione

Vedi la documentazione tecnica originale (English)