public object Clone() { PrngXorCrypt clone = new PrngXorCrypt(_cryptMode); for (int i = 0; i < _seeds.Length; i++) { clone._seeds[i] = _seeds[i]; } return(clone); }
void InitializeCrypts() { _recvCryptSeedCount = -1; _recvCrypt = new PrngXorCrypt(PrngXorCryptMode.Decrypt); _sendCrypt = new PrngXorCrypt(PrngXorCryptMode.Encrypt); }