Password hashing using the native crypto module.
- Clone the repo
- Install dependencies with
pnpm install - Set up git hooks with
pnpm exec lefthook install - Run tests with
pnpm test
- https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#scrypt
- https://github.com/pilcrowonpaper/oslo/blob/main/src/password/scrypt.ts
- https://github.com/better-auth/better-auth/blob/canary/packages/better-auth/src/crypto/password.ts
- https://docs.adonisjs.com/guides/security/hashing#scrypt