<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>14 Sep 2017 21:14:00 Z</lastBuildDate><pubDate>14 Sep 2017 20:11:00 Z</pubDate><description>I have a string, 's_ToHash', populated with 3 values which when concatenated produce the string 123456789AAA3321-12BH-A2200001&#13;
&#13;
I need to create an MD5 hash of that and I require the value of 507c9d79c192da6e86428919ee0382dc to be returned&#13;
&#13;
WinDev returns, depending on which HashString algorithm I use either&#13;
&#13;
HashString(HA_MD5_128,s_ToHash) returns 'P|yÁ’Ún†B‰&lt;25&gt;î&lt;3&gt;‚Ü'&#13;
or&#13;
HashString(HA_HMAC_MD5_128,s_ToHash) returns ')v_dÂIÊY49ñœi2éá'&#13;
&#13;
The returned value is the same regardless of whether I use a Buffer or String to receive the result&#13;
&#13;
I tried inputing my string into a number of online MD5 generators and all returned the ASCII result I require.&#13;
&#13;
Anyone have any idea how I can convert,progamatically, the WD result into the one I need, i.e ASCII text.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring/read.awp</link><title>HashString</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-62657/read.awp</comments><pubDate>14 Sep 2017 21:14:00 Z</pubDate><description>Hi Fabrice&#13;
&#13;
Much more economical withe coding - Just needed to add the Lower() command&#13;
&#13;
MyResult is string=Lower(Replace(Rep…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-62657/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-62657/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring/read.awp">HashString</source><title>Re: HashString</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-solved-62656/read.awp</comments><pubDate>14 Sep 2017 21:07:00 Z</pubDate><description>Thanks Paulo, set me on the right course&#13;
&#13;
Using BufferToHexa() returned '50 7C 9D 79 C1 92 DA 6E 86 42 89 19 EE 03 82 DC' whic…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-solved-62656/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-solved-62656/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring/read.awp">HashString</source><title>Re: HashString SOLVED</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-62662/read.awp</comments><pubDate>14 Sep 2017 21:06:00 Z</pubDate><description>Hi Derek,&#13;
&#13;
you need to add a&#13;
MyResult is strin=replace(replace(BufferToHexa(MyBuffer)," ",""),CR,"")&#13;
&#13;
Best regards</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-62662/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-62662/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring/read.awp">HashString</source><title>Re: HashString</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-62661/read.awp</comments><pubDate>14 Sep 2017 20:21:00 Z</pubDate><description>It looks like you need you result in hexadecimal, if so try using BufferToHexa&#13;
or break your string byte to byte and using asc …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-62661/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring-62661/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62654-hashstring/read.awp">HashString</source><title>Re: HashString</title></item></channel></rss>
