SHA160

NIST's SHA-160

Constructors

this
this()
Undocumented in source.
this
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

Members

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
clone
HashFunction clone()
Undocumented in source. Be warned that the author may not have intended to support it.
compressN
void compressN(const(ubyte)* input, size_t blocks)
Undocumented in source. Be warned that the author may not have intended to support it.
copyOut
void copyOut(ubyte* output)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

hashBlockSize
size_t hashBlockSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
outputLength
size_t outputLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

m_W
SecureVector!uint m_W;

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

m_digest
SecureVector!uint m_digest;

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

Inherited Members

From MDxHashFunction

hashBlockSize
size_t hashBlockSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
addData
void addData(const(ubyte)* input, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
finalResult
void finalResult(ubyte* output)
Undocumented in source. Be warned that the author may not have intended to support it.
compressN
void compressN(const(ubyte)* blocks, size_t block_n)

Run the hash's compression function over a set of blocks

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
copyOut
void copyOut(ubyte* buffer)

Copy the output to the buffer

writeCount
void writeCount(ubyte* output)

Write the count, if used, to this spot

Meta