source:
network-game/server/crypt.cpp@
ad5d122
Last change on this file since ad5d122 was e3535b3, checked in by , 12 years ago | |
---|---|
|
|
File size: 196 bytes |
Rev | Line | |
---|---|---|
[e3535b3] | 1 | #include "crypt.h" |
2 | ||
3 | Crypt::Crypt() | |
4 | { | |
5 | } | |
6 | ||
7 | Crypt::~Crypt() | |
8 | { | |
9 | } | |
10 | ||
11 | string Crypt::encrypt(string s) | |
12 | { | |
13 | return s + " encrypted"; | |
14 | } | |
15 | ||
16 | string Crypt::decrypt(string s) | |
17 | { | |
18 | return s.substr(0, s.length()-10); | |
19 | } |
Note:
See TracBrowser
for help on using the repository browser.