Added string xor and message sending functions