source: network-game/server/crypt.cpp@ 9a3e6b1

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

Initial commit for server

  • Property mode set to 100644
File size: 196 bytes
Line 
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.