PxCrypt v0.1
Encrypt data within an image
Loading...
Searching...
No Matches
ch_sequence_generator.h
1#ifndef CH_SEQUENCE_GENERATOR_H
2#define CH_SEQUENCE_GENERATOR_H
3
4// Qt Includes
5#include <QRandomGenerator>
6
7// Project Includes
8#include "../encdec.h"
9
10namespace PxCrypt
11{
14class ChSequenceGenerator
15{
16//-Instance Variables------------------------------------------------------------------------------------------------------
17private:
18 QRandomGenerator mGenerator;
19 bool mUsedChannels[3];
20 bool mExhausted;
21
22//-Constructor---------------------------------------------------------------------------------------------------------
23public:
24 ChSequenceGenerator(QByteArrayView seed);
25
26//-Instance Functions----------------------------------------------------------------------------------------------
27private:
28 void reset();
29
30public:
31 bool pixelExhausted() const;
32
33 void exhaust();
34 Channel next();
35};
36
38}
39
40#endif // CH_SEQUENCE_GENERATOR_H
The PxCrypt namespace is the main namespace through which all functionality of the PxCrypt library is...
Definition decode_error.cpp:5
QTextStream & reset(QTextStream &stream)