[fpc-pascal] MD5 Hash of StringList
Bo Berglund
bo.berglund at gmail.com
Fri Jul 5 00:58:15 CEST 2019
On Thu, 4 Jul 2019 18:13:44 +0200, José Mejuto
<joshyfun at gmail.com> wrote:
>El 04/07/2019 a las 18:13, James Richters escribió:
>> Thanks you!
>>
>> That got me on the right path.
>> Here's the working sample:
>>
>> Hash := Md5Print(MD5String(MyStringlist.Text));
>>
>
>Warning! That's platform dependent code due the new line sequences.
Maybe:
MyStringList.LineBreak := #10;
Hash := Md5Print(MD5String(MyStringlist.Text));
Then the new line issue may be solved?
--
Bo Berglund
Developer in Sweden
More information about the fpc-pascal
mailing list