I am playing around with converting Hex value into Base64.
By using notepad++ convertion, for exemple, the value FB
in Hex is RkI=
in Base64
and if I use http://tomeko.net/online_tools/hex_to_base64.php?lang=en
I get a different value equal to: +w==
Actually, this value is the correct one because I get the same value when I just calculate this convertion using a paper and a pen :D
Could anyone please explain how notepad++ make this convertion!?
The trick was that by converting the HEX directly in notepad++, It's taken as a ASCII value not as A HEX Value as intended.
So we need to converted first the HEX --> ASCII then ASCII --> BASE64
1/ Select the string
2/ Using Notepad++ menu: Plugins -> Converter -> HEX -> ASCII
3/ Plugins -> MIME Tools -> Base64 Encode
and we get the needed value
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With