- addData
void addData(T input, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
- 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
- finished
SecureVector!ubyte finished()
Complete the computation and retrieve the final result.
- 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.
- 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.
- 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.
- update
void update(string str)
Add new input to process.
- update
void update(ubyte input)
- updateBigEndian
void updateBigEndian(T input)
Add an integer in big-endian order
This class represents any kind of computation which uses an internal state, such as hash functions or MACs