HashFunction

This class represents hash function (message digest) objects

Members

Functions

clear
void clear()
Undocumented in source.
clone
HashFunction clone()

Properties

hashBlockSize
size_t hashBlockSize [@property getter]
name
string name [@property getter]
Undocumented in source.

Inherited Members

From BufferedComputation

update
void update(ubyte[] input)

Add new input to process.

update
void update(const(ubyte)* input, size_t length)

Add new input to process.

update
void update(RefCounted!(Vector!(T, ALLOC)) input)

Add new input to process.

update
void update(Vector!(T, ALLOC) input)

Add new input to process.

updateBigEndian
void updateBigEndian(T input)

Add an integer in big-endian order

update
void update(string str)

Add new input to process.

update
void update(ubyte input)

Process a single ubyte.

flushInto
void flushInto(ubyte[] output)

Complete the computation and retrieve the final result.

flushInto
void flushInto(ubyte* output)

Complete the computation and retrieve the final result.

finished
SecureVector!ubyte finished()

Complete the computation and retrieve the final result.

process
SecureVector!ubyte process(ubyte[] input)

Update and finalize computation. Does the same as calling update() and finished() consecutively.

process
SecureVector!ubyte process(const(ubyte)* input, size_t length)

Update and finalize computation. Does the same as calling update() and finished() consecutively.

process
SecureVector!ubyte process(RefCounted!(Vector!(ubyte, ALLOC), ALLOC) input)

Update and finalize computation. Does the same as calling update() and finished() consecutively.

process
SecureVector!ubyte process(Vector!(ubyte, ALLOC) input)

Update and finalize computation. Does the same as calling update() and finished() consecutively.

process
SecureVector!ubyte process(string input)

Update and finalize computation. Does the same as calling update() and finished() consecutively.

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

Add more data to the computation

finalResult
void finalResult(ubyte* output)

Write the final output to out

Meta