I want to convert a base16 string to base32 String. For example, if i have a base-16 String -- "000000000288" now i want to convert it to it base-32 counterpart ("K-8").
There is a website which does it:
I think that you can do it this way:
int number = Integer.parseInt("000000000288", 16);
String base32 = Integer.toString(number, 32);
Edit: Sorry, I forgot to add the radix parameter to the first line. I have changed it now.