Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Encrypt.h
Go to the documentation of this file.
1
/* Project nGenEx
2
Destroyer Studios LLC
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: nGenEx.lib
6
FILE: Encrypt.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Simple Encryption / Decryption class
13
*/
14
15
16
#ifndef Encrypt_h
17
#define Encrypt_h
18
19
#include "
Types.h
"
20
#include "
Text.h
"
21
22
// +-------------------------------------------------------------------+
23
24
class
Encryption
25
{
26
public
:
27
// private key encryption / decryption of
28
// arbitrary blocks of data
29
static
Text
Encrypt
(
Text
block);
30
static
Text
Decrypt
(
Text
block);
31
32
// encode / decode binary blocks into
33
// ascii strings for use in text files
34
static
Text
Encode
(
Text
block);
35
static
Text
Decode
(
Text
block);
36
};
37
38
#endif Encrypt_h
nGenEx
Encrypt.h
Generated on Thu May 31 2012 16:30:53 for Starshatter_Open by
1.8.1