public static void Initial() { log.Info((object)"初始化注册机."); checked { int num = rsa.Length - 1; for (int i = 0; i <= num; i++) { rsa[i] = new RsaCrypt(new RSA()); } } }
protected override void Initialized() { _rsa = KeyGen.NextRsaCrypt(); SendPacket(new SM_INIT(_rsa.Modulus, base.MessageProtocol.Keys)); }