how to generate license keys (such as the CD keys on the case of most Microsoft software) based on user name ? any idea and or suggestion would be greatly appreaciated and many thanks in advance

Regards

Winanjaya