Ok since you are intersted I will explane how this works.
As KinkaJoy said the fact that it is symmetrical makes it east to ues (same function to encrypt and decrypt ) but it also make it easy to brake with a (plain text atack) If you know a few bytes of the plain text(unencrypted data), which it easy to get (.3ds files will have a knowen main chunck, and the vertion chunk is knowen most file types have a knowen hedder that can be uesed for the plain text) you can get the key out of it.
as was allready said the way the encrypting works is
let P by the plain text block C ciphertext block and let K be the key
P ^ K = C (encryption)
and
C ^ K = P (decryption)
but if you know a little bit of plain text
P ^ C = K (now I know the key and can decrypt the rest of the file)
so this is not a strong algorichim at all, but you would be suprised how many large programs ues this to "password protect" there files (word, wp, winzip, ect..)
I would sugest uesing a proven aglorithim if you are really intrested in pertecting you files DES is good it has be studed by many goverments and indvideules for nearly 30 years and there is still no atack better then brute force (trying every key till they guees the right one) it only ueses a 40 bit key so it can be brutforsed, but you can ues triple DES witch you simpley encryptc it with one key then Decryprt it with a second key then lastly encrypt it once more with a 3rd key(do not ues the same key or it is no different then encrypting it once

) now it has all the streangth of DES but ues a 120 bit key. Blowfish is another good algorithim to ues, it is farly simple to ues and there is no knowen atack better then bruteforce knowen for it. This is the company that is owned by the guy that made blowfish http://www.counterpane.com/ there are a lot of good info about it there(any cryptogrophy in general). Or if you just want a libary to do this check out Crypto++ http://www.eskimo.com/~weidai/cryptlib.html
Hope this helps you out,
>>Josh<<
Edited by - Validus on December 7, 2001 1:46:28 PM