Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

CodingDragon

@CodingDragon
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Product Key Serial Number Generation
    C CodingDragon

    Hi Have never done such a thing, but you could just run a for loop with an ID and then hash it. for(int i = ID; ID < limit; ID++) { // gethash() gives you a 9 digit number - theoretically not unique but very close. // collisions in hash is very rare string hash = ID.gethash().toString(); // if needed longer just do it again hash = hash.gethash().toString(); // format the string to look like xxxx-xxxx-xxxx-xxxx (insert the '-' etc) } Not pretty, but it would work.

    C# help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups