When verifying a presented code, you must use the exact same hashing algorithm that was specified if the QR code was produced for the secret, or else the consumer submitted codes will not match.
employs, for example https://nettiejehh066505.blogsmine.com/29978528/a-secret-weapon-for-javatoto-login