Public-key encryption was supposedly invented at GCHQ by James Ellis, Clifford Cocks and Malcolm Williamson in 1975, one year before Diffie and Hellman published their paper. The work had to be kept secret though, so they never published it.
My guess is that if it was not published at the time of discovery, there's no way to know for sure whether Ellis actually invented it before Diffie and Hellman.
The irony is that such a scheme for publicly disclosing proof you have a piece of data without immediately publishing the data requires public key cryptography and digital signatures to be public knowledge. [0]