-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.EncodeHex
Andrew Lambert edited this page Nov 26, 2022
·
5 revisions
libsodium.EncodeHex
Protected Function EncodeHex(BinaryData As MemoryBlock, ToUppercase As Boolean = True) As MemoryBlock
Name | Type | Comment |
---|---|---|
BinaryData | MemoryBlock | The data to be encoded. |
ToUpperCase | Boolean | Optional. If True (default) then the output is converted to uppercase. |
The encoded data, or Nil
on error.
This method encodes the BinaryData
as an ASCII string of hexadecimal values.
- DecodeHex
- Hexadecimal encoding in the libsodium documentation.
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