import binascii


def print_hex(hbyte):
    """
    print a hexadecimal byte in ascii
    """
    if hbyte == b'\x00':
        out = '00'
    else:
        out = binascii.b2a_hex(hbyte).decode('utf-8')

    def encrypt(string, length):
        return ' '.join(string[i:i+length] for i in range(0, len(string),
                                                          length))

    return encrypt(out,2)