php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "crypt"

Is it possible to mix both crypt() and MD5-encrypted passwords in the same htpasswd file?

It is not possible to mix crypt() and MD5-encrypted passwords in the same htpasswd file because the hashing algorithms are different and not compatibl...

How can a beginner in PHP decrypt a string that has been encrypted using the crypt() function?

To decrypt a string that has been encrypted using the crypt() function in PHP, you can use the crypt() function again with the encrypted string and th...

What are the potential pitfalls of using crypt() function in PHP for password hashing?

One potential pitfall of using the crypt() function in PHP for password hashing is that it may not be the most secure option available. The crypt() fu...

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 should the salt be formatted and what alphabet should it be in when using the "crypt" function in PHP?

When using the "crypt" function in PHP, the salt should be formatted with a specific prefix indicating the algorithm to use (e.g., "$2a$" for bcrypt)...

Showing 6 to 10 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.