TigerImpl

Template API Tiger implementation.

Parameters: digestSize = the size of digest in byte

passes = the number of passes of the digest algorithm

tiger2 = tiger2 mode (uses 0x80 as padding value)

struct TigerImpl (
uint digestSize
uint passes
bool tiger2 = false
) {}

Members

Functions

finish
ubyte[digestSize] finish()

Returns the Tiger hash. This also calls start to reset the internal state.

put
void put(scope const(ubyte)[] data...)

Feeds the digest with data.

start
void start()

Initializes the digest calculation.

Meta