Is it possible to convert hex to base64 without using any library in python?
I don’t really use Python but here is a stackoverflow thread
Google
I have looked at the StackOverflow thread and google too. unfortunately, they use certain libraries
I thought you meant third-party libraries. What is the issue with importing the needed functionality?
Or are you asking how to do it using an algorithm without using any helpers at all?
sure, I want to write code without importing codecs or struct, etc. Basically I am looking for certain code that converts hex to base64
I’m (almost) sure the answer is yes to your original question but I’m guessing you are not looking for a yes or no answer.
I would suggest you look up “hex to base64 algorithm” and see if you can find the needed information to write your own code.
1 Like