import crypto from "crypto" ; const DEFAULT_PASSWORD_LEN = 48 ; /**
 * Generates a hex encoded random password
 */ export function randomPassword ( ) { return crypto . randomBytes ( DEFAULT_PASSWORD_LEN ) . toString ( "hex" ) ; }