Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cpscript/ecdh

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.
https://github.com/cpscript/ecdh

chat-application chat-client ecdh encrpytion haskell http-encrypt

Last synced: 6 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

## 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.