I know how this basically works. Both sides have a private key. Then each side sends it's public key which can only be decoded by the private keys.
My question is,
Each side, after working out the private/public key exchange, has to end up with the same values between them.
Does this mean that both sides start off with the same value for both the private and public ??
Where does each side get the value for each key ?? It cant be randomly generated can it, as both sides have to calculate to the same value.
Hope you understand my question, as I know the theory, but cant understand where both ends start with the numbers they need. ( i.e. Group 5, is that a pool of values or just one ? )
OK, getting really confused now, please can someone help !!!