Author CABOS Matthieu
Release Date 21/09/2021
Raptor Cryptographic Algorithm Official Full Source Code and Documentation Distribution Repository
This work project have been released under Licence GNU General Public License v3.0
Project release @ CNRS laboratory ICGM - Montpellier, FRANCE
Source Code release @ CNRS laboratory INRAE/TSE - Toulouse, FRANCE
Only for security tools as :
- stream crypting
- autentification security
- network protection
- vpn tunnelling
- cryptographic procedure
- software protection
WARNING : i don't support any other use, this work is under GNU General Public License v3.0 from CNRS-FRANCE
USE WITH EXTREME CAUTION
Build the html Documentation from the make html
command.
The full printable pdf is avaible inside the Repository.
See Full documents @ : https://raptor-cryptographic-algorithm.readthedocs.io/en/latest/
Each algorithm can be indepedantly compiled via the command
python3 -m nuitka --follow-imports <Algorithm_to_compile>
This compilation need the nuitka module, avaible using the following command :
pip install nuitka
To use, you can test each algorithm individually using the simple command
python3 <algorithm to execute>
If you want to automate the process, use the Shell Script Automate.sh found in the Crypto-Automation Repertory
This script use the Expect command, can be found using the command :
sudo apt-get install -y expect
The Shell Script must be use with the following syntax :
./Automate.sh 1 1 Data_as_string_to_crypt
./Automate.sh <Mode> <Algorithm> <Data_as_string_to_crypt>
We should also use the Automate_v2.sh with the following syntax :
./Automate_v2.sh <mode> <Algorithm> <Slice size> <Data_as_string_to_crypt>
and will produce two file : Crypted.txt and Key.txt representing the crypted data.
Automate_v0.sh should be use as proof.
./Automate.sh 2 1
./Automate.sh <Mode> <Algorithm>
will read the Crypted.txt and Key.txt files and will produce a res.txt containing uncrypted string.
To uncrypt the Crypted.txt and Key.txt generated from the Automate_v2, please to use the following syntax :
./Automate_v2.sh <mode> <algorithm>
Results are shown as line by line result, wich can be colmated removing '\n' instances using the Clear_res.py Script.
python3 Clear_res.py
It will give the clear text.
basetestrecursivev2.py = RAPTOR CRYPTOGRAPHIC ALGORITHM V1
basetestrecursivev3_longchaine.py = RAPTOR CRYPTOGRAPHIC ALGORITHM V2
basetestrecursivev4_longchaine.py = RAPTOR CRYPTOGRAPHIC ALGORITHM V3
basetestrecursivev4.2_longchaine.py = RAPTOR CRYPTOGRAPHIC ALGORITHM V4
basealternativev1.py = RAPTOR CRYPTOGRAPHIC ATERNATIVE ALGORITHM V1
basealternativev2.py = RAPTOR CRYPTOGRAPHIC ATERNATIVE ALGORITHM V2
For any support request, contact @ matthieu.cabos@umontpellier.fr