public void setKey( byte[] key ) { m_Crypt = new NewCrypt(key); }
/// <summary> /// Initializes new instance of <see cref="UserConnection"/> class. /// </summary> /// <param name="socket">Connection <see cref="Socket"/>.</param> internal UserConnection( Socket socket ) : base(socket) { Session = InitializeSession(( ( IPEndPoint )socket.RemoteEndPoint ).Address.ToString()); m_Crypt = new NewCrypt(Session.BlowfishKey); }