Jump to content

generate license keys?


schilly

Recommended Posts

anyone have any ideas or examples for generating unique keys to be used as a license? the codes will be tied to a person's user account.

 

i was just going use a random generated string and check it against the table of license codes. anyone have any better ideas? there wasn't really any good results from google.

 

thx.

Link to comment
https://forums.phpfreaks.com/topic/190705-generate-license-keys/
Share on other sites

i was just going use a random generated string and check it against the table of license codes

This is usually what I do.  To help with uniqueness I usually use some form of: client name + timestamp + random

 

It's hashed in a manner that when you view the final key there is no way to know who it belongs to though or what the original data was.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.