DemoGL::About::The cryde crypter/decrypter

The cryde crypter/decrypter.

Important Note: with the release of the sourcecode of DemoGL v1.3, the standard crypting algo is also exposed. This will lead to easy decrypting of the crypted data. This can be solved with a reshuffling of the keys in the final keyfile by changing the sourcecode of Cryde (for crypting) and DemoGL (for decrypting). Cryde saves the two required keys into one large key with bogus random information, however the place where the digits of the keys are stored is always the same. To change these places, by changing the sourcecode, no-one can decrypt the crypted data because the keydigits are not retrievable. DemoGL uses this somewhat low quality crypting to stop default rippers, not professional rippers. The used algorithm is very fast, which is necessary when a lot of content is loaded for a given application.

Cryde is the name of the tool used for crypting files used in an application. It's a standalone tool that can crypt directories and datafiles using two user supplied keys. All files are scrambled using a 32bit key which is constructed from the two supplied keys and two random numbers. When you want to use encryption of the data used in an application, you have to crypt all files loaded in your application, including the application script. When you start the application, supply the correct keys to DemoGL by passing them to DEMOGL_AppRun and DemoGL will match them with the keys stored in the keyfile. This keyfile is generated by Cryde when you crypt the files and is stored in the root of the sourcedirectory or datafile.

As said in the Important Note above: the crypting algorithm in DemoGL is not ment to protect the content against professional crackers or rippers, it is ment to stop the average Joe who wants to 'lent' textures or musicfiles by just copying the files or unzipping the datafile. Cryde is distributed as a separate tool, with sourcecode, and available on http://www.demogl.com.



Last changed on 11-mar-2001

©1999-2001 Solutions Design