realized what I was doing wrong with the eliptic curve diffie hellman exchange