← Home

Cryptography P2P Chat

A secure chat application using cryptography and peer-to-peer.

Technologies Used

🔒 AES-GCM🔑 X25519 Key Exchange🌐 Windows Forms (C#)📡 Peer-to-Peer Connection🖥️ HMAC Authentication

Introduction

This group project started as a simple encrypted chat for my Advanced C# class, but it led John Nasitem [link pending] and I to deep dive into the world of cryptography.We used the X25519 key exchange algorithm to establish a shared secret between peers, and AES-GCM for encrypting messages. The project was built using Windows Forms in C#. This project taught us a ton about modern cryptography and how to implement it in a real-world application.Personally, it led me down a rabbit hole of learning about the mathematics behind ECDH (Elliptic Curve Diffie-Hellman) and the various curves used in modern cryptography. Prior to this, I had a basic understanding of cryptography from many Abstract Algebra and Rings/Modules classes, but this project really solidified my understanding.
© 2025 Philip Janik. All rights reserved.
LinkedIn