source:
network-game/server/crypt.cpp@
a4db787
| Last change on this file since a4db787 was e3535b3, checked in by , 13 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.
![(please configure the [header_logo] section in trac.ini)](/medieval/chrome/site/your_project_logo.png)