

btw is this "just the elliptic curve (Curve25519) to be used with Diffie-Hellman (not included)",
or is it a full "Elliptic Curve (Curve25519) + Diffie-Hellman"? im trying to get my head around it from http://en.wikipedia.org/wiki/Elliptic_c ... %93Hellman
I ask because the code seems mostly if not all about the Curve (its surprising but awesome how there isnt too much code!), and there's not much DH stuff but there is for example DHKeys struct, but im wondering if thats more a placeholder because at the start you use "salt n pepper" as Bob and Alice's shared secret, and it seems as long as the MITM doesnt know that then the channel is secure, but im wondering if Alice and Bob have to use Diffie-Hellman first before all this to establish what "salt n pepper" would actually be in real life?
^ or just a simpler way of asking the above...
Code: Select all
client = modEC::NewEC("salt n pepper") ;Create new EC context with out of channel passphrase
server = modEC::NewEC("salt n pepper")
thanks and sorry for my confusion!
