This example demonstrates how to perform a Diffie-Hellman Key Exchange in Swift using CryptoKit
to implement a basic end-to-end encryption model between two peers.
Read the full article with explanations here: End-to-End encryption in Swift
To run the example code, just clone the repository and execute the package:
git clone https://github.com/SekiMondre/E2E-EncryptionBasics.git
cd E2E-EncryptionBasics
swift run