logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

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


  • Correct 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 


  • Technology problems


    Search Results


    • 1. What is the difference between characters 23 and x23?
    • Discuss
    • 2. What?s the special meaning of __sleep and __wakeup?
    • Discuss
    • 3. If the variable $a is equal to 5 and variable $b is equal to character a, what?s the value of $$b?
    • Discuss
    • 4. I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what?s the problem?
    • Discuss
    • 5. What does a special set of tags do in PHP?
    • Discuss
    • 6. What?s the difference between include and require?
    • Discuss
    • 7. How do you define a constant?
    • Discuss
    • 8. How do you pass a variable by value?
    • Discuss
    • 9. Explain the ternary conditional operator in PHP?
    • Discuss
    • 10. Are objects passed by value or by reference?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment