Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cpscript/ecdh
- Owner: CPScript
- Created: 2024-10-09T15:38:03.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-06T16:54:30.000Z (7 days ago)
- Last Synced: 2024-11-06T17:45:46.154Z (7 days ago)
- Topics: chat-application, chat-client, ecdh, encrpytion, haskell, http-encrypt
- Language: Haskell
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.