import crypto from "node:crypto";
function generateSecureToken() {
  return crypto.randomBytes(32).toString("base64url");
}
function hashToken(token) {
  return crypto.createHash("sha256").update(token).digest("hex");
}
export {
  generateSecureToken,
  hashToken
};
//# sourceMappingURL=tokenGenerator.js.map
