home *** CD-ROM | disk | FTP | other *** search
- AMFFileCoder 1.10 (11-Oct-92)
- ==============================
- File Encryption
- ===============
- AMFFileCoder is a small module that,when loaded and activated,will
- automatically encode all files that are saved of a given filetype,and
- automatically decode these files when they are reloaded.It saves the time
- of manually encrypting a file,using a program such as AMFCoder (which,
- incidentally,allows a far greater range of encryption options than
- AMFFileCoder,operating on all filetypes,but manually),by automatically
- encoding and decoding all files of a particular filetype.
-
- Operation
- =========
- AMFFileCoder operates in the following way.Once loaded,the command
- AMFFileCoderOn is entered from the oscli (*) prompt,together with a password
- that was given when AMFFileCoder was created.Whenever a file is either
- completely loaded,or completely saved,it's filetype is checked,and should
- this be the filetype that AMFFileCoder is looking out for,it will either
- encrypt or decrypt that file,so that the copy of the file on disc is
- encrypted,but the copy of the file in memory is decrypted.Thus,when you
- switch off your computer,and leave your vital information (should you have
- any) lying around,it will automatically have been encrypted without you
- having to worry about it,and cannot be decrypted unless the correct version
- of AMFFileCoder is loaded,and the correct password given.AMFFileCoder can
- also be switched off,using the AMFFileCoderOff command,which,once again,
- requires a password.
-
- Setting Up
- ==========
- Within this directory,a BASIC program named CrFileCode is included to create
- a version of the AMFFileCoder module.When run,a password is asked for.This
- password is used both to activate and deactivate AMFFileCoder.It is
- important that it is remembered.You will then be asked for two EOR codes,one
- being an Initial EOR code,and one being an Extended EOR code.These are used
- to create an encryption table that is used to code and decode the selected
- files.Finally,you will be asked for the filetype of the files that you wish
- to encrypt/decrypted.It is recommended that this should be one of the user
- filetypes (000-800),or the text filetype (FFF),although this can cause
- problems with normal text files.
-
- The encryption table will be created,and checked to see whether it is a
- valid encryption table.If not,the error Encryption table faulty will be
- generated,and you will have to start again,changing the EOR codes entered.If
- the table is sound,a unique encryption code will be generated,allowing you
- to check different versions of AMFFileCoder,without giving away the actual
- encryption table.Finally,a file name to save the module as will be requested,
- and the module will be saved.
-
- * Commands
- ==========
- The AMFFileCoder module contains three * commands that are used in the
- encryption process.These may be entered either by pressing f12 from the
- desktop,using the desktop New Task option from the Task Manager icon menu,
- or from any CLI shell,as with normal * commands.These commands are as
- follows:
-
- *AMFFileCoderOn <password>
- *AMFFileCoderOn will switch on the AMFFileCoder module if it has previously
- been switched off,or if it has only just be loaded,and is thus inactive.It
- requires the password that was given when AMFFileCoder was created (above).
-
- *AMFFileCoderOff <password>
- *AMFFileCoderOff will switch off the AMFFileCoder module,so long as the
- correct password is given.This is to allow alterations to be made to
- previously unreadable files,and to allow the transfer of normal files to
- encoded files.
-
- *AMFFileCoderCreate <filename>
- *AMFFileCoderCreate will create a blank file that will automatically be
- encrypted/decrypted should more information be added to it using a text
- editor that preserves filetypes,for example Edit.
-
- Protection
- ==========
- AMFFileCoder will encrypt/decrypt the following file operations:
-
- OS_File 0 and 10 (save)
- OS_File 12,14,16 and 255 (load)
-
- These include the two file operations that Edit uses to save and load
- complete files,so it allows AMFFileCoder to automatically encode all files
- saved or loaded by Edit using the correct filetype.
-
- This is achieved by means of a vector claim to the appropriate vectors that
- is reinitialised after a reset.This means,simply,that AMFFileCoder will
- still work after a machine has been reset,although not after a complete shut
- down,for nothing can survive that!
-
- Conversion
- ==========
- Converting unencrypted files to encrypted files is slightly difficult.
- Firstly,make sure AMFFileCoder is off,and load an normal version of Edit.
- Then,load as many files as you wish to encode,switch AMFFileCoder off,load
- the files into Edit,switch AMFFileCoder on,and save the files into the
- required position.Similarly,to convert encrypted files to unencrypted files,
- load Edit,switch AMFFileCoder on,load the files,switch AMFFileCoder off,and
- save the files again.
-
- To speed this rather slow process up,set the following function key
- definitions:
-
- *Key 1 AMFFileCoderOn <password>|M
- *Key 2 AMFFileCoderOff <password>|M
-
- where password is replaced with your correct password.Now press f12,then
- either f1 or f2 to switch on/off AMFFileCoder
-
- Known Problems
- ==============
- Due to the nature of AMFFileCoder,it cannot encode files that are saved
- using the OS_BGet,OS_BPut or OS_BGBP routines,or decode encrypted files
- that are loaded using these routines.This means that certain parts of the
- operating system that use these routines will not appreciate encoded files,
- notably *Dump,*Type,etc.To be ensured of decryption/encryption,use the
- appropriate part of OS_File (either 0 or 10 for saving, and 12,14,16 or 255
- for loading).
-
- AMFFileCoder is designed to work with most simple text editors, for example
- Edit and StrongEd2,and has been tested rigourously on these programs.However
- the author of this software cannot accept any liability for any loss or
- damage arising from the use or misuse of AMFFileCoder.If in doubt,check
- first.
-
- Versions
- ========
- 1.00 Original version.
-
- 1.10 OS_File 10,12,14 and 16 now supported. This allows alternative text
- editors, for example, the excellent StrongEd2, to be used, as well as
- Edit.
-
- Addresses
- =========
- Should you wish to contact the author of this software,make any constructive
- comments or suggestions,report any errors or bugs,or make any donations (all
- cheques being made payable to A.M.Flintham),write to the address beneath:
-
- AMF the Doomwatcher,
- The Monastery of Doomwatcher Monks,
- 50 Burlington Way,
- Mickleover,
- Derby.
- DE3 5BD
-