EDIT: As it's solved, Better ignore my response below though - but I cant help but wonder if you MD5Sum binary data what will happen :)
-----------
Suspect it is your StringGetChar causing issues. As this now returns a 16bit value, because strings are UTF-16. Wide Unicode.
If you are summing binary data you will need to change to using char arrays, and process those.
First convert your string using StringToCharArray, then replace StringGetChar with the direct index on the array.
You might probably find it all runs a lot quicker too?
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Good afternoon,
I have been posting today like crazy (err, sorry about that). I had a perfectly working MD5 function, which now returns a wrong md5 value (it returns a value, but it is a wrong one)
I guess it makes little sense to paste the function, but just in case. Does anybody have another Md5 implementation working well under b600?
I would really appreciate it. Thanks in advance!
EDIT: As it turns out, this function works perfectly and I am simply over-tired and with too much caffeine on my bloodstream.