Is the md5 encryption method of javascript-php the same as that of js?

Source: Internet
Author: User
For example, if the question is different, how should I use php to flip the md5 encryption method of ipvcipt? If the question is different, how can I use php to flip the md5 encryption method of ipvcipt?

Reply content:

If the question is different, how can I use php to flip the md5 encryption method of ipvcipt?

First, you know what to do with md5. You can refer to google's article: http://segmentfault.com/blog/liangyi/1190000002409125

In general, md5 is an information digest algorithm, which is irrelevant to a specific language. You can use java, php, or javascript. the md5 value is changed based on whether the information is changed. For the same piece of information, the values calculated in the above language should be the same. Different means they have different implementations of algorithms.

The md5 of js is implemented by a third party.

After all, since it is called md5, the algorithm must be the same, but it is nothing more than the returned data value type.MayDifferences

The md5 calculation result is a-bit hash value. Some Java libraries return a 16-Byte array (8bit = 1 Byte ), most of the standard md5 implementations directly return the Hex representation of these 16 bytes, that is, a string consisting of 32 hexadecimal numbers.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.