Can we convert a string to hexadecimal in java
If yes how can we do this?
I find this to be an easy way to convert String to Hex Java:
public String hexToString(String hexa) {
return Integer.toHexString(Integer.parseInt(hexa));
}