Files
bun.sh/docs/runtime
robobun 488ef6d7be fix(docs): correct bcrypt rounds description from log10 to log2 (#27475)
## Summary
- Fix incorrect description of bcrypt cost parameter in hashing docs:
`log10` → `log2`
- The bcrypt cost factor is a power-of-2 exponent (cost=10 means 2^10 =
1,024 rounds), confirmed by `src/bun.js/api/crypto/PasswordObject.zig`
which uses the value as `rounds_log` with valid range 4–31

## Test plan
- Documentation-only change, no code behavior affected

Fixes #27474

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-01 00:08:38 -08:00
..
2025-11-21 14:22:28 -08:00
2026-01-29 08:11:50 +01:00
2026-01-29 08:11:50 +01:00
2026-01-29 08:11:50 +01:00
2026-01-29 01:22:53 -08:00