schilly Posted February 2, 2010 Share Posted February 2, 2010 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 More sharing options...
roopurt18 Posted February 2, 2010 Share Posted February 2, 2010 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. Link to comment https://forums.phpfreaks.com/topic/190705-generate-license-keys/#findComment-1005698 Share on other sites More sharing options...
schilly Posted February 2, 2010 Author Share Posted February 2, 2010 cool. ya I was thinking something like that. wasn't sure if there was a better way to do it. Link to comment https://forums.phpfreaks.com/topic/190705-generate-license-keys/#findComment-1005703 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.