php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "cryptographic functions"

Are there better alternatives to mcrypt for encryption in PHP?

The mcrypt extension in PHP is considered outdated and deprecated. A better alternative for encryption in PHP is to use the OpenSSL extension, which p...

How can developers ensure that tokens generated for user authentication are random and secure, without compromising user data privacy?

Developers can ensure that tokens generated for user authentication are random and secure by using cryptographic functions to generate the tokens. Thi...

Are there any best practices for generating secure SIDs in PHP sessions to prevent session hijacking?

Session hijacking can occur when an attacker steals a user's session ID and impersonates them. To prevent this, it is crucial to generate secure sessi...

What potential pitfalls should PHP developers be aware of when dealing with session variables like uniqid and timestamp?

When dealing with session variables like uniqid and timestamp in PHP, developers should be aware of the potential pitfalls of relying solely on these...

Are there more secure alternatives to using HTTP_REFERER for domain validation in PHP?

Using HTTP_REFERER for domain validation in PHP is not secure as it can be easily spoofed. A more secure alternative is to use a combination of crypto...

Showing 26 to 30 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 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.