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
- Host: GitHub
- URL: https://github.com/johannesdeml/diffiehellmanexample
- Owner: JohannesDeml
- License: mit
- Created: 2021-05-11T09:19:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-11T09:23:23.000Z (over 4 years ago)
- Last Synced: 2025-02-13T22:45:43.976Z (8 months ago)
- Topics: certificates, csharp, diffie-hellman, dotnet, encryption
- Language: C#
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).