Many options are endless. For example, imagine that the third set is a hash of the original data with the known algorithm, but with an unknown salt. So brute force does not work, no data needed.
Describe the format of the incoming and outgoing data, show examples of known you the features of the algorithm and so on. Then maybe you can say something specific.