The Diffie-Hellman functions can now do this adequately.
[u/mdw/catacomb] / key-pack.c
2000-06-17 mdwPacking and unpacking structured keys.