When verifying a supplied code, you should use the exact same hashing algorithm that was specified if the QR code was generated for The key, normally the user submitted codes won't match.
Java is usually a https://rsawrtj024645.blog-kids.com/29690194/java-toto-an-overview