I have a string say
which has been encoded to hex. So when run
>>> b6 = 'FhY='
This is a hex string that once converted should be
. This result has been proven on the site https://conv.darkbyte.ru/
. However, I cannot seem to do a proper conversion from base64 to decimal representation. Some of the challenges I am facing are
- Expectation of decimal being an int. I just want base 10
- Incorrect values. I have tried the following conversions
(Convert a base64 encoded string to binary),
base64 > base16
(Convert hex string to int in Python) both of which have failed.
base64 > binary > decimal