News for hackers. Stuff that matters.
Re:Behind the 6-digit code: Building HOTP and TOTP from scratch by coolThingsFirst on Tuesday April 15, 2025 @12:31PM (#43695209)
> Like the traditional password authentication approach, the user and the authority (server) still needs to agree on a common secret key.

Not sure what you mean by this, the server checks the hashed version of the password.

Re:Behind the 6-digit code: Building HOTP and TOTP from scratch by dogacel on Tuesday April 15, 2025 @01:55PM (#43696261)
Hashing is done before storing the secret on the server side. Therefore they still need to communicate regarding the intial secret.