Skip to content

libsodium.PadData

Andrew Lambert edited this page Nov 26, 2022 · 3 revisions

libsodium.PadData

Method Signature

 Protected Sub PadData(ByRef Data As MemoryBlock, BlockSize As UInt32)

Parameters

Name Type Comment
Data MemoryBlock The memory to be padded.
BlockSize UInt32 The size of the blocks (See remarks)

Remarks

This method pads the Data until its size is a multiple of the BlockSize, using the ISO/IEC 7816-4 padding algorithm.

See also

Clone this wiki locally