MerkleDamgard.padLength

Performs the length padding

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

Parameters

data ubyte[]

the slice of the digest buffer to fill with padding

length ulong

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