Command SET HASH Foundation

Sets the default hash algorithm.

Syntax
SET HASH TO SHA1|sha2|sha3|md5
Scope
thread-local
Parameters
The option sha1|sha2|sha3|md5 specifies the hash algorithm, which can be either SHA1, SHA2-256, SHA3-512 or MD5. See Char2Hash() for further details.
Description

The command SET HASH sets the default cryptographic hash algorithm for the function Char2Hash(). The default hash algorithm used by the Xbase++ runtime is SHA1.

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.