xdiff-interface: export comparing and hashing strings