Skip to content

dimankiev/ECC-ECDHE-Chat-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECC-ECDHE-Chat-Example

Lines of Code Maintainability Rating Reliability Rating Vulnerabilities Security Rating
Example of the ephemeral form of ECDH exchange with forward secrecy

Features

  • Re-usable core crypto module
  • ECDH Exchange (+ Key derviation) with manual key rotation for ephemeral encryption
  • AES Encryption/Decryption
  • CLI UI

Future

  • (In progress) Session management
  • (TODO) Semi-auto exchange using tunnels (peer-to-peer)
  • (TODO) GUI

Prerequisites

  1. pip install cryptography
  2. python main.py

Usage

  1. Share your pubkey to your peer (end party)
  2. Enter your peer pubkey to terminal input
  3. Use encrypt to encrypt your text message, decrypt to decrypt, rotate to rotate keys

About

Example of the ephemeral form of ECDH exchange with forward secrecy

Topics

Resources

License

Stars

Watchers

Forks

Languages