Esempio n. 1
0
        public virtual void BlockUpdate(byte[] input, int inOff, int len)
        {
            if (mBuf != null)
            {
                mBuf.Write(input, inOff, len);
                return;
            }

            foreach (IDigest hash in mHashes.Values)
            {
                hash.BlockUpdate(input, inOff, len);
            }
        }
Esempio n. 2
0
 public virtual void BlockUpdate(byte[] input, int inOff, int len)
 {
     if (mBuf != null)
     {
         mBuf.Write(input, inOff, len);
     }
     else
     {
         foreach (IDigest value in mHashes.Values)
         {
             value.BlockUpdate(input, inOff, len);
         }
     }
 }