Project made using QT Creator in C++
About
A simple cross-platform steganography project which hides data in images. This project was built using amazing Qt Framework and QAESEncryption by bricke. You can read more about project at the home page
Structure of the project
MVC pattern used. Here is a simple project scheme, showing main classes.
External use
You can use ModelPC class separately from View and Control layer. You will need just the src/app/model folder, so these four files:
Then you can just #include "modelpc.h"
and use API.
API
Here is are the most important methods:
Showcase
#include <QImage>
#include <QByteArray>
#include <QString>
#include <QDebug>
...
QByteArray data("some_file.txt");
QImage *image = new QImage("some_big_enough_image.jpg");
QString key = "some_password";
int bitsUsed = 3;
QString error1, error2;
data,
image,
1,
key,
bitsUsed,
&error1);
data,
image,
2,
key,
bitsUsed,
&error2);
QString error3, error4, error5, error6;
normal_resultImage,
key,
1,
&error3);
advanced_resultImage,
key,
2,
&error4);
normal_resultImage,
key,
0,
&error5);
advanced_resultImage,
key,
0,
&error6);
bool data_good =
data == output_normal &&
data == output_advanced &&
data == output_normal_undefined &&
data == output_advanced_undefined;
bool no_errors =
error1 == "ok" &&
error2 == "ok" &&
error3 == "ok" &&
error4 == "ok" &&
error5 == "ok" &&
error6 == "ok";
if(data_good && no_errors)
qDebug() << "PASS";
else
qDebug() << "FAIL";
License
This software is provided under the MIT License
Contact us
Visit my site: https://www.alexkovrigin.me
Email me at a.kov.nosp@m.rigi.nosp@m.n0@gm.nosp@m.ail..nosp@m.com
- Author
- Alexander Kovrigin (waleko)
- Copyright
- Alexander Kovrigin 2019