public-key crypto as kristofferR pointed out, but it&#x27;s so common nowadays that people don&#x27;t realize how weird of a concept it might have been a few decades ago.<p>Last year I came across a &quot;fair&quot; version of the Socialist Millionaires problem. How can two persons interact with one another to compare their bank statement. If you think about it, you might consider that in any interaction, a party might abort the exchange as soon as he learns the result and would then have an advantage over the other party. But not too long ago cryptography found a way to make this fair :) (<a href="https:&#x2F;&#x2F;www.cryptologie.net&#x2F;article&#x2F;279&#x2F;how-to-fairly-compare-two-objects&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.cryptologie.net&#x2F;article&#x2F;279&#x2F;how-to-fairly-compar...</a>)