?
Solved

Javascript md5 compatible with PHP md5?

Posted on 2003-12-06
3
Medium Priority
?
1,334 Views
Last Modified: 2012-06-27
I was just wondering if the javascript implementation of md5 (in the md5.js file) is compatible with the md5() function in PHP.
0
Comment
Question by:medium_grade
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
m0nk3y earned 200 total points
ID: 9890813
md5 is completely independant of the underlying system. It's implementaition varies from platform to platform, but essentially it's a standard. It's like comparing mac tcp/ip and windows tcp/ip. They're completely different pacages, but what they do is exactly the same. So yes, js and php md5 (lol assuming everything is working properly) should work nicely together.
0
 

Author Comment

by:medium_grade
ID: 9894203
I know that the algorithm SHOULD be the same, but I remember hearing that Java's implementation of md5 is incompatible with PHP's md5. I wanted to make sure that sure wasn't the case with one in md5.js.

In any event, thank you for your answer.
0
 
LVL 1

Expert Comment

by:m0nk3y
ID: 9894343
<shrugs> like i said, assuming it fully complies to the md5 spec, you shoulden't have any problems.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question