TigerImpl

Template API Tiger implementation.

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(const(ubyte)[] data)

Feeds the digest with data.

start
void start()

Initializes the digest calculation.

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)

Meta