public Cookie(OutboundHandshake handshake, byte[] tag, Target target) { Id = handshake.Id; CookieComputing = new CookieComputing(handshake); Target = target; PeerId = Target.Sha256.ComputeHash(CookieComputing.Nonce, 0, CookieComputing.Nonce.Length); }
public Cookie(OutboundHandshake handshake, byte[] tag, Target target) { Id = handshake.Id; CookieComputing = new CookieComputing(handshake); Target = target; PeerId = Target.Sha256.ComputeHash(CookieComputing.Nonce, 0, CookieComputing.Nonce.Length); }
public CookieComputing(OutboundHandshake handshake) { Nonce = new byte[0]; DH = RtmfpUtils.BeginDiffieHellman(ref Nonce, true); }
public CookieComputing(OutboundHandshake handshake) { Nonce = new byte[0]; DH = RtmfpUtils.BeginDiffieHellman(ref Nonce, true); }