Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

PHP Interview Questions and Answers

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

Ans. 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.

Is it helpful? Add Comment View Comments
Ques 27. How do you match the character ^ at the beginning of the string?
Ans. ^^
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2016 WithoutBook