<< Click to Display Table of Contents >>

Navigation:  Handling Events via Scripting > Objects and Functions > Utility functions >


function StrSHA1(AStr: string; AIsUnicode: boolean = false): string;


Computes and returns the SHA hash code of the AStr string parameter.

The AIsUnicode parameter is optional. If it's not specified or if it's false, then AStr will be assumed to be an ANSI string, otherwise if AIsUnicode is true then AStr will be assumed to be a Unicode string.