Classes

Method SecureKey():toBin() Professional

Converts the hexadecimal form of the key into a binary representation.

Syntax
 
:toBin(<cHexStr>, [<cSeparator>]) --> cBinary
Parameters
<cHexStr>
The key in hexadecimal notation. If the parameter is not passed, the current key of the instance is returned as binary key.
<cSeparator>
Optionally, the separator can be passed that was used when creating the hexadecimal notation of the key. It must be a printable character but not a character used by hexadecimal notation, such as 0..9/A..F. By default, the method will recognize the first non-hexadecimal character as the separating character.
Return

This method returns the binary form of a key.

Description

The method :toBin() can be used to return the binary form of the current key or to convert another key given in hexadecimal notation.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.