implemented ecdh tester