示例#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);
 }