I was experimenting with toCharArray() and found some strange behavior.
toCharArray()
Suppose private static final char[] HEX_CHARS = \"0123456789abcdef\".toCha
private static final char[] HEX_CHARS = \"0123456789abcdef\".toCha
The strange output is the toString() of the char[] type. for some odd reason, java decided to have a useless default implementation of toString() on array types. try Arrays.toString(HEX_STRING) instead.
char[]
Arrays.toString(HEX_STRING)