home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / zines / phrack1 / phrack11.005 < prev    next >
Encoding:
Text File  |  2003-06-11  |  4.0 KB  |  99 lines

  1.                                ==Phrack Inc.==
  2.  
  3.                    Volume Two, Issue Eleven, Phile #5 of 12
  4.  
  5.                            {Simple Data Encryption}
  6.                          <or digital electronics 101>
  7.                                By:{The Leftist}
  8.  
  9. Prologue:
  10.  
  11. Well, it's been awhile since I've done one of my activities files. This time
  12. I've switched from chemistry to electronics. Hopefully, I will be writing
  13. more files similar to this one. Also, I have devised a more sophisticated
  14. encryption device, which I may release in the future
  15.  
  16. Do you run a BBS, living in fear that the "feds" are gonna log on, and fool
  17. you into giving them a password? Do you wish that you could limit exactly WHO
  18. logs onto your board? Well, this file is just for you..
  19.  
  20. Parts:
  21.  
  22. 1:9 volt battery
  23.  
  24. 1: 74hc/hct04 cmos hex inverter <about .50 cents>
  25.  
  26. Some basic knowledge of electronics might help, and some wire would be helpful
  27. too. If you want to be fancy you can even splurge and get a 9 volt connector.
  28.  
  29. Note: Although it is not required that you put this on an etched PC board, you
  30. can do this quite easily, and it makes for a much cleaner job.
  31.  
  32. Ok, the basic idea behind this scheme is this:
  33.  
  34. Data coming to and going from your modem is translated as 1's and 0's. This
  35. represents highs and lows, which translate out to code which your computer
  36. recognizes as valid data. Now, if you could switch all those 1's to 0's, and
  37. 0's to 1's, then you would have a simple way of encrypting your data. That's
  38. exactly what the hex inverter does. If it sees a 0, it makes it a 1. If it
  39. sees a 1, it makes it a 0. So, what you want to do is have an inverter on your
  40. send line, and an inverter on your receive line. The computer you are
  41. connected to must also have inverters on its send and receive, or all you will
  42. see will be garbage! I tried to be as non-technical as possible in this for
  43. all you non-technical types out there.
  44.  
  45.  
  46. Connections:
  47.  
  48. Hold the chip, and look at it. There should be a little notch in one end. Hold
  49. it as illustrated in the schematic:
  50.  
  51. (80 columns)
  52.  
  53.  
  54.        ______________________________
  55.        |                             |
  56.       14 13 11 12 10 9 8             |
  57.        |  |  |  |  | |  |            |
  58.        __________________            |
  59.       |                  |           |_ to positive on battery
  60.       \   74hc/hct04     |
  61.       /                  |
  62.       |__________________|             to negative on battery
  63.        |  |  |  |  |  | |              |
  64.        1  2  3  4  5  6 7______________|
  65.        |  |  |  |
  66.        |  |  |  |_________________________________to computer port
  67.        |  |  |_______________________________from modem
  68.        |  |________________________________________________to modem conn.
  69.        |________________________________________________ from computer port
  70.  
  71.  
  72. <all other pins are not connected>
  73.  
  74.  
  75. Ok, hook the + 9volts up to pin 14, and the negative up to pin 7.
  76. There are 6 inverters on this chip. For this, we will be using only 2 of them.
  77.  
  78. Find the wire coming from your computer to the send data line on your modem.
  79. Sever this wire, and hook one side of it to pin 1. Hook the other end of it to
  80. pin 2. Next, find the receive data line, and sever it. Hook one end of it to
  81. pin 3, the other end to pin 4. That's about it.. if you want to use the other
  82. inverters on the chip, here's the complete pinouts.
  83.  
  84. Pin#            Name and function
  85. ----            -----------------
  86. 1,3,5,9,11,13   Data inputs
  87. ---------------------------------
  88. 2,4,6,8,10,12   Data outputs
  89. ---------------------------------
  90. 7               Ground
  91. ---------------------------------
  92. 14              VCC
  93. ---------------------------------
  94.  
  95. Remember, that your BBS modem must have one of these devices on it, as well as
  96. the user calling. I have tested this on Smartmodems, and it does work. If you
  97. have an internal modem, this may be a little difficult for you.
  98. ==============================================================================
  99.