コード例 #1
0
ファイル: Keccak.cs プロジェクト: TrekDev/EthClient.NET
 private void CopyIn(KeccakDigest source)
 {
     Array.Copy(source.state, 0, this.state, 0, source.state.Length);
     Array.Copy(source.dataQueue, 0, this.dataQueue, 0, source.dataQueue.Length);
     this.rate = source.rate;
     this.bitsInQueue = source.bitsInQueue;
     this.fixedOutputLength = source.fixedOutputLength;
     this.squeezing = source.squeezing;
     this.bitsAvailableForSqueezing = source.bitsAvailableForSqueezing;
     this.chunk = Clone(source.chunk);
     this.oneByte = Clone(source.oneByte);
 }
コード例 #2
0
ファイル: Keccak.cs プロジェクト: TrekDev/EthClient.NET
 public Keccak()
 {
     _keccakDigest = new KeccakDigest();
 }