What’s the difference between md5(), crc32() and sha1() crypto on PHP?

March 7, 2011 | Filed Under PHP | Leave a Comment

The major difference is the length of the hash generated. CRC32 is, evidently, 32 bits, while sha1() returns a 128 bit md5() returns a 160 bit value. This is important when avoiding collisions.

Comments

Leave a Reply





© PHPInterviewQuestion.com 2009 - 2012

eXTReMe Tracker