projet crypto
Go to file
Lyanis Souidi 99075072b5
Release / build (push) Successful in 6s Details
Add CI release
2024-04-07 22:10:51 +02:00
.gitea/workflows Add CI release 2024-04-07 22:10:51 +02:00
inc Initial commit 2024-04-06 14:13:39 +02:00
lib Initial commit 2024-04-06 14:13:39 +02:00
src Initial commit 2024-04-06 14:13:39 +02:00
.gitignore Initial commit 2024-04-06 14:13:39 +02:00
Makefile Initial commit 2024-04-06 14:13:39 +02:00
README.md Add CI release 2024-04-07 22:10:51 +02:00

README.md

Cryptographie RSA

Programme de cryptographie RSA utilisant la bibliothéque bign afin de générer des clés, chiffrer et déchiffrer des entiers en hexadécimal et des fichiers.

Téléchargement

Vous pouvez télécharger les exécutables précompiliés ici : https://grond.iut-fbleau.fr/souidi/SAE44_2023/releases/latest

Build

make build

Les exécutables se trouvent dans le dossier bin.

Utilisation

Génération de clé

./key_gen rsa.key rsa.key.pub

Chiffrement d'un entier

./crypt_rsa -e rsa.key.pub entier.txt entier.txt.rsa

Déchiffrement d'un entier

./crypt_rsa -d rsa.key entier.txt.rsa entier.txt

Chiffrement d'un ficher

./crypt_rsa -e rsa.key.pub fichier.txt fichier.txt.rsa

Déchiffrement d'un ficher

./crypt_rsa -d rsa.key fichier.txt.rsa fichier.txt

Auteurs

  • Hugo Dimitijevic
  • Lyanis Souidi