The Diffie-Hellman functions can now do this adequately.