-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.PadData
Andrew Lambert edited this page Nov 26, 2022
·
3 revisions
libsodium.PadData
Protected Sub PadData(ByRef Data As MemoryBlock, BlockSize As UInt32)
Name | Type | Comment |
---|---|---|
Data | MemoryBlock | The memory to be padded. |
BlockSize | UInt32 | The size of the blocks (See remarks) |
This method pads the Data
until its size is a multiple of the BlockSize
, using the ISO/IEC 7816-4 padding algorithm.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2016-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.
- libsodium module
- FAQ
-
Examples
- Secure memory
- Password hashing
- Generic hashing
- Encrypting streams or files
- PKI
- Encryption
- Digital signatures
- SKI
- Encryption
- Message authentication