<?xml version="1.0" encoding="UTF-8"?>
<!-- Program Name Tools Licence -->
<Licence version="1.0" Author="dmazzini" standalone="yes">
<p name="LastName">USERLASTNAME </p>
<p name="FirstName">FIRSTNAME</p>
<p name="Email">username@domain.com</p>
<p name="Licence">793rboyyuxu45tNOE8039789</p>
</Licence>
[code]
So, in my executable program I have decrypt routine to check licence number based on username, domain and window user. Then scripts validates the license.
In order to generate licences I use a tool with some encrypt algorithm same as executable file. Users must request access to the tool and then I create it based on username, domain etc, you could even generate adding PC mac address in order to do it more secure.
I will suggest you use any of the standard crypt and decrypt perl modules and modify it adding your own crypt/decrypt algorithm.
dmazzini
GSM/UMTS System and Telecomm Consultant