source: network-game/server/crypt.cpp@ 171c4fe

Last change on this file since 171c4fe was e3535b3, checked in by dportnoy <dmp1488@…>, 12 years ago

Initial commit for server

  • Property mode set to 100644
File size: 196 bytes
RevLine 
[e3535b3]1#include "crypt.h"
2
3Crypt::Crypt()
4{
5}
6
7Crypt::~Crypt()
8{
9}
10
11string Crypt::encrypt(string s)
12{
13 return s + " encrypted";
14}
15
16string Crypt::decrypt(string s)
17{
18 return s.substr(0, s.length()-10);
19}
Note: See TracBrowser for help on using the repository browser.