I am trying to convert a string like \"testing123\" into hexadecimal form in java. I am currently using BlueJ.
And to convert it back, is it the same thing except b
To go the other way (hex to string), you can use
public String hexToString(String hex) { return new String(new BigInteger(hex, 16).toByteArray()); }