hexencode
hexdata = hexencode(data + dlen - TLSA_TAIL_SIZE, TLSA_TAIL_SIZE);
hexdata = hexencode(data, dlen);