Adds sanitization for hex strings to be b58c encoded.