console.log(Math.random().toString(36).substr(2, 15)); console.log(parseInt(new Date().getTime() / 1000));