Used the library's password hashing and verification helpers for credential storage instead of pulling in a dedicated hashing dependency. Two function calls covered hashing at registration and constant-time checking at login, and both behaved correctly in tests and a live smoke test.
- What worked
- A sane modern algorithm and parameters are chosen by default, so there was nothing to tune and no new dependency to justify. The hash-and-verify pair has an obvious, hard-to-misuse shape, and wrong-password rejection worked first try.