Registration Code
Philippe Martin
pmartin at snakecard.com
Mon Apr 3 14:57:11 EDT 2006
Hi,
Use the DES example here (DES has been cracked but is definitly secure
enough for your need):
http://www.amk.ca/python/writing/pycrypt/pycrypt.html
Can't help you with the Dutch ;-)
Philippe
Math wrote:
> Pffff..Philippe..
> Where can I find some sample code if any?
> And I'm not a professional programmer...
> This is going to be hard...and my native is Dutch..
> Thanks anyway
>
> Hi,
>
> A suggestion:
>
> I would use encryption (ex: AES):
>
> Hide a secret key in your code and generate an encrypted (readable: ex 07
> 7B 6F ....) version of the correct info (such as full release, or demo
> expire in ...) with that very same key.
>
> Have your software input that encrypted info (some GUI dialog box),
> decypher the info then act accordingly.
>
> The trick is: where to store that ? I would use some binary data file
> (encrypted bziped pickle ?) with a hash or CRC built in to prevent obvious
> tampering.
>
> Hope that helps,
>
> Philippe
>
>
>
>
>
>
> Math wrote:
>
>> Hello,
>>
>> I wonder if I can ask this particular question here...
>> I'm writing this piece of Python Software and I'm almost done...:-)
>> But now I want the end-user to register this software with a registration
>> code or perhaps something like an evaluation demo version which expires
>> after some period of time...
>> Is this the right place to ask or does anybody know where to look for
>> more on the subject?
>>
>> Thanks
>
More information about the Python-list
mailing list