Пример #1
0
 private void CopyIn(KeccakDigest source)
 {
     Array.Copy(source._state, 0, _state, 0, source._state.Length);
     Array.Copy(source._dataQueue, 0, _dataQueue, 0, source._dataQueue.Length);
     _rate             = source._rate;
     _bitsInQueue      = source._bitsInQueue;
     FixedOutputLength = source.FixedOutputLength;
     _squeezing        = source._squeezing;
 }
Пример #2
0
 public KeccakDigest(KeccakDigest source)
 {
     CopyIn(source);
 }