How are one-time password generators like Google Authenticator different from having two passwords?

Google Authenticator uses the TOTP algorithm to generate your One-Time Password (OTP). TOTP works like this : The server generates a secret key and shares with the client (you) when the client registers with the server. Using… Continue reading How are one-time password generators like Google Authenticator different from having two passwords?

Two-factor authentication on Galaxy Watch – should secrets be encrypted, and is this SQLite example secure?

I recently got a Galaxy Watch and to get acquainted with developing apps for it I’m writing a simple two factor authenticator to generate TOTP codes from entered secrets using the Google Authenticator algorithm. I found this … Continue reading Two-factor authentication on Galaxy Watch – should secrets be encrypted, and is this SQLite example secure?