-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.SecureMemoryblock.Constructor
Andrew Lambert edited this page Nov 26, 2022
·
7 revisions
libsodium.SecureMemoryblock.Constructor
Sub Constructor(RealMB As Ptr, RealSize As UInt64)
Sub Constructor(Size As UInt64)| Name | Type | Comment |
|---|---|---|
| RealMB | Ptr |
A pointer to some memory to be managed by the SecureMemoryBlock. |
| RealSize | UInt64 |
The size of the memory block pointed to by RealMB. |
| Name | Type | Comment |
|---|---|---|
| Size | UInt32 |
The size of the new memory block to be allocated. |
Constructs a new instance of SecureMemoryBlock, either by taking ownership of an existing pointer or by allocating new memory from the heap.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2016-26 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