File SystemUtilitiesHash a passwordUse Bun.password.hash() to securely hash passwords. It's built into Bun, with no third-party dependencies.Copy MarkdownOpenGet the current Bun versionBun.version contains the current version of Bun in semver format.Generate a UUIDUse crypto.randomUUID() to generate a UUID v4. It works in Bun, Node.js, and browsers, with no dependencies.