added hex string/data conversions