PxCrypt v0.1
Encrypt data within an image
Loading...
Searching...
No Matches
px_sequence_generator.h
1#ifndef PX_SEQUENCE_GENERATOR_H
2#define PX_SEQUENCE_GENERATOR_H
3
4// Qt Includes
5#include <QRandomGenerator>
6#include <QSize>
7#include <QPoint>
8
9// Qx Includes
10#include <qx/core/qx-freeindextracker.h>
11
12namespace PxCrypt
13{
16class PxSequenceGenerator
17{
18//-Instance Variables------------------------------------------------------------------------------------------------------
19private:
20 QRandomGenerator mGenerator;
21 Qx::FreeIndexTracker mPixelTracker;
22
23//-Constructor---------------------------------------------------------------------------------------------------------
24public:
25 PxSequenceGenerator(const QSize& dim, QByteArrayView seed);
26
27//-Instance Functions----------------------------------------------------------------------------------------------
28public:
29 quint64 pixelCoverage() const;
30
31 int next();
32 bool hasNext() const;
33};
34
36}
37
38#endif // PX_SEQUENCE_GENERATOR_H
The PxCrypt namespace is the main namespace through which all functionality of the PxCrypt library is...
Definition decode_error.cpp:5