Use lowercase presentation for hex values as it is done in the JDK. Use JDK functionality where available.