/TTTOTP

Tiny Trinket Time-Based One-Time Password

Primary LanguageArduino

TTTOTP

Tiny Trinket Time-Based One-Time Password

Purpose: This project uses an Adafruit Trinket Pro, LED backpack and a DS1307 RTC breakout board to generate a TOTP hash.

This project uses the following libraries

Hardware:

Challenges:

  • Learning the Arduino programming environment
  • Interfacing with hardware
  • Displaying a 6 digit number on a 4 digit display is a challenge.

Notes:

  • The return value of Sha1Class::write() and Sha256Class::write() needed to be updated to return size_t.
  • ifdefs need to be worked out as the test code was developed on a Sparkfun Redboard but used on an Adafruit Trinket Pro