Created
December 18, 2018 01:56
-
-
Save vartana/5bf8d85abe3c13ea8ee25f134b86df34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var x = require('crypto'); | |
var t = Math.floor(Date.now() / 1000); | |
var z = crypto.createHash('md5').update(t.toString()).digest("hex"); | |
var customerId = z.substring(0,10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment