About 108,000 results
Open links in new tab
  1. javascript - generate random string for div id - Stack Overflow

    Jul 28, 2011 · Learn how to generate a random string for a div id using JavaScript, with tips and examples from the Stack Overflow community.

  2. How can I create unique IDs with JavaScript? - Stack Overflow

    Mar 19, 2019 · To avoid creating any counters and be sure that the id is unique even if there are some other components that create elements with ids on the page, you can use a random …

  3. How do I create a unique ID in Java? - Stack Overflow

    Sep 7, 2009 · I'm looking for the best way to create a unique ID as a String in Java. Any guidance appreciated, thanks. I should mention I'm using Java 5.

  4. random - How can I generate a unique ID in Python? - Stack …

    Jul 31, 2009 · I need to generate a unique ID based on a random value.

  5. How to generate a random, unique, alphanumeric ID of length N …

    Feb 1, 2017 · Thanks! I know there's gen_random_uuid() for UUIDs, but I don't want to use them in this case. I'm looking for something that gives me IDs similar to what Stripe (or others) use, …

  6. How to generate unique ID with node.js - Stack Overflow

    Math.random is a poor choice when a truly random ID is needed, especially if it needs to be unpredictable / cryptographically secure.

  7. How to auto generate a ID with random numbers in sql server

    Dec 6, 2016 · How to auto generate a ID with random numbers in sql server Asked 9 years ago Modified 5 years, 6 months ago Viewed 32k times

  8. sql - Generate a random unique ID using PHP - Stack Overflow

    Apr 12, 2014 · 1 First of all, I agree with @Shankar Damodaran, it is a lot better to use AUTO_INCREMENT rather than random IDs because if you start using random ones, then …

  9. c# - Generate a unique id - Stack Overflow

    8 This question seems to be answered, however for completeness, I would add another approach. You can use a unique ID number generator which is based on Twitter's Snowflake id …

  10. Generating Unique Random Numbers in Java - Stack Overflow

    Create an array of 100 numbers, then randomize their order. Devise a pseudo-random number generator that has a range of 100. Create a boolean array of 100 elements, then set an …