|
Forums -> Security Library Forum
|
by Chris Wilson [chrwil at aent dot com] posted on 2004/07/26 |
|
I've got their public key and my public and private key (samples supplied by vendor). Where do I put what in order to come up with the "shared secret"? |
by Pieter Philippaerts [Pieter at mentalis dot org] posted on 2004/08/05 |
|
It depends of the format you use for your Diffie-Hellman keys. Without telling me more about the structure of the keys you're talking about, I can't help you. |
by Chris Wilson [chrwil at aent dot com] posted on 2004/08/24 |
|
Thanks Pieter, I've got it working by trial and error and am able to encrypt/decrypt with another party that is using the OpenSSL package. Right now I'm trying to create my own public/private key pair. The other party and I have agreed on a large P and a G. I pass 0 as my length. I then call CreateKeyExchange(). What is this value? The public or the private? Then I call DecryptKeyExchange("value from CreateKeyExchange"). I assume this is the other key.
I just want to verify which key is which. |
|
|