示例#1
0
 public GameCrypto(byte[] key)
 {
     DHKeySequence = new DHKeyExchange.ServerKeyExchange();
     _blowfish = new BlowfishCryptography(BlowfishAlgorithm.CFB64);
     lock(key)
         _blowfish.SetKey(key);
 }
示例#2
0
 public GameCrypto(byte[] key)
 {
     DHKeySequence = new DHKeyExchange.ServerKeyExchange();
     _blowfish     = new BlowfishCryptography(BlowfishAlgorithm.CFB64);
     lock (key)
         _blowfish.SetKey(key);
 }