protected HashCryptoNotBuildIn(int a_hashSize, int a_blockSize, int a_bufferSize = -1) : base(a_hashSize, a_blockSize) { if (a_bufferSize == -1) a_bufferSize = a_blockSize; m_buffer = new HashBuffer(a_bufferSize); m_processedBytes = 0; }
protected BlockHash(int a_hash_size, int a_block_size, int a_buffer_size = -1) : base(a_hash_size, a_block_size) { if (a_buffer_size == -1) a_buffer_size = a_block_size; m_buffer = new HashBuffer(a_buffer_size); m_processed_bytes = 0; }
protected BlockHash(int a_hash_size, int a_block_size, int a_buffer_size = -1) : base(a_hash_size, a_block_size) { if (a_buffer_size == -1) { a_buffer_size = a_block_size; } m_buffer = new HashBuffer(a_buffer_size); m_processed_bytes = 0; }
/// <summary> /// Creates a new non-built-in Hash Function /// </summary> /// <param name="a_hashSize"></param> /// <param name="a_blockSize"></param> /// <param name="a_bufferSize"></param> protected HashCryptoNotBuildIn(int a_hashSize, int a_blockSize, int a_bufferSize) : base(a_hashSize, a_blockSize) { if (a_bufferSize == -1) { a_bufferSize = a_blockSize; } m_buffer = new HashBuffer(a_bufferSize); m_processedBytes = 0; }