Converts the object to a hexadecimal string.
String toHex() { return BytesUtils.toHexString(toBytes()); }