Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What's the difference between md5(), crc32() and sha1() crypto on PHP?
Answer: The major difference is the length of the hash generated. CRC32 is, evidently, 32 bits, while sha1() returns a 128 bit value, and md5() returns a 160 bit value. This is important when avoiding collisions.
Is it helpful? Yes No

Most helpful rated by users:

©2026 WithoutBook