bcrypt work factor versus salted SHA-256 for cross-platform R authentication
Goal Select a password-hashing strategy for an R Shiny application that must run on Linux, Windows, and macOS without requiring compiled dependencies. Constraints bcrypt via the bcrypt or openssl package provides adaptive cost but may need compilation on some platforms, and default work-factor values differ across package versions. SHA-256 is available in ba