/// <summary>
        /// Gets the final hash calculation as byte array.
        /// </summary>
        public byte[] GetHashAndReset()
        {
#if STANDARD
            return(hasher.GetHashAndReset());
#else
            hasher.TransformFinalBlock(new byte[0], 0, 0);
            return(hasher.Hash);
#endif
        }