php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "crypt"

Can you choose between using crypt() or md5() for encrypting passwords in htpasswd files?

When encrypting passwords for htpasswd files, it is recommended to use the crypt() function over md5(). Crypt() provides stronger encryption and bette...

How can PHP's crypt() function be used to encrypt passwords for comparison with .htaccess passwords?

To encrypt passwords for comparison with .htaccess passwords using PHP's crypt() function, you can generate a hashed password using crypt() and then s...

What are the potential causes of discrepancies in the output of the crypt function across different platforms or installations?

The potential causes of discrepancies in the output of the crypt function across different platforms or installations include differences in the under...

How can one access and analyze the individual functions of the crypt function in PHP?

To access and analyze the individual functions of the crypt function in PHP, you can use the PHP documentation to understand the parameters and behavi...

Are there any differences in the behavior of the crypt function between PHP versions?

In PHP versions prior to 5.3.0, the behavior of the crypt function may differ when using certain hashing algorithms, such as MD5 or SHA-256. To ensure...

Showing 1 to 5 of 41 results

‹ 1 2 3 4 5 6 7 8 9 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.