Code base obscuration (for images) 1.0
It implements different obscuration methods on portable images (.pgm and .ppm)
|
It implements different obscuration methods on portable images (.pgm and .ppm). Repository dedicated to an internship in the ICAR team at LIRMM.
Firstly, you need to clone or download the project. Through your usage, we recommend to git pull
to update the project.
Then, install g++
version 11.
You maybe need to install make
, so use the command :
In order that you can compile to each modification, they have at your proposal the make
programs in folders main
, use the command :
In progress...
In progress...
In progress...
The image to encrypt or to decrypt can be specify after the key or the options, or at the end.
Encryption mode where you specify p and q arguments. p and q are prime number where pgcd(p * q,p-1 * q-1) = 1.
-k
or -key
to specify usage of private or public key, followed by file.bin
, your key file.
Encryption mode where you specify your public key file with format .bin
.
Decryption mode where you specify your private key with format .bin
. The option `-k
is optional, because it's obligatory to specify private key at decryption.
-distribution
or -distr
ou -d
to split encrypted pixel on two pixel.
-histogramexpansion
ou -hexp
to specify during encryption that we want to transform the histogram befor image encryption.
-optlsbr
or -olsbr
to specify that we want to use bit compression with encrypted through optimized r generation.
WARNING : You can't combine -distribution
and -optlsbr
, if you do that the priority is -optlsbr
.
👤 Katia Auxilien
Supervised by William PUECH
Based on Norman HUTTE's and Bianca JANSEN VAN RENSBURG's code
Give a ⭐️ if this project helped you!
Copyright © 2024 Katia Auxilien. This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator