Skip to content

kappa7194/otp

Repository files navigation

One-Time Password

This .NET library allows two factor authentication using either HOTP or TOTP.

A NuGet package is available at https://www.nuget.org/packages/Albireo.Otp/

License

This project is licensed under the MIT license, you can find a copy of the license in the LICENSE.txt file.

Requirments

  • Microsoft Visual Studio 2013
  • Code Contracts

Credits

The Otp class has been adapted from Nathan Adams' OTPNet project and it has been re-licensed under the MIT license with permission from the author. Its full copyright chain is listed below.

The tests vectors for the HOTP implementations are taken from RFC 4226's Appendix D.

The tests vectors for the TOTP implementations are taken from RFC 6238's Appendix B.