Skip to content

SHA-512 #14

@bitmodeler

Description

@bitmodeler

I used a digest of SHA-512, and the codes generated were not consistent with Google Authenticator set to SHA-512, using the same shared secret. SHA-1? Works every time.

Here's what's interesting: I found the same discrepancy for a number of other python and [node] JavaScript totp implementations! Try it, and you'll see the same results. Works for SHA-1, but not SHA-512.

The Google Authenticator is this one:
https://github.com/Authenticator-Extension

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions