Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6047837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:23:45+00:00 2026-05-23T07:23:45+00:00

maybe some of you know Googles 2-Factor-Authentication; first Google generates a constant password (eg.

  • 0

maybe some of you know Googles 2-Factor-Authentication; first Google generates a constant password (eg. “abcd”).
If you login, you’re asked for a pin, an app can generate that or you can use one of 10 preset pins. The interesting part is, that you don’t have to use one pin, the app generates a random one without using network access.

How is that done? I know how to do it with one specific pin, but how could you use several “random” pins?

Thanks,
Marc

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:23:46+00:00Added an answer on May 23, 2026 at 7:23 am

    This is made possible by systems like HOTP (hash-based OTP). The RFC explains how it works in detail, but in short:

    1. The server generates a random secret key and shares it with the OTP generator.
    2. Both server and OTP generator initialize a counter to 0.
    3. When the user requests a new key from the OTP generator, it increments the counter, calculates the HMAC of it using the shared key, and encodes part of the hash in a specified way, resulting in a numeric code.
    4. When the server receives an OTP code, it performs the same calculation, accepting it if it matches. If it does not, it tries again with several other (larger) counter IDs in case the user skipped one or more IDs.

    Pre-generated lists of OTPs are simply produced as described above, ahead of time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know everyone who reads the question will think Firebug! right away. Maybe some
I'm wanting to use a plugin know as dropdown-check-list: http://code.google.com/p/dropdown-check-list/ However, some of its
Possible Duplicate: Hosted version of Twitter Bootstrap (maybe Google?) I want to know if
I know this question may be a duplicate of some other ones, but I
I know that this may be an amateur question but for some reason I
There maybe some simlar questions to this but I can't see anything that really
A question to maybe some who have worked extensively with WinUSB APIs or user
I Want Print DataBase Schema in Microsoft Sql Server Compact Edition. Maybe Exist Some
Does anyone have any advice how to write such app? Or maybe knows some
I want to ask you to provide me with some articles (maybe books), which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.