Pascal Scripting: GetSHA256OfString

Prototype:

function GetSHA256OfString(const S: AnsiString): String;

Description:

Gets the SHA-256 hash of the specified string, as a string.

Example:
var
  SHA256: String;
begin
  SHA256 := GetSHA256OfString('Test');
  // SHA256 = '532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25'
end;