Skip to content

libsodium.EncodeHex

Andrew Lambert edited this page Nov 26, 2022 · 5 revisions

libsodium.EncodeHex

Method Signature

 Protected Function EncodeHex(BinaryData As MemoryBlock, ToUppercase As Boolean = True) As MemoryBlock

Parameters

Name Type Comment
BinaryData MemoryBlock The data to be encoded.
ToUpperCase Boolean Optional. If True (default) then the output is converted to uppercase.

Return value

The encoded data, or Nil on error.

Remarks

This method encodes the BinaryData as an ASCII string of hexadecimal values.

See also

Clone this wiki locally