source:
network-game/server/crypt.cpp@
ba43374
Last change on this file since ba43374 was e3535b3, checked in by , 12 years ago | |
---|---|
|
|
File size: 196 bytes |
Line | |
---|---|
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.