Click here to Skip to main content
12,996,511 members (67,216 online)
Click here to Skip to main content


101 bookmarked
Posted 27 Apr 2003

Open Source Software protection system - Part 1

, 18 Apr 2004
Outlines in developing an open source implementation of a new software protection system.
 Demo application to show the modus operandi (hope I got that right ;)

Step 1: Copy any file of your choice to the folder containing Encrypt.EXE and RENAME it to OriginalData.dat

Step 2: Run Encrypt.EXE and depending upon your machine you will get a key which is the MD5 digest of your system info

Step 3: Press OK to encrypt the dat file 

[In practice, the customer/user will have the module which only creates teh MD5 digest of the system info string and send both to the developer, i.e he gets to execute Step 2
The developer/publisher on getting the key does Step 3 and sends the encryped file and other supporting program files back to the user.]

Step 4: Run Encrypt.EXE and now press Cancel to decrypt the encrypted data file.The decrypted data file will be named DecryptedData.dat

Step 5: Rename DecryptedData.dat to whatever the original filename was and it should be the same !

[The above two steps will be executed automatically by the Loader program on the user's computer.]

Step 6: Perform Steps 4 and 5 again BUT NOW on a different machine configuration (maybe rename a drive, reassign drive letter or run a different OS) and though DecryptedData.dat is created allright, since the key was not the same DecryptedData.dat it's just garbage !

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Kamal Shankar
Web Developer
United States United States
Kamal Shankar is a programming freak (or so he feels).He currently lives in the Salt Lake City and loves doing what he has been since 1990 - coding horribly Wink | ;)

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170609.2 | Last Updated 19 Apr 2004
Article Copyright 2003 by Kamal Shankar
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid