mdp/rotp — pull request #12 by daveio (2013-06-27 08:03:29+00:00)
Title: Produce fixed-length TOTPs, especially for sites that require six digits

A quick hack, if it's useful to me then it's probably going to be useful to someone else. Because we're zero-prefixing, TOTP#now_padded returns a string rather than TOTP#now which returns an integer.