home *** CD-ROM | disk | FTP | other *** search
- R:880807/2031 @:N6VV Pleasant Hill, CA #:9335 Z:94523
- R:880807/1833 @:N0AN Ames, Ia. #:5020 Z:50010
-
- ENCRYPT.BAS DOCS
-
- Program Written by Dr. Gerald N. Johnson, P.E., K0CQ
-
- Docs by N0AN
-
- The program ENCRYPT.BAS was written to automatically generate password
- protection sequences for the new password feature of 6.13. It will
- automatically create two kinds of files:
-
- 1. KEYS.MB which contains the calls of all remote sysops and their 100
- random alphanumeric characters. This file is generated in a
- format that can be directly read by the bbs. Place a copy of
- KEYS.MB in \BBS, after you have run this program from
- another directory...each time you run the program it creates
- new codes for all calls that are entered so DO NOT run the
- program from the \bbs subdirectory or it will over-write your
- existing or old keys.mb and call.mat files.
-
- EXAMPLE FILE STRUCTURE OF KEYS.MB
-
- K0CQ
- 9bsLXqGAMhvl3TE8MVZ7eFp9OozMyfzxeXwhreRqlDG8u2E8MYCHhRQEIWndp2FUocy5yZCXXQIV1v7IC8YzEoO7C4LJkGPM58TS
- N0AN
- ixcfunEqgoNzhbfNzhm38qpksP1qq4akZpqWiAgegW77HyDkpCyiBZCNQVj1wmh6wSMxDQJl6B5bGkOwjCmeAWDTcbkkPecMCiSv
- W0RPK
- X8qCpKKiUsKzAeqI1yMQnUdV73XB77K0FC64JZRqsRQPn2po1HktqYiTxyOwQFp7atnrkZZK949eJSagSbg6LmqkGjECGl9clIgl
- AI0Z
- t4SvE8BBTYgfId4wRR9JgxAv4MWPJorZYESQGVkVSpAIDPD5GGwoZLLyCPTwW4yI6arac1jYC6KY4CHIPk5kbmTPTmmi4krjSW09
- KE0PH
- 1sjsRF4kOtqW44r5uK2wO1tu83BzEywTr9ZN0KO4fOJ95OnbOmYjPR9l77rbtCcZWt8XHrdvj3i1hXQgXkl1iwFYTwoWtzxRC2AD
-
- (Please note: the file format is 2 lines long with the first line being the
- call sign and the second line being 100 continuous characters)
-
- 2. CALL.MAT where CALL is each call sign of a remote sysop. A separate file
- for each call will be created. This is done so you can import
- N0AN.MAT for example, into your word processor, print it and
- mail the matrix out to your remote sysop. CALL.MAT files
- are keycards to the encryption sequence.
-
- EXAMPLE PRINTOUT OF A MATRIX FILE: N0AN.MAT
-
- N0AN
- 01234 56789
- 00 nemWS q4L1E
- 10 qO5c6 cciyk
- 20 AR1DN Ms3oM
- 30 DPxan PlvzV
- 40 S440y jl99c
- 50 fC1Rq LhGAL
- 60 2UxoU snT8E
- 70 7fMTu xh1lA
- 80 2L6Xw kkDLY
- 90 euOIt reR15
-
-
- NOTES:
-
- 1. Each time ENCRYPT.BAS is run it creates totally new password sequences and
- matrices. Once you have run it the first time and passed out the matrix
- keycards, if you want to add a new sysop, DO NOT run this program inside
- \BBS, because it will OVERWRITE your existing keys.mb file. Run the
- program from another subdirectory, with just the new call sign, then
- edit the new password sequence into the existing KEYS.MB file in \bbs with
- your favorite (text mode) wordprocessor. Also make sure to print a copy of
- CALL.MAT to mail out to your Remote Sysop.
-
-
- SAMPLE RUN TO SHOW DATA ENTRY:
-
- RUN (Run the program after having loaded it)
- CALL? N0AN (Reply with first sysop call sign)
- READY? (Hit <enter> to begin 100 character randomization run)
- CALL? W0RPK (enter 2nd remote sysop call sign)
- READY? (Hit <enter> to begin 100 character randomization run)
- CALL? W6XXX SAME AS ABOVE
- READY? " "
- CALL? (REPLY WITH <ENTER> AT CALL SIGN PROMPT TO END THE PROGRAM)
- Ok
-
- The READY? inquiries use a GWBASIC feature of initializing the random
- number generator with a seed derived from a continuously running timer.
- Thus the program user time delays help to make the results more
- random. BASIC random number generators are notoriously bad at
- real randomness and sometimes produce consistant number sequences.
- If the randomness is less than desired (e.g. the same sequences show up
- too often) then the READY input and the RANDOMIZE TIMER statement may
- have to be moved to the inner loop to do it 100 times per matrix.
-
-
- IMPORTANT NOTE:
-
- To ENABLE PASSWORD CHECKING on the bbs, you need to edit your port
- definition string to include both an "R" and a "P". The R tells the system
- the Remote Sysop is permitted; the P tells it to enable password checking.
- ALSO, after you change the port definition you not only must exit the bbs
- and restart it to get the new config.mb involved, BUT YOU MUST ALSO RUN
- LM.COM ONE TIME BEFORE YOU RESTART THE BBS....if you do not do this, the
- password protection feature will not work!
-