Exemplo n.º 1
0
 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());
         }
     }
 }
Exemplo n.º 2
0
 protected override void Initialized()
 {
     _rsa = KeyGen.NextRsaCrypt();
     SendPacket(new SM_INIT(_rsa.Modulus, base.MessageProtocol.Keys));
 }