Commit 017223d
committed
Use 16 bytes secure random instead of a number from 0 to 999. This
increases entropy in the salt from about 10 bits to 128 bits.
Reported by: Pierre Carrier <pierre carrier#airbnb com>
Security: CVE-2014-00831 parent bbef82f commit 017223d
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments