I have no idea what you are talking about...
If you type this at bash shell in Linux
echo -n 'lazarus' | sha1sum
you can get the sha1 value of the string lazarus as an output. If you are interested see attached file.
The problem I have is how can I store that output into a variable. Don't know how to do that.
Thank you for the sha1 tip, I do no need that shell command anymore.
Here's what I did from your code:
Hash := SHA1String('mystring');
S := '';
for i := Low(Hash) to High(Hash) do
WriteStr(S, S, HexStr(Hash[i],2));