logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • So if md5( ) generates the most secure hash, why would you ever use the less secure crc32( ) and sha1( )?


  • Correct Answer
  • Crypto usage in PHP is simple, but that doesn?t mean it?s free First off, depending on the data that you?re encrypting, you might have reasons to store a 32-bit value in the database instead of the 160-bit value to save on space Second, the more secure the crypto is, the longer is the computation time to deliver the hash value A high volume site might be significantly slowed down, if frequent md5() generation is required 


  • Technology problems


    Search Results


    • 1. What?s the difference between accessing a class method via -> and via ::?
    • Discuss
    • 2. When are you supposed to use endif to end the conditional statement?
    • Discuss
    • 3. How To Open Outlook Explorer in VB Code?
    • Discuss
    • 4. Explain about creating VB applications in excel ?
    • Discuss
    • 5. What are the rules which should be followed while naming a variable in VB?
    • Discuss
    • 6. Would I use print "$a dollars" or "{$a} dollars" to print out the amount of dollars in this example?
    • Discuss
    • 7. How do I find out the number of parameters passed into function?
    • Discuss
    • 8. What does a special set of tags do in PHP?
    • Discuss
    • 9. 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
    • 10. If the variable $a is equal to 5 and variable $b is equal to character a, what?s the value of $$b?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment