I need a function that can MD5 hash a string. This is what I have so far:
![]()
Please Login or Register to view this content.
However, this is giving me the wrong hash. Does anyone know what the problem might be?
I need a function that can MD5 hash a string. This is what I have so far:
![]()
Please Login or Register to view this content.
However, this is giving me the wrong hash. Does anyone know what the problem might be?
Last edited by alansidman; 05-29-2017 at 06:47 PM. Reason: Wrong code
Code Tags Added
Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.
Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.
Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html
(I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
By using VBA automatic data conversion, from string to array of bytes, like :
the result (array of bytes), is in unicode format (2 bytes for each character).![]()
Please Login or Register to view this content.
You have to to discard every even bytes (only take the odd bytes), like this :
![]()
Please Login or Register to view this content.
1. I care dog
2. I am a loop maniac
3. Forum rules link : Click here
3.33. Don't forget to mark the thread as solved, this is important
This worked perfectly, thank you!
You are welcome.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
Anyone can share a 32 bit MD5 function? Thanks
Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.
If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.
Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
Last edited by Kaper; 10-18-2017 at 06:00 AM.
Best Regards,
Kaper
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks