The 100% console based secure messaging program.
Alle encryptie methodes: send, recv, close en accept staan in hai_core.py
.
De rest van de code is voor de console app.
This program was tested using python 3.11.6
.
Make a new virtual environment and instal the required packages
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
Then start the program in hai.py
.
python3 hai.py
You can configure the program in hai.py
.
Keys will be automatically generated. You can generate your own keys using
the create_keys.sh
program.
chmod +x create_keys.sh
./create_keys.sh
Then change the PRIVATE_KEY
and PUBLIC_KEY
settings in settings.py
.
Note: Keys have to be encoded in PEM format and use an elliptic curve.