Skip to content
/ ECDH Public

A chat client made in HASKELL that uses the "Elliptic Curve Diffie-Hellman (ECDH) key exchange protocol" to establish a secure connection between two users. This is a one file script that includes a server and a user client and allows multiple users to message secrets using SHA-256 and AES-256 for encription and decryption.

Notifications You must be signed in to change notification settings

CPScript/ECDH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Features

  • Secure key exchange using ECDH protocol
  • Symmetric encryption using AES-256
  • Simple chat interface for sending and receiving messages

Requirements

  • Haskell compiler (e.g. GHC)
  • crypto and network libraries

Usage

  1. Compile the code using ghc ECDHChat.hs
  2. Run the server using ./ECDHChat server
  3. Run the client using ./ECDHChat client
  4. Follow the prompts to enter your username and the server's username
  5. Send and receive messages securely using the chat interface

extra

  • Made by - CPScript
  • This code is released under the MIT License. See LICENSE for details.

About

A chat client made in HASKELL that uses the "Elliptic Curve Diffie-Hellman (ECDH) key exchange protocol" to establish a secure connection between two users. This is a one file script that includes a server and a user client and allows multiple users to message secrets using SHA-256 and AES-256 for encription and decryption.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published