home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / txt / crypt.do < prev    next >
Text File  |  2006-10-19  |  4KB  |  79 lines

  1. CLUB 100 Library - 415/939-1246 BBS,    937-5039 NEWSLETTER, 932-8856 VOICE
  2.  
  3. CRYPT.100     Documentation
  4. ===========================
  5.  
  6. c1987 by Jon Diercks [73327,2353]
  7.  
  8. CRYPT.100 is a machine language text file encoder/decoder for the Model 100.
  9.  
  10. * It scrambles 7-bit ASCII text based on a keyword of any length.
  11.  
  12. * It modifies the text file in place in the M100 menu, without creating a
  13.   second file.  This theoretically allows for coding of RAM files of up to
  14.   almost 32K!
  15.  
  16. * It ignores all spaces, carriage returns, control characters and 8-bit
  17.   data, including any spaces or CR's added after encryption. <This facili-
  18.   tates EasyPlex transmission of encrypted files.>
  19.  
  20. * Best of all, it's FAST.  No more waiting for a slow BASIC coder to putz
  21.   along and crank out the correct file.  For most small files, you won't know
  22.   what hit you - coding seems almost instantaneous.
  23.  
  24. * The keyword must all be alpha characters - CRYPT ignores whether they
  25. are upper or lower case.  Finally, you must select <E>ncrypt or <D>ecrypt
  26. mode.  As soon as CRYPT is done, you are returned to the M100 Menu <or BASIC,
  27. if that's where CRYPT was called from>.  Simplicity itself!
  28.  
  29. Tips:  For total security, here's a few practices to follow...
  30.  
  31. * Don't use special "cute" things in your file, like lines of dashes or
  32.   equal signs or an asterisk at the beginning of each paragraph - they make
  33.   it easy to find a pattern.  Keep the amount of text to a minimum.  Long
  34.   files are easier to crack than short ones.
  35.  
  36. * Spaces make it easier to decipher a coded file, soifyouwantyoucantakeallthe
  37.   spacesoutlikethis, orjust takeso meofthe spaces outandmove themaround.
  38.  
  39. * If you want to get really complicated, encode the file *twice* with two
  40.   keywords of _different_ lengths.  It doesn't matter what order, i.e. if you
  41.   encode first with 'abc' then with 'wxyz', you can decode with either
  42.   'abc' or 'wxyz' first, as long as you do both.  The effect is as if you
  43.  encoded with a very long keyword, making it hard to detect a pattern.
  44.  
  45. * _DON'T_ use keywords like 'abc' or anything less than three letters.
  46.  
  47. * _DON'T_ insert or delete any *codeable* characters to the file after it's
  48.   been coded.  CRYPT will ignore spaces, CR's and control characters, but any
  49.   letters or numbers will screw up the code.
  50.  
  51.  
  52. Enhancements:
  53.  
  54. * Changed the code using some techniques I saw in QKRCHK.ASM.  Main effect--
  55.  you don't have to type the '.DO' extension anymore.  In fact, if you
  56.  type the wrong extension, it will be ignored.
  57.  
  58. * Changed the loader to allow for either relocating load OR loading to the ALT
  59.  LCD buffer.  Had to shorten some prompts to allow for this.  ALT is the
  60.  default location.
  61.  
  62. * I already said not to use 'cute' lines of characters, but never, _NEVER_ use
  63.  lines of @s or `s <Shift-2 or Grph-[>.  They will show up as your keyword in
  64.  the coded file!
  65.  
  66. * Regarding EasyPlex/Forum mail or other BBS transmission of coded files--make
  67.  sure that your coded file meets the line length specifications of whatever
  68.  editor you use.  If you upload a coded file with lines that are too long,
  69.  characters may get chopped off the end of the line, thus putting the coded
  70.  file out of sync with the keyword.
  71.  
  72.  
  73. I think these refinements make CRYPT pretty much complete <for most purposes>.  I would encourage others to write similar programs using the same algorithms <see CRYPT.SRC> for other computers <an IBM-compatible version might come in handy for some of you>.  At any rate, I think I'm done with this for a while - at least till I come up with something better!
  74.  
  75. Happy CRYPTing!
  76.  
  77. Jon Diercks [73327,2353]
  78.  
  79.