To convert hexadecimal to base64, follow these steps:
Example:
Convert the hexadecimal value "1A3" to binary:
Group the binary digits into groups of 6:
Convert each group of 6 binary digits into the corresponding base64 character:
Add padding characters if necessary. Since the binary value was not evenly divisible by 6, we added one "=" padding character at the end of the base64 value.
Therefore, the hexadecimal value "1A3" is equal to the base64 value "Gp=".
Asked: 2021-05-11 11:00:00 +0000
Seen: 15 times
Last updated: Jun 01 '21