示例#1
0
        public void Reset()
        {
            cshake.Reset();
            Arrays.Clear(buffer);

            byte[] hdr = XofUtilities.LeftEncode(B);
            cshake.BlockUpdate(hdr, 0, hdr.Length);

            nCount      = 0;
            bufOff      = 0;
            firstOutput = true;
        }
示例#2
0
 public void Reset()
 {
     cshake.Reset();
     firstOutput = true;
 }