Exemple #1
0
        public override HashResult TransformFinal()
        {
            m_hmac.TransformFinalBlock(EMPTY, 0, 0);
            byte[] result = m_hmac.Hash;

            Debug.Assert(result.Length == HashSize);

            Initialize();
            return(new HashResult(result));
        }
        public override HashResult TransformFinal()
        {
#if !NETCORE
            m_hmac.TransformFinalBlock(EMPTY, 0, 0);
            byte[] result = m_hmac.Hash;


            Debug.Assert(result.Length == HashSize);

            Initialize();
            return new HashResult(result);
#else
			return null;
#endif
		}
 public override byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
 {
     return(_hmac.TransformFinalBlock(inputBuffer, inputOffset, inputCount));
 }