Sha01.padLength

Performs the length padding

class Sha01
protected final override
void
padLength
(
ubyte[] data
,
ulong length
)

Parameters

data ubyte[]

the slice of the cipher buffer to fill with padding

length ulong

the length of the data which has been ciphered

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

Meta