# Search results for "password_hash function behavior"

7 results, page 1 of 1. Each result is an email: results with the same thread number are in the same thread. The link opens the thread as Markdown, find the email in it by its number.

More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

1. [[Concept] Flip relative function lookup order (global, then local)](https://externals.io/message/125152.md) — email #125152 in thread #124718, by John Coggeshall on 2024-08-23
   > … string|int|null $algo, array $options = []): string { print("Hello"); return $password; } <?php // my code namespace App\Models; include "something.php"; **password**_**hash**('foobar', **PASSWORD**_DEFAULT); This code IMO shouldn't print "Hello", but it does. The current **behavior** of looking …
2. [[RFC] Throw error for passwords longer than 72 bytes in password_hash() with bcrypt](https://externals.io/message/132709.md) — email #132709 in thread #132689, by Ayesh Karunaratne on 2026-09-30
   > … passed string is a **password**, and it is merely an implementation detail for bcrypt. The php.net manual page for **password**_**hash** also already mentions the 72-byte truncation **behavior**. Passing an invalid hashing algorithm, unsupported algorithm options, RNG failures …
3. [Binary (un)safety of password_hash() used with PASSWORD_BCRYPT](https://externals.io/message/114106.md) — email #114106 in thread #114090, by Niklas Keller on 2021-04-22
   > … example which I think summarizes the **behavior** you described here: https://3v4l.org/6tunp I have links to a library / blog post: https://github.com/paragonie/**password**_lock https://paragonie.com/blog/2016/02/how-safely-store-**password**-in-201
4. [[DRAFT RFC] Adding Simplified Password Hashing API](https://externals.io/message/61003.md) — email #61003 in thread #60969, by johannes@schlueters.de on 2012-06-27
   > Hi, https://wiki.php.net/rfc/**password**_**hash** Some comments on the "error **behavior**" part: `E_WARNING` - When CRYPT is not included in core (was disabled compile-time, or is listed in disabled_functions declaration) Disabling a different **function** should …
5. [password_verify() and unknown algos](https://externals.io/message/113026.md) — email #113026 in thread #113007, by Hans Henrik Bergan on 2021-01-30
   > … person saying: let's not clutter functions with more **behavior** than what's needed :-) If you need to validate a **hash** for being "well formed" rather than "matching", then write a separate **function** dedicated to that, rather than increasing the …
6. [php_crypt() problems](https://externals.io/message/99877.md) — email #99877 in thread #99877, by Sara Golemon on 2017-07-15
   > While exploring **password**_*() **functions**, I found myself in php_crypt() and noticed a use-after-free in the PHP_USE_PHP_CRYPT_R==0 case. char *crypt_res; { #if something struct crypt_data buffer; #else CRYPTD buffer; #endif crypt_res …
7. [[RFC] [Under Discussion] New Curl URL API](https://externals.io/message/118148.md) — email #118148 in thread #118041, by Rowan Tommins on 2022-07-01
   > … a higher chance of them using it incorrectly, and introducing errors. A good example of this mindset is the **password**_* **functions**: they do not expose the options of underlying implementations, they present an easy-to-use opinionated set of **behaviour**s …
