1. Georgios Papageorgiou
  2. PowerBuilder
  3. Saturday, 10 February 2018 13:34 PM UTC

Hi PowerSphere.

 

Was wondering if someone implemented the "TOTP: Time-Based One-Time Password Algorithm" (RFC 4226) or the "HOTP: An HMAC-Based One-Time Password Algorithm (RFC 6238)

Like this https://github.com/glacasa/TwoStepsAuthenticator/blob/master/README.md


 

Https://en.wikipedia.org/wiki/HMAC-based_One-time_Password_Algorithm

https://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm

 

Regards

Georgios

Accepted Answer
Roland Smith Accepted Answer Pending Moderation
  1. Saturday, 10 February 2018 18:48 PM UTC
  2. PowerBuilder
  3. # Permalink

I have an example of using the BCrypt API for encryption. It supports HMAC which is at the root of these schemes.

http://www.topwizprogramming.com/freecode_bcrypt.html

I didn't read the RFC that closely but it appears that it incorporates some sort of timestamp so that the decrypting routine can tell how old the password is.

 

Comment
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.