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
10
namespace
PxCrypt
11
{
14
class
ChSequenceGenerator
15
{
16
//-Instance Variables------------------------------------------------------------------------------------------------------
17
private
:
18
QRandomGenerator
mGenerator;
19
bool
mUsedChannels[3];
20
bool
mExhausted;
21
22
//-Constructor---------------------------------------------------------------------------------------------------------
23
public
:
24
ChSequenceGenerator(
QByteArrayView
seed);
25
26
//-Instance Functions----------------------------------------------------------------------------------------------
27
private
:
28
void
reset
();
29
30
public
:
31
bool
pixelExhausted()
const
;
32
33
void
exhaust();
34
Channel next();
35
};
36
38
}
39
40
#endif
// CH_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
Qt::reset
QTextStream & reset(QTextStream &stream)
lib
src
tools
ch_sequence_generator.h
Generated by
1.9.7