def to_hex_string(string: str) -> str:
    """Converts UTF-8 string into its hex representation
    :param string: str
        The string to convert to hex
    :return:
        Hex representation of the given string
    """
    return string.encode('utf-8').hex()