Method SecureKey():sha256() Professional

Hash data with the SHA-256 algorithm.

:sha256(<cBinData>) --> cHexString
The data to be hashed, in binary form.

The method returns a hash of <cBinData>as a character string in hexadecimal notation.


The :sha256() method is a one-way hash function. It is used to veil data. It is a one-way function because it is not possible to reconstruct the original data by converting the hash, but it is possible to compare two hashes to decide if the two originals were unequal.


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.