Botan

SHA-160

License
Botan is released under the Simplified BSD License (see LICENSE.md)

class  SHA160: botan.hash.mdx_hash.MDxHashFunction, botan.hash.hash.HashFunction;

NIST's SHA-160


protected this(size_t W_size);

Set a custom size for the W array. Normally 80, but some subclasses need slightly more for best performance/internal constraints

Parameters
size_t W_size how big to make W

protected SecureVector!uint  m_digest;

The digest value, exposed for use by subclasses (asm, SSE2)


protected SecureVector!uint  m_W;

The message buffer, exposed for use by subclasses (asm, SSE2)