I am trying to create a shared secret using the ECDH-P-256 algorithm using the bouncy castle (c#) API. I need to use 2 static keys to generate this. These will then get hashed with some other (varying) data to produce a new key.
Does anyone know how to perform ECDH by using the C# API? I have been looking for a while and can only find code that uses Java.