Method SecureKey():toBin() Professional

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

:toBin(<cHexStr>, [<cSeparator>]) --> cBinary
The key in hexadecimal notation. If the parameter is not passed, the current key of the instance is returned as binary key.
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.

This method returns the binary form of a key.


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


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.