The project allows to encrypt and decrypt text file by Cryptography based on delayed chaotic neural networks.
The secrete key of this cryptosystem is (g1, g2, a1, a2, T12, T21, k1, k2, and number of transient iterations N0) must be kept secrete.
The trajectory of state variables x1(t), x2(t) as below:
Iterate 100 times
Iterate 500 times
Iterate 1000 times
Iterate 10000 times
Python language with version 3.x
Then setup environment:
pip install numpy
pip install matplotlib
From terminal type following command line to run:
python3 main.py --type type-crypt --file path/to/filename/to/crypt
- Change "type-crypt" to "enc" if you want to encrypt file, else "dec" to decrypt file.
- Change "path/to/filename/to/crypt" to file name you want to do crypt