function GetSHA256OfString(const S: AnsiString): String;
Gets the SHA-256 hash of the specified string, as a string.
var SHA256: String; begin SHA256 := GetSHA256OfString('Test'); // SHA256 = '532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25' end;