Add ability to specify case for hex strings