title: How to have a Javascript client create a secure UUID?
body: <p>Is it possible for a Javascript client create a UUID that cannot be faked?</p>
  
  <p>For example, suppose one of the solutions from <a href="https://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript">Create GUID / UUID in JavaScript?</a> were used to generate a UUID and send a create request with UUID to the server. Is it possible for the server to check that the UUID was indeed created by the Javascript function and not by some other function?</p>
  
  <p>One idea is to use a checksum, but the UUID generation and checksum code would be visible to a "hacker". They could simply modify the Javascript function and then add the checksum.</p>
  
  <p>So, are there any good solutions to this problem?</p>