Understand It With Books

Time-Based One-Time Passwords: A Primer in C#

by Tim Patrick • June 2019

Time-Based One-Time Passwords (TOTP) add an extra level of security around your vital electronic data. Traditional passwords once provided a reasonable barrier between protected content and data thieves. But massive data breaches and published lists of the most commonly used pass codes have reduced the effectiveness of such simple locks.

Time-Based One-Time Passwords: A Primer in C# introduces you to the TOTP algorithm, a great tool for enhancing existing password-only systems. Security experts have long encouraged the use of Two-Factor Authentication (2FA) methods, including TOTP, as a supplement to simple passwords. Fingerprint recognition and other biometric solutions require costly hardware or complicated integrations, but TOTP is a simple, straightforward process that developers can incorporate into authentication systems on any platform.

In this book, you will learn how TOTP works, why it is important, and how you can use it.

  • Discover the industry-accepted standards that provide the foundation for TOTP.
  • Learn the coding tasks required to incorporate TOTP into your system.
  • Understand how one-time pass codes will impact the user's sign-in experience.
  • Review the modern, easy-to-read source code and its straightforward implementation of TOTP.

The book includes a downloadable C# / .NET companion project. Not only will the project enhance your understanding of TOTP, it also provides a useful starting point for your own 2FA implementations.

From new security requirements in your organization to mere curiosity about how the TOTP system works, Time-Based One-Time Passwords: A Primer in C# will fulfill your technical requirements.

Now Available!

Time-Based One-Time Passwords is now available for purchase in ebook formats from Amazon Kindle, Barnes & Noble, Apple Books, Kobo, and other popular booksellers.

Sample Source Code

Use the following link to download the source code for the book as a ZIP archive.

Once downloaded, you can manually extract the contents into any folder you choose.

Author Links

Contact Tim Patrick by email at tim@timaki.com.

Copyright (c) 2015-2021 by Owani Press. Site Information.