[wp-trac] [WordPress Trac] #35290: Use CSPRNG to generate salt instead of API, if possible.
WordPress Trac
noreply at wordpress.org
Wed Jan 6 14:45:46 UTC 2016
#35290: Use CSPRNG to generate salt instead of API, if possible.
--------------------------+-----------------------------
Reporter: sarciszewski | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Security | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Comment (by dd32):
@diddledan Thanks for the patch! A few things though
- There's a typo, `$maxl` instead of `$max`
- In general we avoid array-syntax access to arrays in favour of
`substr()`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35290#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list