COAR
1.0
COAR - DMS system
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
gcipher.h
Go to the documentation of this file.
1
// GCipher.h: interface for the GCipher class.
2
//
4
5
#define DIMENSION 64
6
7
class
GCipher
8
{
9
private
:
10
//Vigeniere tableau
11
char
**vTable;
12
char
*key;
13
14
public
:
15
GCipher
();
16
virtual
~GCipher
();
17
18
int
getCharSetSize
();
19
void
initVigeniereTable
();
20
void
initVigeniereTable1
();
21
22
char
*
encrypt
(
char
*inputStream);
23
24
void
setKey
(
char
*what);
25
char
getCryptChar
(
char
openChar,
char
keyChar);
26
int
getPosFromCharSet
(
char
c
);
27
28
char
*
decrypt
(
char
*inputStream);
29
char
getDecryptChar
(
char
cryptChar,
char
keyChar);
30
int
getVertPosFromVTable
(
char
c,
int
horPos);
32
void
freeKey
();
34
void
freeVTable
();
35
36
};
37
coarlib
gcipher.h
Generated on Fri Sep 25 2015 14:53:56 for COAR by
1.8.1.1