Javascript md5 compatible with PHP md5?

I was just wondering if the javascript implementation of md5 (in the md5.js file) is compatible with the md5() function in PHP.
medium_gradeAsked:
Who is Participating?
 
m0nk3yConnect With a Mentor Commented:
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
 
medium_gradeAuthor Commented:
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
 
m0nk3yCommented:
<shrugs> like i said, assuming it fully complies to the md5 spec, you shoulden't have any problems.
0
All Courses

From novice to tech pro — start learning today.