Presenting HMAC-Based OTP and Time-Based OTP

I could not find a .NET implementation of the HMAC-Based One Time Password (HOTP) algorithm as specified in RFC4226 so i decided to write one myself. Because the Time-Based OTP (TOTP) algorithm is an application of HOTP, more specifically: TOTP = HOTP(K, T) with T = (Current Unix time – T0) / Timestep, i have implemented that algorithm too.

You can find both Be.Timvw.Framework.Security.HmacOneTimePassword and Be.Timvw.Framework.Security.TimeOneTimePassword in the BeTimvwFramework. For more information about authentication i would recommend the specifications and technicals resources at the OATH.

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackbacks and Pingbacks: