Snippets tagged “apache-commons-codec”
1 snippet uses this tag.
- Converting A String To Hexadecimal In JavaJava
To convert a string to a hexadecimal string in Java, you can use the encodeHexString method of the org.apache.commons.codec.binary.Hex class.