Hashes a plaintext password synchronously. Intended for setup contexts —
tests, factories, one-off scripts — where blocking the current tick is
harmless. Request handlers must use hashPasswordAsync so a config
save never blocks the Fastify event loop.
Hashes a plaintext password synchronously. Intended for setup contexts — tests, factories, one-off scripts — where blocking the current tick is harmless. Request handlers must use hashPasswordAsync so a config save never blocks the Fastify event loop.