Skip to content
Sign UpLog In
Profile icon

V X

@OnTop
Repls
Community
OnTop
OnTop
shared a Post
2 years ago
Trying to make a redeemable license application in python
Hey guys, I’m trying to make a redeemable license application in python. if the user pastes the correct string, he can get access to the application.
SixBeeps
SixBeeps
Well, you'll need a large list of valid keys and whether or not they have been used. There are many ways of doing that, but the most sensical way is with a database. Each database entry has a key and a value. For your purpose, you might want to have the generated key as the key (no surprise) and either True/False as the value. When the user enters a key, check with the database. If that key doesn't exist, they're entering in an invalid key. If it is in there, check if it is either true or fals2 years ago