-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.SecureMemoryblock.IsZero
Andrew Lambert edited this page Nov 26, 2022
·
4 revisions
libsodium.SecureMemoryblock.IsZero
Function IsZero(Offset As Int32 = 0, Length As Int32 = -1) As Boolean
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. |
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-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.