I am converting 20,000+ users from mybb to a new rails app. It appears that ruby m5 crypts different than php md5. Is this possible? I thought the algorithm should be the same for any platform. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jon Griffin wrote:> I am converting 20,000+ users from mybb to a new rails app. > It appears that ruby m5 crypts different than php md5. > > Is this possible? I thought the algorithm should be the same for any > platform. >I expect it should be the same. Are you sure that mybb only does an MD5. I was looking at YABB a long time back, and I seem to recollect that it carries out 2 operations on the password. IIRC, it was Base64 and MD5 or something like that. Hope this helps. Cheers, Mohit. 11/13/2007 | 2:44 PM. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yes that was it, they actually encrypt the password and salt 2x with md5. I don''t read php so it took me a while to figure out. Thanks On Nov 12, 10:44 pm, Mohit Sindhwani <mo_m...-RxrYI66vbj0AvxtiuMwx3w@public.gmane.org> wrote:> Jon Griffin wrote: > > I am converting 20,000+ users from mybb to a new rails app. > > It appears that ruby m5 crypts different than php md5. > > > Is this possible? I thought the algorithm should be the same for any > > platform. > > I expect it should be the same. Are you sure that mybb only does an > MD5. I was looking at YABB a long time back, and I seem to recollect > that it carries out 2 operations on the password. IIRC, it was Base64 > and MD5 or something like that. > > Hope this helps. > > Cheers, > Mohit. > 11/13/2007 | 2:44 PM.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---