home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / packet / packetcl / encrypt.doc < prev    next >
Text File  |  1988-08-07  |  5KB  |  104 lines

  1. R:880807/2031 @:N6VV Pleasant Hill, CA #:9335 Z:94523
  2. R:880807/1833 @:N0AN Ames, Ia. #:5020 Z:50010
  3.  
  4.                         ENCRYPT.BAS DOCS
  5.  
  6.     Program  Written  by Dr.  Gerald  N.  Johnson, P.E., K0CQ
  7.  
  8.                           Docs by N0AN
  9.  
  10. The  program  ENCRYPT.BAS was written to  automatically  generate  password 
  11. protection  sequences for the new password  feature  of  6.13. It will
  12. automatically create two kinds of files:
  13.  
  14. 1. KEYS.MB     which contains the calls of all remote  sysops  and  their 100  
  15.                random alphanumeric characters.  This file is generated  in a   
  16.                format that can be directly read by the bbs. Place a copy of    
  17.                KEYS.MB  in \BBS,  after you have run this program  from 
  18.                another directory...each  time  you run the program it creates
  19.                new  codes for all calls that are entered so DO NOT run the
  20.                program from the \bbs  subdirectory  or it will over-write your 
  21.                existing  or  old keys.mb and call.mat files.
  22.  
  23. EXAMPLE FILE STRUCTURE OF KEYS.MB
  24.  
  25. K0CQ
  26. 9bsLXqGAMhvl3TE8MVZ7eFp9OozMyfzxeXwhreRqlDG8u2E8MYCHhRQEIWndp2FUocy5yZCXXQIV1v7IC8YzEoO7C4LJkGPM58TS
  27. N0AN
  28. ixcfunEqgoNzhbfNzhm38qpksP1qq4akZpqWiAgegW77HyDkpCyiBZCNQVj1wmh6wSMxDQJl6B5bGkOwjCmeAWDTcbkkPecMCiSv
  29. W0RPK
  30. X8qCpKKiUsKzAeqI1yMQnUdV73XB77K0FC64JZRqsRQPn2po1HktqYiTxyOwQFp7atnrkZZK949eJSagSbg6LmqkGjECGl9clIgl
  31. AI0Z
  32. t4SvE8BBTYgfId4wRR9JgxAv4MWPJorZYESQGVkVSpAIDPD5GGwoZLLyCPTwW4yI6arac1jYC6KY4CHIPk5kbmTPTmmi4krjSW09
  33. KE0PH
  34. 1sjsRF4kOtqW44r5uK2wO1tu83BzEywTr9ZN0KO4fOJ95OnbOmYjPR9l77rbtCcZWt8XHrdvj3i1hXQgXkl1iwFYTwoWtzxRC2AD
  35.  
  36. (Please note: the file format is 2 lines long with the first line being the 
  37.  call sign and the second line being 100 continuous characters)
  38.  
  39. 2. CALL.MAT    where CALL is each call sign of a remote sysop. A separate file 
  40.                for each call will be created. This is done so you can import   
  41.                N0AN.MAT for example, into your word processor, print it and    
  42.                mail the matrix out to your remote sysop. CALL.MAT files        
  43.                are keycards to the encryption sequence.
  44.  
  45. EXAMPLE PRINTOUT OF A MATRIX FILE: N0AN.MAT
  46.  
  47.      N0AN
  48.    01234 56789
  49. 00 nemWS q4L1E
  50. 10 qO5c6 cciyk
  51. 20 AR1DN Ms3oM
  52. 30 DPxan PlvzV
  53. 40 S440y jl99c
  54. 50 fC1Rq LhGAL
  55. 60 2UxoU snT8E
  56. 70 7fMTu xh1lA
  57. 80 2L6Xw kkDLY
  58. 90 euOIt reR15
  59.  
  60.  
  61. NOTES:
  62.  
  63. 1.   Each time ENCRYPT.BAS is run it creates totally new password sequences and 
  64.      matrices. Once you have run it the first time and passed out the matrix   
  65.      keycards, if you want to add a new sysop, DO NOT run this program inside  
  66.      \BBS, because it will OVERWRITE your existing keys.mb file. Run the
  67.      program from another subdirectory, with just the new call sign, then   
  68.      edit the new password sequence into the existing KEYS.MB file in \bbs with
  69.      your favorite (text mode) wordprocessor. Also make sure to print a copy of
  70.      CALL.MAT to mail out to your Remote Sysop.
  71.  
  72.  
  73. SAMPLE RUN TO SHOW DATA ENTRY:
  74.  
  75. RUN            (Run the program after having loaded it)
  76. CALL? N0AN     (Reply with first sysop call sign)
  77. READY?         (Hit <enter> to begin 100 character randomization run)
  78. CALL? W0RPK    (enter 2nd remote sysop call sign)
  79. READY?         (Hit <enter> to begin 100 character randomization run)
  80. CALL? W6XXX    SAME AS ABOVE
  81. READY?           "       "   
  82. CALL?          (REPLY WITH <ENTER> AT CALL SIGN PROMPT TO END THE PROGRAM)
  83. Ok
  84.  
  85.      The  READY?  inquiries use a GWBASIC feature of initializing  the  random 
  86.      number generator with a seed derived from a  continuously  running timer. 
  87.      Thus the program user time delays help to make the  results   more 
  88.      random. BASIC  random  number  generators   are  notoriously   bad  at 
  89.      real randomness  and  sometimes   produce  consistant  number  sequences. 
  90.      If the randomness is  less  than  desired (e.g. the same sequences show up
  91.      too often) then the READY  input  and the RANDOMIZE TIMER statement may
  92.      have to be moved  to  the inner loop to do it 100 times per matrix.
  93.  
  94.  
  95. IMPORTANT NOTE:
  96.  
  97.      To ENABLE PASSWORD CHECKING on the bbs, you need to edit your port     
  98.      definition string to include both an "R" and a "P". The R tells the system 
  99.      the Remote Sysop is permitted; the P tells it to enable password checking. 
  100.      ALSO, after you change the port definition you not only must exit the bbs 
  101.      and restart it to get the new config.mb involved, BUT YOU MUST ALSO RUN   
  102.      LM.COM ONE TIME BEFORE YOU RESTART THE BBS....if you do not do this, the  
  103.      password protection feature will not work!
  104.