Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
_
a
b
c
d
e
g
h
i
l
m
o
r
s
t
u
w
x
~
Variables
c
g
i
k
m
p
r
s
t
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
i
k
p
r
s
t
u
v
z
Enumerations
_
a
b
c
e
f
h
j
l
m
p
r
s
t
u
v
x
z
Enumerator
a
b
c
e
f
h
j
l
m
n
p
r
s
t
u
v
w
x
z
Properties
a
b
d
e
f
i
l
m
p
q
r
s
t
w
Related Functions
c
h
o
s
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
c
d
e
f
g
i
k
m
o
r
s
v
w
z
Variables
_
a
c
d
e
f
g
i
k
l
m
o
p
q
r
s
t
u
w
Typedefs
_
c
d
f
g
h
i
p
s
u
v
w
Enumerations
Enumerator
d
f
i
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
cCipherText.h
Go to the documentation of this file.
1
//
4
//
5
6
#ifndef _INC_cCipherText_H
7
#define _INC_cCipherText_H
8
#ifndef NO_PRAGMA_ONCE
9
#pragma once
10
#endif
11
12
#include "
cCipherBase.h
"
13
#include "
GrayCore/include/cString.h
"
14
15
namespace
GrayLib
16
{
17
class
GRAYLIB_LINK
cCipherText
18
{
24
25
private
:
26
cCipherBase
* m_pCipher;
// What cipher to use ?
27
28
public
:
29
cCipherText
(
cCipherBase
* pCipher);
30
~
cCipherText
();
31
32
HRESULT
EncryptText(
const
void
* pszSrc,
size_t
nSrcSize,
char
* pszDst,
StrLen_t
iDstMaxLen)
const
;
33
HRESULT
DecryptText(
const
char
* pszSrc,
StrLen_t
nSrcSize,
void
* pszDst,
size_t
iDstMaxLen)
const
;
34
35
cStringA
EncryptText(
const
char
* pszSrc,
StrLen_t
nSrcSize = -1)
const
;
36
cStringA
DecryptText(
const
char
* pszSrc,
StrLen_t
nSrcSize = -1)
const
;
37
38
UNITTEST_FRIEND
(
cCipherText
);
39
};
40
};
41
#endif
GRAYLIB_LINK
#define GRAYLIB_LINK
Definition:
GrayLibBase.h:35
HRESULT
INT32 HRESULT
_WIN32 style error codes. INT32
Definition:
SysTypes.h:465
cCipherBase.h
cString.h
GrayLib::cCipherBase
Definition:
cCipherBase.h:125
GrayLib::cCipherText
Definition:
cCipherText.h:18
GrayLib::cCipherText::UNITTEST_FRIEND
UNITTEST_FRIEND(cCipherText)
Gray::cStringT< char >
GrayLib
Definition:
cMesh.h:22
Gray::StrLen_t
int StrLen_t
the length of a string in chars (bytes for UTF8, wchar_t for UNICODE). or offset in characters....
Definition:
StrConst.h:32
GrayLib
include
Cipher
cCipherText.h
Generated on Tue Feb 2 2021 11:29:36 for Gray C++ Libraries by
1.9.1