php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "cryptographic hash function"

Is there a significant difference between using hash() and crypt() for password encryption in PHP?

When it comes to password encryption in PHP, using crypt() is generally considered more secure than hash(). Crypt() allows for the use of different ha...

How can PHP be used to generate an MD5 hash of form input without compromising security?

When generating an MD5 hash of form input in PHP, it is important to sanitize and validate the input data to prevent any security vulnerabilities. One...

How can old MD5 passwords be securely rehashed using PHP's PASSWORD_DEFAULT hash?

When transitioning from using old MD5 passwords to PHP's PASSWORD_DEFAULT hash for better security, it is important to rehash the old MD5 passwords se...

What are the differences between generating a sha512 hash in Lua compared to PHP, and how can they be reconciled?

The main difference between generating a sha512 hash in Lua and PHP is the way they handle input data. Lua's built-in SHA-2 hashing functions do not s...

How can the issue of truncated hash values in MySQL databases be addressed when using md5() for password hashing?

When using md5() for password hashing in MySQL databases, the issue of truncated hash values can be addressed by ensuring that the column in the datab...

Showing 46 to 50 of 10000 results

‹ 1 2 ... 7 8 9 10 11 12 13 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.