Repository navigation
Commit ae18884
committed
fix: 🔒 replace insecure cryptographic functions with secure alternatives
Replaced the use of `md5`, `sha1`, and `mt_rand` for salt generation in the installer with cryptographically secure `random_bytes()`.
Since PHP 8.1 is required, the fallback logic for older PHP versions was removed.
Unused variables that were previously used for entropy collection were also removed.1 parent 1b28339 commit ae18884
1 file changed
Lines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
| 349 | + | |
| 350 | + | |
360 | 351 | | |
361 | 352 | | |
362 | 353 | | |
| |||
0 commit comments