Commit 207e513
committed
security: increase PBKDF2 iterations from 100,000 → 310,000 (OWASP 2025 compliance)
Updated PBKDF2 key derivation parameters to align with OWASP 2025 recommendations.
PBKDF2-HMAC-SHA256 now uses 310,000 iterations instead of 100,000 to improve resistance
against modern GPU and ASIC brute-force attacks.
- Updated both encryptData() and decryptData() derivation routines.
- Ensures ~100ms derivation time on modern CPUs (meets OWASP 2025 standard).
- No changes required for backward compatibility of existing ciphertexts.1 parent 4583db3 commit 207e513
File tree
4 files changed
+7
-7
lines changed- dist
- src
- crypto
- network
4 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
826 | | - | |
| 826 | + | |
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| |||
876 | 876 | | |
877 | 877 | | |
878 | 878 | | |
879 | | - | |
| 879 | + | |
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
| |||
14541 | 14541 | | |
14542 | 14542 | | |
14543 | 14543 | | |
14544 | | - | |
| 14544 | + | |
14545 | 14545 | | |
14546 | 14546 | | |
14547 | 14547 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13089 | 13089 | | |
13090 | 13090 | | |
13091 | 13091 | | |
13092 | | - | |
| 13092 | + | |
13093 | 13093 | | |
13094 | 13094 | | |
13095 | 13095 | | |
| |||
0 commit comments