import { pseudoRandomBytes } from 'crypto' ; export function generateRandomId ( length ) { return pseudoRandomBytes ( length ) . toString ( 'hex' ) ; } export function generateRandomBuildId ( ) { return generateRandomId ( 16 ) ; }