Kan det vara Första kontakten (novelette) ?
The story ends with each crew taking over the other's ship. Naturally, before leaving their own ship they are able to remove everything which might point back to their home world. Each stands to benefit from the new technology on the other's ship. Each keeps the other race's fiction library to gain insight into their thinking. They agree to repeat the encounter at the same location some time in the future.