-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.SecureMemoryblock.IsZero
Andrew Lambert edited this page Mar 7, 2017
·
4 revisions
libsodium.SecureMemoryblock.IsZero
##Method Signatures
Function IsZero(Offset As Int32 = 0, Length As Int32 = -1) As Boolean##Parameters
| Name | Type | Comment |
|---|---|---|
| Offset | Int32 | Optional. If specified, the offset to begin checking for zeroes. |
| Length | Int32 | Optional. If specified, the number of bytes to check for zero. |
##Remarks
This method returns True if the SecureMemoryBlock contains only zeroes. It returns False if non-zero bits are found. Execution time is constant for a given length.
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