home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / s / suremail / UserGuide
Text File  |  1994-02-06  |  15KB  |  262 lines

  1. CipherEngine v0.66 User Guide (ShareWare release)
  2. =================================================
  3.  
  4. 1.1 License
  5. ===========
  6. You are licensed to use this application in an unregistered state for
  7. a period of 30 days.  After this time you must either delete all copies
  8. of the software in your posession or register with the author.
  9. You may pass unregistered versions of the software to any other person
  10. on any media even after this period of 30 days (ie if you're a PD
  11. library) provided that you are not using the software yourself.
  12. You cannot use the modules in your own programs unless you are
  13. registered, as the registration fee includes a distribution license.
  14. By breaking the terms of this license you are breaking the law.
  15.  
  16. Registration costs £5.00.  For this fiver, you get a registration pack
  17. comprising all the source code, a few examples, a manual on disc
  18. detailing all the SWIs in the module, and some other goodies.
  19. You also get free support and you get listened to when you complain!
  20. (you don't if you're unregistered unless you've got something very
  21. good to say!! [I jest -: ??]).  In short, you get a fair bit more than
  22. the single application that you got with this release!  All discs are
  23. high quality 3M floppies, formatted to 800K standard (E-format).
  24. There are some programming examples in the documentation.  All this
  25. ammounts to a very substantial suite of programs for your money.
  26.  
  27. To register: Send a cheque/postal order for £5.00 made payable to
  28. Mr Seery in a sealed envelope, together with your order form (see below).
  29. You will receive, by first class post, your registered version within
  30. fourteen days, except in exceptional circumstances, although I hope to
  31. turn around orders more quickly than this.
  32.  
  33. Ordering is made simple by my wonderful ordering program (!).  Somewhere
  34. on this disc you should find an application !Order.  Load it and
  35. double-click on its icon to open up two windows.  Enter your name and
  36. address in the Customer Ordering Details window and toggle the mainshots
  37. button if necessary.  Then select OK and move to the Customer Program
  38. Details window.  This window provides details about the piece of software
  39. under consideration. Select the appropriate piece of software by clicking
  40. menu over the arrow next to the 'Program:' slot and choosing the right
  41. item.  The window displays the program name, cost, and details.
  42. Click 'OK' to order this piece of software.  Quit the program when you've
  43. finished (it tells you how much you owe) and then bung it on a disc
  44. and send it to me.  You get your order processed more quickly if you
  45. use this method, but if you can't find the program then just write a
  46. note specifying which program you want and the total cost.
  47. REMEMBER: When passing the application on to someone else, pass on
  48. a version with no pieces of software marked as ordered.  This entails
  49. copying the program to another disc before using it as the details are
  50. saved inside its directory.
  51.  
  52. Right, legal stuff over with now:
  53.  
  54. 1.2 Introduction
  55. ================
  56. CipherEngine is a module providing encryption and compression utilities
  57. for Acorn Risc OS computers.  It is, to the best of my knowledge, the
  58. only encryption utility providing archiving and encryption suitable
  59. for EMail, as it calculates digital signatures for all files archived
  60. and checks against tampering as they are de-archived.  Unless you are
  61. a programmer you will probably be using the !SureMail application to
  62. create encoded versions of your data.  Programmers should refer to
  63. the Reference Manual supplied with the registered version for details
  64. of the SWIs supported by the module.
  65.  
  66. PLEASE NOTE: YOU MUST HAVE THE 'SQUASH' MODULE FROM RISC OS 3 LOADED
  67. TO USE THIS APPLICATION! !SureMail works on Risc OS 2 provided that
  68. Squash is present.
  69.  
  70. Calling all programmers!
  71.  
  72. Remember that CipherEngine doesn't necessarily have to be used for
  73. encryption.  It includes SWIs for squashing whole directories and single
  74. files, and a variety of other useful bits and bobs.  An example of the
  75. non-cryptographic use of the module is my own trashcan, !TrashFS, which
  76. squashes all trashed files using a CipherEngine SWI.
  77.  
  78. 2.1 !SureMail - User Guide
  79. ==========================
  80. Load !SureMail by double-clicking on its icon in a filer viewer.
  81. We are going to simulate a typical EMail session (remember that you don't
  82. have to use !SureMail for EMail - it can be used just for encoding
  83. sensitive data or anything else, for that matter) so you will need a
  84. file or three to test.  If you haven't got anything, use this user guide
  85. as an example.
  86.  
  87. Click on its icon on the icon bar and a large window will open, but it is
  88. resizable if your display is cluttered.  The basic idea is to "pack" several
  89. files into one file, called an "envelope".  This is analagous to putting
  90. several letters into one real, paper, envelope.  The letters are then
  91. "signed" (using what is known as a Digital Signature) and the "envelope"
  92. is "sealed" (encryption).  You can probably tell that this sort of encryption
  93. is tailored towards EMail, but there is another sort of file (an SEA)
  94. that SureMail produces which is not - see later.
  95. Anyway, fill in the 'To', 'CC', 'Subject', and 'From' fields.  You will
  96. then need to chose two keys.  One is a single letter key - the ID key -
  97. which is used for doubly encoding the details fields that you have just
  98. filled in.  The second - the Envelope Key - is used for encoding the
  99. entire envelope, and this can be up to 16 characters long.  As an aside
  100. into encryption arithmetic, this gives 2^128 combinations (just take my
  101. word for it!) which means that it would take about a trillion years
  102. for an Acorn computer to crack by "brute force" (trying every single
  103. combination until one is found that works).  Longer keys are better than
  104. short ones, but are harder to remember.  You must specify case, spacing,
  105. in fact everything, perfectly.  When you have set this up to your
  106. satisfaction - be very careful entering keys, as they show up as asterisks
  107. to minimise the risk of someone reading it over your shoulder - change
  108. the filename in the writable icon in the 'Save as:' box, and drag the
  109. file icon to a directory viewer.  You can now start adding files, as this
  110. initial setup window disappears, to be replaced by one with a big arrow
  111. in it.  Drag files - or directories - to this arrow to add them to the
  112. envelope.  They are compressed en route, but not encrypted, to minimise
  113. the final encryption time.  When you have finished, click on the OK
  114. button, and the encryption process will start.  At this point, you may
  115. receive a message of the form: 'File size not divisable by 8.  The last <x>
  116. bytes will not be encrypted' where <x> is a number between 1 and 7.  This
  117. means that the encryption algorithm is unable to encrypt the entire file,
  118. and will ignore the last <x> bytes.  This is not a problem, however,
  119. as it would be very difficult to ascertain either the key or the file's
  120. contents from the last - at a maximum - 7 bytes!!  When the encryption
  121. process has finished, another message will pop up telling you how many
  122. centi-seconds (hundredths of a second) it took to encode a file.  The
  123. encoding process is very quick and even for 100k plus files on a floppy
  124. it is likely to be well under 10 seconds.  On a fast ARM3 with a RAM
  125. or hard disc you are unlikely to notice any delay!
  126.  
  127. At this point the envelope is ready to be sent off either on disc or
  128. via the phone line.  Errors introduced during the transmission of
  129. data will be picked up on when an attempt is made to dearchive the
  130. envelope, which is described below.
  131.  
  132. To dearchive the envelope, either double-click it (with or without !SureMail
  133. being loaded) or drag it to !SureMail's icon on the icon bar.  A window
  134. will open requesting the passwords and you must type this in EXACTLY as
  135. they were specified when the envelope was created.  The envelope will then
  136. be decrypted.  If you receive the message 'Not a packed envelope' then
  137. you have typed the passwords in wrongly, or the file has suffered so much
  138. damage in transit that it is unreadable to the scanning algorithm.  After
  139. it has been decoded the envelope is useless, so I suggest that you make a
  140. copy of it first and then try decoding the copy.  You will lose all th