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
  1. Home
  2. General Programming
  3. Java
  4. serial numbers in Java Application

serial numbers in Java Application

Scheduled Pinned Locked Moved Java
javaphpalgorithmsquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TorstenH
    wrote on last edited by
    #1

    Hey! I'm searching for a proper way to create serial numbers for use with one of our Apps. I've also found some tutorials etc, but none that really tickled me. Some even seem to be a bit "home made" with wild String operations and stuff like that. Do you use serial numbers? If yes - what system do you use :confused:

    regards Torsten When I'm not working

    N B 2 Replies Last reply
    0
    • T TorstenH

      Hey! I'm searching for a proper way to create serial numbers for use with one of our Apps. I've also found some tutorials etc, but none that really tickled me. Some even seem to be a bit "home made" with wild String operations and stuff like that. Do you use serial numbers? If yes - what system do you use :confused:

      regards Torsten When I'm not working

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      Is it server based? A reasonable approach would be to use a cryptographically secure pseudorandom number generator[^] with the seed generated from the machine's MAC address. A similar approach would be the same with the registered e-mail address's hash-code as a seed.


      Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

      T 1 Reply Last reply
      0
      • T TorstenH

        Hey! I'm searching for a proper way to create serial numbers for use with one of our Apps. I've also found some tutorials etc, but none that really tickled me. Some even seem to be a bit "home made" with wild String operations and stuff like that. Do you use serial numbers? If yes - what system do you use :confused:

        regards Torsten When I'm not working

        B Offline
        B Offline
        BobJanova
        wrote on last edited by
        #3

        Depends what you want it for. Identification of users or versions for support queries? 'Locking'/registration-required hard to break ones? Machine-unique ones? Is it a client/server app or a standalone one?

        T 1 Reply Last reply
        0
        • B BobJanova

          Depends what you want it for. Identification of users or versions for support queries? 'Locking'/registration-required hard to break ones? Machine-unique ones? Is it a client/server app or a standalone one?

          T Offline
          T Offline
          TorstenH
          wrote on last edited by
          #4

          Stand alone - with a small service at server side... I think I'll try to create some using the MAC Address, that is a good idea and should work on all OS. Let's find some wild ideas... :wtf:

          regards Torsten When I'm not working

          1 Reply Last reply
          0
          • N Nagy Vilmos

            Is it server based? A reasonable approach would be to use a cryptographically secure pseudorandom number generator[^] with the seed generated from the machine's MAC address. A similar approach would be the same with the registered e-mail address's hash-code as a seed.


            Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

            T Offline
            T Offline
            TorstenH
            wrote on last edited by
            #5

            thanks for the link, I'll see how I can integrate that...

            regards Torsten When I'm not working

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

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