I need to convert a hex number to a base32 number for creating a QR code to use Google Authenticator (or like) for Multi-Factor Authentication. I've found lots of online tools, but no code I can actually put in my program.
Example: If I get a hex number like this: df235768fe4365e6fa3a0a49325d14fb1bc24be1
I need to convert it to the base32 equivalent: 34RVO2H6INS6N6R2BJETEXIU7MN4ES7B
Perhaps I need to go from hex to decimal to base32? Anyone have any advice?
Many thanks in advance!
Example: If I get a hex number like this: df235768fe4365e6fa3a0a49325d14fb1bc24be1
I need to convert it to the base32 equivalent: 34RVO2H6INS6N6R2BJETEXIU7MN4ES7B
Perhaps I need to go from hex to decimal to base32? Anyone have any advice?
Many thanks in advance!