Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 8:29 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: php key gen
PostPosted: October 31st, 2007, 11:03 am 
Offline

Joined: May 24th, 2007, 11:02 am
Posts: 132
Location: UK - Wales - Ceredigion
Opus: illuminatus > Evolution
OS: Windows 10 Pro
System: i7 8GB RAM
is it possible to code some php script to generate the unlock key?


Top
 Profile Visit website  
 
 Post subject:
PostPosted: October 31st, 2007, 11:24 am 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
Not without the algorithm used by DW in their keygen, and they are unlikely to release it.
You could write one yourself in PHP.

Paul


Last edited by Paul on November 1st, 2007, 7:05 pm, edited 4 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: October 31st, 2007, 4:05 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
You'd need to impliment your own system, like we do with our software. (See scroggle or Plethos at www.interaktiv.co.uk)

Use a unique ID such as the one built into Opus and use this to compare to your unlock code. For eaxmple:

UID = 12345
JJ HIDDEN code = 9876

Unlock code is 12345*9876 = 121919220

This is avert simple example as it would be easy to work out the key gen, but you could use a hash such as MD5 as this is possilbe with PHP and there are DLLs that can be used with Opus

Therefore md5(121919220) = d41d8cd98f00b204e9800998ecf8427e

Because it's oneway encryption, it's unlikely that somebody could work out the JJ Code to create the key.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 1st, 2007, 3:28 pm 
Offline

Joined: December 25th, 2004, 3:31 pm
Posts: 178
Hi,

Can you expand on your system some more. How would this work so I could generate keys on demand.

I do not understand the UID and JJ HIDDEN variables.

So I would have an UID tied to the Opus Publication, and then to create a unique code what would I do? Or is the UID just a random number which can be divided by JJ HIDDEN?

Sorry for the silly question, I just don't get it.

MD5 was discussed earlier so no need to use DLLs.
http://www.digitalgrapevine.info/viewtopic.php?t=2430


Top
 Profile  
 
 Post subject:
PostPosted: November 1st, 2007, 4:05 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
The UID is the unique ID create by Opus for each publication you produce. this is displayed in the standard evaulation dialogue box or you can access it via script commands.

You need to do 'something' with this ID in order to produce an unlock code that you can provide you customers with. This process, known only to you is coded into your publication for example, you might simply double the ID vaule provided.

The process can be as simple or as complex as you like BUT the easiler it is to work out the action, the more likely somebody is to break it.

For example, if the ID is 23 and you give the customer a code of 46, then it's a good guess that you unlock codes are simply double the ID. I suggested MD5 previously, because I think that this can be acheived in both Opus (via a dll) and PHP.

The process would work like this.

1. The customer's program displays the UID based on their machine
2. The enter this ID into your website, where some PHP doubles the value and returns the unlock key.
3. The customer enters this into their software.
4. Their software checks that the unlock key is double the UID and then stores the unlock key somewhere.
5. The program then runs.

6. Each time the program runs, the comparion is made.

There are all sorts of other things to consider, but this is the bases of the principle used for Interaktiv software.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group