Sha256.padLength

Performs the length padding

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

Parameters

data ubyte[]

the slice of the cipher buffer to fill with padding

length size_t

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