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
12
namespace
PxCrypt
13
{
16
class
PxSequenceGenerator
17
{
18
//-Instance Variables------------------------------------------------------------------------------------------------------
19
private
:
20
QRandomGenerator
mGenerator;
21
Qx::FreeIndexTracker mPixelTracker;
22
23
//-Constructor---------------------------------------------------------------------------------------------------------
24
public
:
25
PxSequenceGenerator(
const
QSize
& dim,
QByteArrayView
seed);
26
27
//-Instance Functions----------------------------------------------------------------------------------------------
28
public
:
29
quint64 pixelCoverage()
const
;
30
31
int
next();
32
bool
hasNext()
const
;
33
};
34
36
}
37
38
#endif
// PX_SEQUENCE_GENERATOR_H
PxCrypt
The PxCrypt namespace is the main namespace through which all functionality of the PxCrypt library is...
Definition
decode_error.cpp:5
QByteArrayView
QRandomGenerator
QSize
lib
src
tools
px_sequence_generator.h
Generated by
1.9.7