________________________________________________________________EDCrypt v2.1__
________________________________________________Ivan "PiRaMidA" Manida, 1997__
__32bit_en(de)cryption________________________________________________________

                            Documentation

1----------Overview---------
2--------Installation-------
3-----------Usage-----------
4---------Switches----------
5---------Secutiry----------
6------Technical-Info-------
7--------Legal.Info---------
8---------Copyright---------
9---------Shareware---------


1. Overview
-----------

EDCrypt is a easy-to-use console application for Win32 platform
(that includes Win9*/NT). It's purpose is encryption and decryption of
Your valuable data, email letters, any other data that You're sending or
sharing through unsecure media (like Internet), etc.
Encryption algorythms were developed by author "from scratch" and are
NOT compatible with any other encryption algorythms (that might seem
to be a drawback, but it gives better protection).
You DON'T need to send any keys to the party You're communicating with
- You must tell the other party password which You're using, and
You can do it even via phone ("secret key" approach, with a password).

2. Installation
---------------

To install EDCrypt simly create a subdirectory anywhere You like
and unzip (pkunzip, winzip, etc) all the files from this package.

I suggest You to create a shortcut on desktop - simply press right
mouse button on the empty area of Your desktop, select
"Create Shortcut" from pop-up menu, then click browse and locate
EDCrypt.exe. You're all done!
(if You don't want to have EDCrypt shortcut, skip the above section)

To quickly check you EDCrypt copy please go to the directory where you
installed it and drag EDtest.txt over EDCrypt executable. Type
"password" when prompted for password. Then open EDtest.txt with notepad.

3. Usage
--------

EDCrypt was developed to be as easy to use as possible, so that You won't
have to worry about many switches. If You created an icon for EDCrypt the
simply drag the file(s) You want to encrypt over it, and it will automatically
determine the appropriate action and perform it.

In every EDCrypt session, no matter what parameters you specify, you would
be prompted to enter password that would be used with all files in that
particular session, both for encryption and decryption. Enter your chosen
password carefully, use backspace key if you're unsure which key you did
hit last, use ESC key if you don't want to continue.

!Pressing Enter key starts encryption! Please DO NOT interrupt it as it
!might destroy the data in the file being processed!
!EDCrypt overwrites Your source file!  You would get Your source file
!with .bak extension, and new, encrypted, file will take place of
!original one. In case You mistyped or forgot Your password the only way
!to restore Your file would be renaming .bak file back to original. (You
!can use -n switch to prevent .bak file creation, see "4.  Switches").

You can also start EDCrypt from command line, specifying Your file(s)
as command line parameter(s):

        EDCrypt.exe myfile1.txt myfile2.exe myfile3.zip

would en(de)crypt myfile1.txt, myfile2.exe and myfile3.zip.
To decode them back simply perform  that action once more. EDCrypt also
supports wildcards:

        EDCrypt.exe c:\windows\*.txt

would encrypt all .txt files in c:\windows directory.

4. Switches
-----------

The switches which are present should be used mainly by power users or in batches:
Run EDCrypt with no parameters to see the list of switches. Listed here:

-e|d : Encrypt/Decrypt only - by default, EDCrypt automatically detects
     encrypted files and decrypts them, and encrypts not encrypted files.
     If You only need to encrypt files (i.e. already encrypted files would be
     skipped) specify -e option, i.e.

        EDCrypt.exe *.doc -e

     would encrypt all non-encrypted .doc files in current directory (and will
     not affect already encrypted ones). '-d' gives revers effect. They can't be used
     together.

-l   : Filename is a list of files - Shows that given filename is a
     filelist which contains paths to the files to be en(de)crypted, i.e.

        EDCrypt.exe mylist.lst -l

     would read filenames in mylist.lst (each one on separate line) and
     perform en(de)cryption.  This is one of the options for encrypting long
     file names (first one is to create an icon on desktop and just
     drag Your files on it, see 2., second one is to use "" around
     file's name, and  third is to create a file where every line would
     be a filename and use -l switch).

-n   : Don't create backup (Warning: original data would be overwritten
     with this option and there would be NO way to restore Your data
     if the password is forgotten). If You're low on disk space You can
     use this switch.

     To encrypt files to some new extension use following batch:

<----------cut here---------->
rem begin EDCrypt batch edc.bat
 EDCrypt %1.%2
 copy %1.%2 %1.new
 copy %1.bak %1.%2
 del %1.bak
rem end EDCrypt batch edc.bat
<----------cut here---------->

     Then, by using following example

        edc.bat myfile txt

     You would get en(de)crypted data in myfile.new and the original file
     (myfile.txt) would stay intact.

Example of 'complex' command:

        EDCrypt.exe -n -e myfile.zip "myfile with a long name.txt" c:\utils\document.*

would only encrypt file myfile.zip, 'my file with a long name.txt' and
all files from c:\utils having name 'document' and any extension,
skipping creation of .bak files.

5. Security
-----------

The level of security provided by the encryption mechanism depends on the
password that You use. Longer the password - lower the risk of Your data
being cracked. Normally, even with a 4-letter password it would take lots
of work by a skilled hacker to crack EDCrypt's encryption: first of all,
hacker should be skilled enough to reverse-engineer 32bit pm program,
second of all, even having it's source code at hand, it would take him
quite some time to guess a matching password, and third (and here is the trick)
the first password that would be accepted won't necessarily restore the
data to it's original state - it can just screw up everything if the
password is not AN EXACT copy of the one entered when encryting.
To make things real the password is NOT stored with Your encrypted file.

So, honestly speaking, if You would forget Your password I, with the knowledge
of every line in this program, won't help You if Your password is longer than 15
symbols... Even if You're a registered user. Good news if You need some security,
bad news if that was the only picture of Your favourite dog...

6. Technical info (You can go right to the end of file here)
-----------------

You need Windows95/98/NT/... platform, 486 or better processor
and some RAM.

NOTE for en(de)crypting large files: to speed up encryption process
all disk operations are reduced to minimum, so the program would require
as much memory as the largest file in Your encryption session is, plus
about 200Kb. That means, if You're trying to encrypt 30 Meg file, You better
get 32Megs of RAM (64 would actually be more like it because Win takes around
8 megs and most probably wouldn't like to share). Of course nothing bad if
Your file size is more than Your RAM - Windows would use 'Virtual Memory',
which is Your harddrive. That gives about 10-time slowdown, because
en(de)cryption process scans the file multiple times.

EDCrypt not only performs en(de)cryption, but it also compresses most
of the files (automatically determines files that won't benefit from
compression) using modified Huffman coding.

KNOWN BUGS:
      If You would be very lucky Your name would appear here...
      None found yet.
      NOTE that additions to EDCrypt that You would like to see would
      be accepted only from registered users. You can still submit bug
      reports but it's my right to fix or not to fix them, if You're
      using a shareware copy.

7. Disclaimer
-------------

First of all, Ivan S. Manida, later called Author, is not responsible
for any damage caused by his encryption/decryption software EDCrypt,
later called shareware. If shareware would somehow, implicitly or
explicitly, harm You or Your property, that's none of Author's fault
and he's not going to fix/correct this. Any problems arising from use
of this shareware are responsibility ONLY of the person using it. Author
doesn't guarantee that he would fix or try to fix what will be the result
of shareware's work. If You've forgotten Your password Author DOES NOT
take any responsibility to retrieve Your data. Note that for some cases
Author would like to help You (Registered users only), but still he doesn't
guarantee any success in this. Enough.

8. Copyright
------------

This shareware is public copyright in 1996 by Ivan S. Manida.
Any portions of code, encryption principle, program name and such
CAN NOT be used anywhere without prior Author's written permission.
You're ARE NOT allowed to reverse-engineer, decompile, change bits,
and in other ways modify executable module or any files contained
herein. This rights are protected by the Intellectual property laws
which are in power in the country where You live. So obey.

9. Shareware
------------

This is a shareware product, and as every such product it could
be evaluated. There is no evalutaion degradation of the product - it's
a full version. However, by registering it You would:

1. Receive uprgades to the product as they come out.
2. Receive technical support/help from author.
3. Support the program's development so I would have time/interest
   to make it better.
4. Get Your name encrypted in every file that You process
   so that files encrypted by You would be easily authenticated.
5. Support shareware principle, by which many people around the world
   try to make programs as good as they can and give them away for free,
   with one condition - if You like it, if You use it - register it!

If You're not going to register You can still drop me a few lines showing Your
interest in the project. IT IS NOT A CRIME to use unregistered product,
it's just Your own problem - for some 10$ leave Yourself without all
the 1-5 (see above) :)

How to register/show Your interest:
email:  piramida@ars.ml.org
        Serguey.Manida@pobox.spbu.ru
        piramida@rocketmail.com
        
in subject put either: "EDCrypt registration" or just "EDCrypt" if that's not
about registering.
Get 10$ ready, author would contact You for/with additional information.

If You don't have email access You can call 7-(812)-4285510 and ask for
Ivan Manida.

Thanks for reading this far, and enjoy!

contact author:
     email: Serguey.Manida@pobox.spbu.ru or piramida@ars.ml.org
     ICQ UIN: 3335090
     5thD homepage: http://www.portal.ru/quake2/