I need to port some JS code which involves Math.random()*2147483648)^(new Date).getTime(). While it looks like for smaller numbers, the python function and the JS function are equivalent in function, but with large numbers like this, the values end up entirely different.
Python:
2147483647^1257628307380
=1257075044427
Javascript:
2147483647^1257628307380
=-1350373301
How can I get the Javascript value from python?