I ilx.mac macrumors member Original poster Mar 10, 2009 63 0 May 25, 2009 #1 Hi there, I am trying to convert a string to an MD5 format. I looked for some samples but failed. Can I get some code samples / suggestions from you? Thanks in Advance!
Hi there, I am trying to convert a string to an MD5 format. I looked for some samples but failed. Can I get some code samples / suggestions from you? Thanks in Advance!
F fire.tiger macrumors newbie May 22, 2009 19 0 May 25, 2009 #2 ilx.mac said: Hi there, I am trying to convert a string to an MD5 format. I looked for some samples but failed. Can I get some code samples / suggestions from you? Thanks in Advance! Click to expand... try this: http://md5-reverse.net.ru/ there ale implementation in various languages at the bottom. There's no Objective C impl. but classic C is there. It shouldn't be problem to rewrite. MD5 are just 3 functions.
ilx.mac said: Hi there, I am trying to convert a string to an MD5 format. I looked for some samples but failed. Can I get some code samples / suggestions from you? Thanks in Advance! Click to expand... try this: http://md5-reverse.net.ru/ there ale implementation in various languages at the bottom. There's no Objective C impl. but classic C is there. It shouldn't be problem to rewrite. MD5 are just 3 functions.
K kainjow Moderator emeritus Jun 15, 2000 7,958 7 May 25, 2009 #3 http://discussions.apple.com/thread.jspa?threadID=1509152&tstart=96 - scroll to the bottom.
G gravityone macrumors newbie May 9, 2010 1 0 May 9, 2010 #4 kainjow said: http://discussions.apple.com/thread.jspa?threadID=1509152&tstart=96 - scroll to the bottom. Click to expand... The code at the bottom of this page link is bad and doesn't work. After spending way to much time trying to figure this out I made a post that outlines how to do this, you can find it here http://www.saobart.com/md5-has-in-objective-c/ Hope this helps anyone else
kainjow said: http://discussions.apple.com/thread.jspa?threadID=1509152&tstart=96 - scroll to the bottom. Click to expand... The code at the bottom of this page link is bad and doesn't work. After spending way to much time trying to figure this out I made a post that outlines how to do this, you can find it here http://www.saobart.com/md5-has-in-objective-c/ Hope this helps anyone else
chown33 Moderator Staff member Aug 9, 2009 11,208 9,233 A sea of green May 9, 2010 #5 gravityone said: The code at the bottom of this page link is bad and doesn't work. Click to expand... In what way is it bad? If it's bad because it's not lower-case, then the simplest way to fix that is to use "%02x" instead of "%02X".
gravityone said: The code at the bottom of this page link is bad and doesn't work. Click to expand... In what way is it bad? If it's bad because it's not lower-case, then the simplest way to fix that is to use "%02x" instead of "%02X".