Method SecureKey():setStrKey() Professional

Assign a key in hexadecimal notation to the object executing the method.

:setStrKey(<cHexStr>) --> self
A cipher key string in hexadecimal notation, data type CHARACTER. The length of the string divided by two multiplied by eight equals to the key length in bit.

This method returns the object executing the method.


A cipher key can be given either in binary form or as hexadecimal string, both of which must be of data type Character. The method :setStrKey()accepts a string using hexadecimal characters, and separation characters as produced by the method :toString().


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.