Classes

Method SecureKey():sha256() Professional

Hash data with the SHA-256 algorithm.

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

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

Description

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.

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.