Пример #1
0
        public override void TransformBytes(byte[] a_data, int a_index, int a_length)
        {
            Debug.Assert(a_index >= 0);
            Debug.Assert(a_length >= 0);
            Debug.Assert(a_index + a_length <= a_data.Length);

            m_hmac.TransformBlock(a_data, a_index, a_length, null, 0);
        }
 public override int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
 {
     return(_hmac.TransformBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset));
 }