GoogleAuthenticator
GoogleAuthenticator copied to clipboard
TOTP and HOTP, Base 32 Standard
- Google Authenticator Supports both TOTP and HOTP! Why don't you Implement both.
- Base32 function should be separated and use this repo https://github.com/ChristianRiesen/base32 (as that is a standard by required RFC)
+1
I guess TOTP is used much more often than HOTP... A Pull Request with a HOTP implementation would be awesome!
The built-in _base32Decode() function works fine, I'm not sure why to add a dependency to this project, just to get the same result. I don't see an advantage. Currently you can just copy the file PHPGangsta/GoogleAuthenticator.php and start your work, if you don't like composer for example. With an external dependency it gets more complicated.