Sublime directory Surf the web anonymous Pagerank Monitor


XOR Encryption

ag094
Thu 8 September 2005, 08:46 pm GMT +0200
I've seen a few discussions on several forums about the security of XOR encryption:

http://php.benscom.com/manual/en/function.gmp-xor.php

What are your views on this? Or is there another encryption algorithm that you might be using?

Nikolas
Thu 8 September 2005, 09:01 pm GMT +0200
It is very interesting. I've just take a look and it seems to be an unbreakable type of encryption.

Do you have any piece of code that implements it?

Here is another resource on this topic : http://en.wikipedia.org/wiki/One-time_pad

NumBa1Stunna516
Thu 8 September 2005, 10:30 pm GMT +0200
Wow, very intresting. Never knew of this before. Great find.

TechZentri
Thu 8 September 2005, 10:31 pm GMT +0200
Yea I have heard of this encryption before. I was wondering could this be used to make a license key?

Nikolas
Thu 8 September 2005, 10:40 pm GMT +0200
Yea I have heard of this encryption before. I was wondering could this be used to make a license key?

Yes why not....

I experimented my self with this stuff, but unfortunatelly the extension for gmp is available only in source code. Can somebody help me find a compiled one?

ag094
Sun 11 September 2005, 09:54 pm GMT +0200
How does a license key work with encryption?

Nikolas
Sun 11 September 2005, 10:08 pm GMT +0200
How does a license key work with encryption?

Actually there are many ways to implement something like that.

Before this question is how you will distribute your code. For example if you give source to your client, then it is obvious that whatever you do, the client can brake the code and copy  your project.

So in order to implement something like this you should distribute compiled or even better encoded files. Then you can use the license as a encoded key of your database, and each time the user will run the script, it will make a request in your server which will give the command to stop the script or whatever.

NumBa1Stunna516
Mon 12 September 2005, 04:00 pm GMT +0200
I was thinking you can make your client come to your website and enter their paypal info and make the script generate a license which can be added to license.php that comes with the project. Will that work?

Nikolas
Mon 12 September 2005, 08:58 pm GMT +0200
I was thinking you can make your client come to your website and enter their paypal info and make the script generate a license which can be added to license.php that comes with the project. Will that work?

Sure it will work. But how you will secure it from a user that knows coding?

For example you are using a license.php which is included to the whole project and gives a signal if the program is registered.

What if the client removes this file and replace it with one that will give the 'ok' signal automatically?

NumBa1Stunna516
Tue 13 September 2005, 02:09 am GMT +0200
The php will be encrypted.

TechZentri
Tue 13 September 2005, 04:03 pm GMT +0200
Hmm, why arnt there any license scripts for php :(

Nikolas
Tue 13 September 2005, 04:36 pm GMT +0200
Hmm, why arnt there any license scripts for php :(

Check here. It has 2-3 scripts for that job

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional