{"version":3,"sources":["../../../src/utilities/random.ts"],"names":["string","length","crypto","number","min","max"],"mappings":"AAAA,yPAAmB,SAEHA,CAAAA,CAAOC,CAAAA,CAAS,EAAA,CAAI,CACnC,OAAOC,gBAAAA,CAAO,WAAA,CAAYD,CAAM,CAAA,CAAE,QAAA,CAAS,KAAK,CAAA,CAAE,KAAA,CAAM,CAAA,CAAGA,CAAM,CAClE,CAEO,SAASE,CAAAA,CAAOC,CAAAA,CAAM,CAAA,CAAGC,CAAAA,CAAM,CAAA,EAAK,EAAA,CAAK,CAAA,CAAG,CAClD,OAAOH,gBAAAA,CAAO,SAAA,CAAUE,CAAAA,CAAKC,CAAG,CACjC,CAAA,uCAAA","file":"/home/runner/work/equipped/equipped/dist/cjs/utilities/random.min.cjs","sourcesContent":["import crypto from 'crypto'\n\nexport function string(length = 20) {\n\treturn crypto.randomBytes(length).toString('hex').slice(0, length)\n}\n\nexport function number(min = 0, max = 2 ** 48 - 1) {\n\treturn crypto.randomInt(min, max)\n}\n"]}