Abstract:
An electronic cryptographic encoder-decoder is disclosed which performs the equivalent operations of a known simple hand-held cryptographic encoder-decoder. The electronic cryptographic encoder-decoder includes a parallel addressable, programmable read only memory receiving parallel data input from a serial to parallel converter and providing parallel data output which is converted to a serial data output by a parallel to serial converter. The memory element has stored therein a plurality of different predetermined encryption-decryption character code groups addressed by the parallel input data and controlled by a character counting arrangement including a multiplicity of multi-contact switches to establish a unique code and to select appropriate ones of the plurality of code groups as determined by the unique code to provide the parallel output data from the memory means.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to cryptographic systems and more particularly to an electronic cryptographic encoder-decoder primarily for use with commercial telephone and telegraph networks. 
     The increased use of telegraphic and data communications to handle financial and other sensitive data on the commercial telephone and telegraph networks has increased the risk of unauthorized disclosures. The cause is two-fold; first, just the increased traffic and, secondly, the increased exposure of this information to intelligent eavesdroppers. While many cryptographic devices have been developed for both the government and the commercial markets, the cost of such devices has been rather large. 
     Several years ago a simple pocket or hand-held cryptographic encoder-decoder was developed and is still in use. FIGS. 1 and 2 of the drawing illustrate this hand-held cryptographic encoder-decoder. As shown in FIG. 1, the device includes a relatively small, thin body portion 1 containing therein a plurality of slots 2, in this instant five, with the body portion 1 being capable of receiving sliders 3 registered with slots 2 and containing thereon various sequences of the characters or letters of the alphabet together with a numerical value which, when properly selected, will provide the code-of-the-day or -the-message. The code-of-the-day or -the-message 26589 is shown in the windows 4 in side A of body 1. Adjacent each of the slots 2 are letters in the normal alphabetical sequence. To encrypt a message, each letter of a word is found on body 1 adjacent one of the slots 2. A ball-point pen or other similar device is inserted into the round holes 5 of the sliders 3 and the encrypted letters will appear in windows 4 as shown in FIG. 2, wherein the word encrypted was &#34;model.&#34; To encrypt the next word or the next five letters, the user goes to side B or the backside of the device in FIGS. 1 and 2, then back to side A and so forth alternately. The side B of the hand-held encryption device of FIGS. 1 and 2 is identical to that shown with the exception that the alphabetical sequence on the sliders 3 is the inverse of that shown. When decrypting an encrypted message by this hand-held device, the code-of-the-day is set up in windows 4 on side A and the message is decrypted by starting on side B first, then working to side A then back to side B, which process continues alternately between the two sides. 
     At the time the device of FIGS. 1 and 2 was developed, it was not found economical to produce an electrical encoder-decoder equivalent to the hand-held device of FIGS. 1 and 2 that would be convenient to use at a central location. 
     SUMMARY OF THE INVENTION 
     An object of the present invention is to provide a cryptographic encoder-decoder which is equivalent in operation to the hand-held device of the prior art of FIGS. 1 and 2 that is extremely simple and low cost with a foreseeable parts cost of under $100 for a half-duplex encoder-decoder. 
     Another object of the present invention is to provide an electronic cryptographic encoder-decoder equivalent in operation to the simple hand-held cryptographic encoder-decoder of FIGS. 1 and 2 and which may also be employed for the transmission of message traffic on-line from one teletype terminal to another. 
     A feature of the present invention is the provision of a cryptographic encoder-decoder comprising: a parallel addressable memory means capable of being changed storing therein a plurality of different predetermined encryption-decryption character code groups addressed by parallel input data; and first means coupled to the memory means to establish a unique code and to select appropriate ones of the plurality of code groups as determined by the unique code to provide parallel output data from the memory means. 
     The advent of new technology, particularly the integrated circuit technology, now makes the development of an electronic cryptographic device equivalent in operation to the simple hand-held cryptographic encoder-decoder arrangement described hereinabove with respect to FIGS. 1 and 2 simple and economical. 
     While the cryptographic encoder-decoder of the present invention does not offer the extensive security offered by the government-military cryptographic systems, the security offered is reasonably good, with over 3,800 code combinations when used in conjunction with the hand-held device, and over 30,000 different code combinations when used on-line between teleprinter terminals. Also fortifying security is the fact that cryptographic encoder-decoder of the present invention distributes the cryptographic exchange of characters over a span of ten characters, i.e., any given character is translated to any one of ten other characters, randomly selected. The cryptographic encoder-decoder disclosed herein is an economical electronic cryptographic encoder-decoder for the intercommunication between the hand-held cryptographic encoder-decoder users at outlying locations and major offices where communications are received, where faster handling means is required. Also, the cryptographic encoder-decoder disclosed herein provides an exceptionally simple encryption technique for point-to-point telegraphic or data communications. The on-line cryptographic encoder-decoder can be constructed with less than ten integrated circuits at a factory cost level of under $100 complete with power supply. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     Above-mentioned and other features and objects of this invention will become more apparent by reference to the following description taken in conjunction with the accompanying drawing, in which: 
     FIGS. 1 and 2 illustrate a top plan view of a known hand-held cryptographic encoder-decoder described hereinabove under the heading &#34;Background of the Invention&#34; showing in FIG. 1 the code-of-the-day or -message and in FIG. 2 the encrypted output for the word &#34;model&#34;; 
     FIG. 3 is a block diagram of an electronic cryptographic encoder-decoder in accordance with the principles of the present invention; and 
     FIG. 4 is a memory map used in explaining the operation of FIG. 3. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     It should be noted that the electronic encoder-decoder of FIG. 3 is equivalent in operation to the hand-held prior art arrangement of FIGS. 1 and 2 and may be used to operate as a system using the hand-held unit, in which case a teleprinter keyboard and printer are connected locally, where an encrypted message that is received is typed upon the keyboard and the decrypted message is printed. Alternatively, the arrangement of FIG. 3 may be used on a point-to-point telegraphic link, i.e., otherwise called on-line encryption. 
     Referring to FIG. 3, when used as a cryptographic encoder a plain text message is input on data input line 6 and the encrypted message is provided at output data line 13 and when used as a cryptographic decoder an encrypted message is input on data input line 6 and the plain text or decrypted message is provided at data output line 13. 
     The first part of the description with reference to FIG. 3 will deal with encrypting a message. As mentioned above the plain text enters at data input line 6. Note, here, that the level conversion from a typical teletype loop to logic levels is not shown, since this is readily available prior art. The incoming data on line 6 enters the receive portion 7 of a universal asynchronous receiver-transmitter module (UART). A Western Electric digital type 1602A integrated circuit is a typical unit of this type, and is used in the description of the embodiment disclosed. It should be noted, however, that other types of serial to parallel converters could be employed for receive portion 7 of the module. The incoming data on line 6 is converted from a serial format to a parallel format. Thus, an incoming telegraph character is converted from serial bits on the data input line 6 to parallel bits R 1  -R 6  at the output of portion 7. The combination of driver or amplifier 8 and inverter 9, together with resistor R1 and capacitor C1 constitute a simple time delay circuit that is necessary to operate the UART in its present configuration. Thus, as each character is received, ready for presentation in parallel format, a pulse appears at the terminal DR of portion 7, is delayed for a short interval, is inverted and passed to input DRR of portion 7. This part of the circuit is necessary to provide satisfactory operation of the UART. The pulse appearing at terminal DR is also passed to NAND gate 10 through amplifier 8, which will be described later. The parallel data R 1  -R 6  at the output of portion 7 is coupled to a plug-in memory element 11 in the form of a programmable read-only memory (PROM). Memory element 11 may be of the erasable type (by ultraviolet light) to permit entry of complete code changes, may be of the burn-link type, where a complete code change will require the discarding of the old memory element and the replacement with that of a new element, or a new memory element can be substituted for the memory element in the circuit, with the new memory having a complete code change therein relative to that of the memory element being replaced. Either way, the organization of the memory element 11 is 1024×8, i.e., there are 1024 binary addressable locations that will provide a unique, selectable 8-bit parallel binary word at the outputs of memory element 11. The use of memory element 11 together with an associated counting arrangement described hereinbelow constitutes the essence of the novelty of the present invention. 
     For the moment, assume that only data input leads D 0  -D 5  to memory element 11 were addressed. If an encrypted code was placed in the first 64 locations of memory element 11, the encrypted character in digital form will appear on data output leads A 0  -A 6 . In other words, if the letter A in digital form were presented on data input leads D 0  -D 5  the resultant output would be another letter such as X in digital form on output data leads A 0  -A 6 . This new character is presented to the transmit portion 12 of the UART on input leads T 1  -T 7  and is converted therein to a serial format for coupling to data output line 13. Note here that there is a connection to the THRL (transmit control) terminal of unit 12 from the output of inverter 9 or the DRR terminal of the receive portion 7 of the UART. This connection is simply a necessary connection to cause the UART to transmit a character every time a character is received. 
     Thus, the memory element 11 can be used for simple encryption or decryption of a message, i.e., a very weak form of encryption known as the transposition technique. However, the present invention provides substantial encryption fortification by using the various memory locations available in the memory element 11 in the following way. 
     Addressing leads D 6  -D 9  effectively divides the memory element 11 into a total of 16 separate 64 (8-bit) code groups. Thus, instead of one transposition, it is possible to have 16 separate random character transpositions, if desired. The pocket cryptographic device illustrated in FIGS. 1 and 2 actually provides 10 such independent transpositions, five on side A and five on side B of each of the sliders 3. The electrical equivalent of this is accomplished in the present invention by means of a decade counting arrangement. This arrangement includes an integrated circuit decade counter 14, i.e., a counter with a binary output that automatically resets to zero above the count of nine. The binary output of the counter 14 on output lines S 0  -S 3  enters a decade decoder 15. Decoder 15 converts the binary count on lines S 0  -S 3  to individual signals, each of which appears on one of ten separate output leads. These output leads are connected to five code selector switches S1-S5 as shown. Each of the switches S1-S5 include contacts identified as contacts 0-9 and each of these contacts of each of the switches S1-S5 are connected to the input lead of encoder 16 having the same identification. For instance, contact 0 of switches S1-S5 are connected to input lead I 0 , contact 1 of switches S1-S5 are connected to input lead I, etc. Not all of the connections from the switches S1-S5 to input lines I 0  -I 9  of encoder 16 are shown for clarity. Each of the switches S1-S5 also includes two poles diametrically located in the cyclic count of counter 14 so that if one of the two poles is connected to a given numbered contact, such as 3, the other of the two poles will be connected to a contact having a number five units higher, i.e., 8, such as shown with reference to switch S3. The use of the word &#34;diametric&#34; herein means in a cyclic count of ten, the diametric location is five, whereas in a cyclic count of sixteen, the diametric location is eight. In other words, the diametric location is one half of the cyclic count of counter 14 which cyclic count is equal to the number of character code groups stored in memory element 11. Either rotary switches or thumbwheel switches may be employed for the multi-contact switches S1-S5. The output of these switches S1-S5 goes to a binary encoder 16. Encoder 16 does the reverse of decoder 5, that is, when a single lead out of ten independent input leads is grounded, encoder 16 provides a binary code output representing the number of the grounded input lead. 
     Reviewing the operation of the counting arrangement, this is what occurs. When counter 14 is at position 0, the first character received, an output occurs on decoder lead 0 and is passed to switch S1. The code setting illustrated is 17390 and switch S1 is set to position 1. The zero output (first character count) of decoder 15 goes to switch S1, position 1 to encoder input lead I 1 , which in turn is translated to binary &#34;1&#34; in encoder 16. This selects character code group 1 in the memory element 11 with the various groups in memory element 11 being shown in the memory map of FIG. 4. Upon the next count in counter 14, an output appears on lead 1 of decoder 15 which is coupled to position 7 of switch S2 (the code setting of switch S2) and is ultimately converted to binary count 7 in encoder 16 selecting character group 7 in the memory element 11. Continuing this, the selection of the character code groups stored in memory element 11 follows settings of switches S1-S5 as determined by the illustrated code setting. As illustrated, this will be character code groups 1, 7, 3, 9, 0 for the code setting 17390. The next five groups will be controlled by the second or diametrically located pole of each of the code switches S1-S5. Lead 5 from decoder 15 goes to contact 6 on switch S1. Following this through, the next five groups selected from the character code groups of memory element 11 will be 6, 2, 8, 4, 5. The code groups selected by the second or diametrically located pole is equivalent to using the rear side or side B of the hand-held device of FIGS. 1 and 2 when the code 17390 is set up in the windows 4 on side A of the hand-held device. 
     Upon starting encryption, START button of momentary contact switch 17 is depressed after first switching the ENCRYPT/DECRYPT switch 18 to the ENCRYPT position. Upon depressing the START button 17, counter 14 is set to zero. This is the equivalent of starting on side A of the hand-held device of FIGS. 1 and 2. When decryption is desired, switch 18 is set to the DECRYPT position. Depressing the START button 17 sets counter 14 to state 5 (instead of 0) and this is the equivalent of starting on side B of the hand-held device of FIGS. 1 and 2. 
     A few essentials regarding the programming of the memory element 11 are worth noting. Each of the first five groups of letters or characters may have separate random letter transpositions. The next five groups (representing side B of the hand-held device of FIGS. 1 and 2) must use the inverse transpositions, where group 5 is the inverse of group 0, group 6 is the inverse of group 1, group 7 is the inverse of group 2, group 8 is the inverse of group 3 and group 9 is the inverse of group 4. The inverse is defined as, for example, if group 0 is coded, A becomes F, B becomes K, then in group 5 F becomes A and K becomes B, etc. A second important point is that each character in which a transposition takes place, in addition to the transposed letter, the memory element 11 must be programmed to produce a binary &#34;1&#34; on the additional output lead A7 of memory element 11. The binary &#34;1&#34; appearing at this additional output causes counter 14 to be advanced, since this binary &#34;1&#34; when entering NAND gate 10, together with the data-received pulse from amplifier or driver 8, will produce a drive pulse or clock pulse to binary counter 14. Counter 14 will thus be advanced each time a letter or character that is to be coded enters memory element 11, and this will cause different random character code groups to be selected as counter 14 is advanced. 
     Those characters that are non-printing characters, such as carriage return, line feed, space, and perhaps punctuation are treated differently. First, the non-printing character must be repeated verbatim in all groups of the code character groups in memory element 11. Secondly, a binary &#34;0&#34; must be programmed into the memory element 11 for all non-printing characters so that a binary &#34;0&#34; appears on additional output line A 7  to inhibit any advancement of counter 14. 
     Other points worth noting are that if it is desired to inhibit punctuation, as is the case when messages are coded into five letter groups (an International Convention established to ensure telegraph operators that unreadable messages are coded, rather than a garble resulting from telegraph transmission failure), punctuation characters may be converted into nulls. 
     While I have described above the principles of my invention in connection with specific apparatus, it is to be clearly understood that this description is made only by way of example and not as a limitation to the scope of my invention as set forth in the objects thereof and in the accompanying claims.