Change randomString to crypto.randomBytes