Files
bonob/src/random_string.ts
2021-03-01 17:28:48 +11:00

7 lines
128 B
TypeScript

import { randomBytes } from "crypto";
const randomString = () => randomBytes(32).toString('hex')
export default randomString