implemented encryption/decryption. working on client/server comms