TCryptFile : Delphi 16 - 32 Is a simple and very fast Encrypt/Decrypt component working on registers with a 64 bits key. It looks like very much TFileCopy, (another component by me for files copy) since it manages binary files the same way. Just on buffering data it performs encrypting &/or decrypting. Because of binary management it allows encoding on any kind of files. The encoding algorithm is very easy and you can understand it just reading sources, but there are two keys to use to build an application, one for the developer and one for the end-user. So, also having sources, it will be difficult (sure, not impossible ... but that's normal with warez people ...) to crack the machine. FIntKey is the key that developers can set at design time by object inspector so any application can be different in order of a 32 bit range. FKey is the 4 chars user's password encoded by FIntKey so, finally you have a 64 bits encoding. FKey is put at the beginning of the encoded file so it encreases it's length by 4 bytes and the decrypt method performs a check with user's password and the one stored on data. Properties ---------- InFile : full path-name of the source file to encrypt/decrypt IntKey : Internal developers key Name : ... OutFile : full path-name of the target file to store the result of encrypt/decrypt operation Password : end-user 4 chars password (it should be better to set it at run-time in your application) Tag : ... Note : TCryptFile allows InFile = OutFile, but it should be better if your application raise a warning to the user before proceed do not loose data in InFile by forgetting the password ___________________________________________________________________ Methods ------- Encrypt : starts encoding Decrypt : starts decoding ___________________________________________________________________ WARNINGS : In order with U.S.A. laws on encryptions, if you want to build or distribute your applications in that country you MUST guarantee a 'back door' for F.B.I. Anyway i discharge any responsibility for impropers uses of TCryptFile, that's a problem of you. Have a nice time and if you like my job or you have something to suggest send me an e-mail at : burzox@tin.it