-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathencrypt.h
More file actions
26 lines (25 loc) · 702 Bytes
/
Copy pathencrypt.h
File metadata and controls
26 lines (25 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* =====================================================================================
*
* Filename: encrypt.h
*
* Description:
*
* Version: 1.0
* Created: 05/08/14 10:35:04
* Revision: none
* Compiler: gcc
*
* Author: wangxinalex (), wangxinalex@gmail.com
* Organization:
*
* =====================================================================================
*/
#ifndef ENCRYPT_H_INC
#define ENCRYPT_H_INC
#define KEY_LEN 10
#define ENCRYPT_KEY "wangxinalex@gmail.com"
using namespace std;
string encrypt(string text, string key);
string decrypt(string text, string key);
#endif /* ----- #ifndef ENCRYPT_H_INC ----- */