{
  "version": 3,
  "sources": ["../src/bin.ts"],
  "sourcesContent": ["#!/usr/bin/env node\nimport crypto from 'node:crypto'\n\nconsole.log(generateSecretKey())\n\n/**\n * Generates a 32-byte-long random key that can be used for signing cookies\n * using SHA-256 HMAC.\n *\n * Thanks to: https://github.com/crypto-utils/keygrip/issues/26\n *\n * @returns {string} - Random series of 32 bytes encoded in base64.\n */\nexport function generateSecretKey ():string {\n    return crypto.randomBytes(32).toString('base64')\n}\n"],
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,yBAAmB;AAEnB,QAAQ,IAAI,kBAAkB,CAAC;AAUxB,SAAS,oBAA4B;AACxC,SAAO,mBAAAA,QAAO,YAAY,EAAE,EAAE,SAAS,QAAQ;AACnD;AAFgB;",
  "names": ["crypto"]
}
