MerkleDamgard.padLength

Performs the length padding

class MerkleDamgard
protected
void
padLength
(
ubyte[] data
,
size_t length
)

Parameters

data ubyte[]

the slice of the digest buffer to fill with padding

length size_t

the length of the data which has been processed

Remarks: Fills the passed buffer slice with addSize() bytes of padding based on the length in bytes of the input data which has been processed.

Meta