Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7446117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:13:36+00:00 2026-05-29T12:13:36+00:00

I need to generate unique non-sequential alphanumeric string of exactly length 6 (not less,

  • 0

I need to generate unique non-sequential alphanumeric string of exactly length 6 (not less, not more).
With non-sequential I mean it should look visually random at first sight and not coming from a sequence (it doesn’t matter if you can find the sequence after some number of days of study, it should just appear random at first sight).
And bear in mind it must be unique.
It’s also unfeasible to lookup all the numbers that have been used already.

I was thinking of letting a database generate a unique number and then apply some function to convert that number into a unique non-sequential alphanumeric string of exactly length 6. Similar to how a hashing algorithm works, but then without possible collisions.

I’ve found this: http://blog.maxant.co.uk/pebble/2010/02/02/1265138340000.html
But the sequence is not visually random.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T12:13:37+00:00Added an answer on May 29, 2026 at 12:13 pm

    Is it possible for you to register the generated String sequence to some database/file/someplace? Then one way to do can be for each position (from 1 to 6), randomly pick a character and form your 6 character string. And see if it is one of the registered sequence or not. If already registered, then generated another sequence. If not registered then register & use the generated one for your purpose.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an application where I need to generate unique, non-sequential IDs. One
I need to generate a unique string that is 30 characters in length. At
I need to generate a unique string that will differ from machine to machine
I need to generate unique record id for the given unique string. I tried
I need to generate a unique integer id for a string. Reason: I have
I need to generate 10,000 unique identifiers in Java. The identifiers should be a
Hi i need to generate 9 digit unique account numbers. Here is my pseudocode:
I need to generate unique ID's for my application. When I used (UUID.randomUUID()).toString() ,
I've got a project where we'll need to generate a lot of fixed-length random
I need to generate unique machine ID for a CE 6.0 device. On Windows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.