An open API service indexing awesome lists of open source software.

https://github.com/johannesdeml/diffiehellmanexample

Tutorial on how to use ECDiffieHellmanCng in combination with certificates to establish a trusted shared secret
https://github.com/johannesdeml/diffiehellmanexample

certificates csharp diffie-hellman dotnet encryption

Last synced: 6 months ago
JSON representation

Tutorial on how to use ECDiffieHellmanCng in combination with certificates to establish a trusted shared secret

Awesome Lists containing this project

README

          

# Diffie Hellman Example .NET

Showing how to create and use **Certificates**, use **ECDiffieHellmanCng** to establish a shared secret and use **AES** encryption with a random initialization vector to encrypt a secret message.

This method enables establishing a shared secret over an untrusted connection. The certificate ensures, that the client can know that it does the exchange with a trusted source (server).