KR100266629B1 - Stream encipher and decipher apparatus - Google Patents

Stream encipher and decipher apparatus Download PDF

Info

Publication number
KR100266629B1
KR100266629B1 KR1019970049049A KR19970049049A KR100266629B1 KR 100266629 B1 KR100266629 B1 KR 100266629B1 KR 1019970049049 A KR1019970049049 A KR 1019970049049A KR 19970049049 A KR19970049049 A KR 19970049049A KR 100266629 B1 KR100266629 B1 KR 100266629B1
Authority
KR
South Korea
Prior art keywords
key
cipher
data
identification code
input
Prior art date
Application number
KR1019970049049A
Other languages
Korean (ko)
Other versions
KR19990026758A (en
Inventor
양석태
Original Assignee
김영환
현대반도체주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 김영환, 현대반도체주식회사 filed Critical 김영환
Priority to KR1019970049049A priority Critical patent/KR100266629B1/en
Publication of KR19990026758A publication Critical patent/KR19990026758A/en
Application granted granted Critical
Publication of KR100266629B1 publication Critical patent/KR100266629B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/065Encryption by serially and continuously modifying data stream elements, e.g. stream cipher systems, RC4, SEAL or A5/3
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/12Details relating to cryptographic hardware or logic circuitry
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/34Encoding or coding, e.g. Huffman coding or error correction

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

PURPOSE: A stream encipher and decipher device is provided to set up a key using inherent ID codes of a transmitting party and a receiving party, and to allow the receiving party to decipher enciphered data using self ID code. CONSTITUTION: A key encoder(32) performs a logical operation of a source ID code(S-ID) and a destination ID code(D-ID) to generate a cipher key(K), and performs a logical operation of the cipher key(K) and the destination ID code(D-ID) to generate an encoding key(EK). A cipher logic unit(33) ciphers cipher data(CD) fed-back through an input register(32) using the key(K). An exclusive OR gate(35) performs an exclusive OR for data, sequentially inputted through an output register(34) by being ciphered in the cipher logic unit(33), and a message(M) inputted through an input unit to generate cipher data(CD). An encoding key synthesizing unit(36) synthesizes the cipher data(CD) and the encoding key(EK), for transmission to a PSTN(Public Switched Telephone Network).

Description

스트림 엔사이퍼 및 디사이퍼 장치Stream Encipher and Decipher Devices

본 발명은 공중망을 통해 데이터를 전송하는 통신 시스템에서 보다 강화된 암호화체계를 구축하는 기술에 관한 것으로, 특히 수신자의 고유한 식별코드(ID)를 이용하여 키이를 생성하고 그 키이를 이용하여 암호화 데이터를 해독할 수 있도록한 스트림 엔사이퍼 및 디사이퍼 (stream encipher and decipher)장치에 관한 것이다.The present invention relates to a technique for constructing a stronger encryption system in a communication system for transmitting data through a public network. Particularly, the present invention relates to generating a key using a unique identification code (ID) of a receiver and using the key to encrypt data. The present invention relates to a stream encipher and decipher device capable of decrypting the data.

도 1은 종래 기술에 의한 스트림 엔사이퍼 장치의 블록도로서 이에 도시한 바와 같이, 키이입력부(12)를 통해 입력되는 고유의 키이를 이용하여, 입력레지스터(11)를 통해 귀환되는 사이퍼데이터(CD)를 암호화 처리하는 사이퍼 로직부(13)와; 상기 사이퍼 로직부(13)에서 암호화 처리된 후 출력레지스터(14)를 통해 순차적으로 입력되는 데이터와 입력단을 통해 새로 입력되는 메시지(M)를 익스클루시브오아 연산하여 사이퍼데이터(CD)를 발생하는 익스클루시브 오아게이트(15)로 구성되었다.FIG. 1 is a block diagram of a stream ncipher device according to the prior art, and as illustrated therein, a cipher data (CD) returned through an input register 11 using a unique key input through a key input unit 12. Cypher logic unit 13 for encrypting (); After the encryption process by the cipher logic unit 13, the data is sequentially input through the output register 14 and the new message (M) newly input through the input terminal to generate the cypher data (CD) It consists of an exclusive oragate 15.

도 2는 종래 기술에 의한 스트림 디사이퍼 장치의 블록도로서 이에 도시한 바와 같이, 키이입력부(22)를 통해 입력되는 고유의 키이를 이용하여, 입력레지스터(21)를 통해 엔사이퍼로부터 수신받은 사이퍼데이터(CD)를 해독하는 사이퍼 로직부(23)와; 상기 사이퍼 로직부(23)에서 해독된 후 출력레지스터(24)를 통해 순차적으로 입력되는 데이터와 입력단을 통해 공급되는 사이퍼데이터(CD)를 익스클루시브오아 연산하여 원래의 메시지(M)를 복원해내는 익스클루시브 오아게이트(25)로 구성된 것으로, 이와 같이 구성된 엔사이퍼 및 디사이퍼의 작용을 설명하면 다음과 같다.FIG. 2 is a block diagram of a stream decipher device according to the prior art, and as shown therein, a cipher received from an encipher through an input register 21 using a unique key input through a key input unit 22. A cipher logic section 23 for decoding the data CD; The original message (M) is restored by performing an exclusive ord operation on the data decoded by the cipher logic unit 23 and sequentially input through the output register 24 and the cipher data (CD) supplied through the input terminal. It is composed of an exclusive oragate 25, the operation of the encipher and decipher configured as described above is as follows.

먼저, 도 1을 참조하여 메시지의 암호화 과정을 설명하면 다음과 같다.First, a process of encrypting a message will be described with reference to FIG. 1.

입력레지스터(11)를 통해서는 출력단의 사이퍼데이터(CD)가 순차적으로 귀환되어 사이퍼 로직부(13)의 일측 입력단에 제공되고, 이때, 키이 입력부(12)는 소정 비트수로 이루어진 고유의 키이를 그 사이퍼 로직부(13)의 타측 입력단에 제공한다.Through the input register 11, the cipher data CD of the output terminal is sequentially fed back to the input terminal of one side of the cipher logic unit 13, where the key input unit 12 generates a unique key having a predetermined number of bits. The other side of the cipher logic unit 13 is provided.

따라서, 상기 사이퍼 로직부(13)는 상기 고유의 키이를 이용하여 귀환되는 사이퍼 데이터를 암호화 처리(예: 익스클루시브오아 연산)하고, 이렇게 암호화 처리된 데이터가 출력레지스터(14)를 통해 익스클루시브오아게이트(15)의 일측 입력단으로 순차적으로 전달된다.Accordingly, the cipher logic unit 13 encrypts the cipher data returned using the unique key (for example, an exclusive ora operation), and the encrypted data is then included through the output register 14. It is sequentially delivered to one input terminal of the sieve ogate 15.

이로인하여, 상기 익스클루시브오아게이트(15)는 상기 출력레지스터(14)를 통해 입력되는 데이터와 입력단을 통해 새로 입력되는 메시지(M)를 익스클루시브오아 연산하여 이로부터 사이퍼데이터(CD)가 발생되며, 이렇게 생성된 사이퍼데이터(CD)가 공중통신망을 통해 상대측으로 송신된다.As a result, the exclusive oar gate 15 performs an exclusive oar operation on the data input through the output register 14 and the newly input message M through the input terminal, thereby generating the cipher data CD. Generated, and the generated cipher data (CD) is transmitted to the counterpart through a public communication network.

한편, 상기 사이퍼데이터(CD)를 수신받은 수신측에서 그 사이퍼데이터(CD)로 부터 원래의 메시지(M)를 해독해내는 과정을 도 2를 참조하여 설명하면 다음과 같다.On the other hand, the process of decoding the original message (M) from the cipher data (CD) at the receiving side receiving the cipher data (CD) will be described with reference to FIG.

입력레지스터(21)를 통해서는 수신된 사이퍼데이터(CD)가 순차적으로 입력되어 사이퍼 로직부(23)의 일측 입력단에 공급되고, 이때, 키이 입력부(22)는 소정 비트수로 이루어진 고유의 키이를 그 사이퍼 로직부(23)의 타측 입력단에 공급한다.The received cipher data CD is sequentially input through the input register 21 and supplied to one input terminal of the cipher logic unit 23. In this case, the key input unit 22 generates a unique key having a predetermined number of bits. Supply to the other input terminal of the cipher logic unit 23.

따라서, 상기 사이퍼 로직부(23)는 상기 고유의 키이를 이용하여 수신되는 사이퍼 데이터를 복호화 처리하고, 이렇게 복호화 처리된 데이터가 출력레지스터(24)를 통해 익스클루시브오아게이트(25)의 일측 입력단으로 순차적으로 전달된다.Accordingly, the cipher logic unit 23 decrypts the cipher data received using the unique key, and the decrypted data is input to one side of the exclusive or gate 25 through the output register 24. Are delivered sequentially.

이로인하여, 상기 익스클루시브오아게이트(25)는 상기 출력레지스터(24)를 통해 입력되는 데이터와 수신되는 사이퍼데이터(CD)를 익스클루시브오아 연산하게 되므로 이로부터 원래의 메시지(M)가 복원된다.As a result, the exclusive oragate 25 performs an exclusive operation on the data input through the output register 24 and the received cipher data CD, thereby restoring the original message M. do.

참고로, 상기 도 1 및 도 2에서 사이퍼 로직부(13)와 사이퍼 로직부(23)는 구성 및 작용이 서로 동일하고, 키이 입력부(12), (22)로 부터 그들에게 각기 공급되는 키이 또한 동일하다. 따라서, 송신측에서 암호화 처리된 데이터를 수신측에서 해독처리하여 원래의 메시지(M)를 얻을 수 있게 된다.For reference, in FIGS. 1 and 2, the cipher logic unit 13 and the cipher logic unit 23 have the same configuration and function, and the keys supplied to them from the key input units 12 and 22 are also provided. same. Therefore, the original message M can be obtained by decrypting the data encrypted at the transmitting side at the receiving side.

그러나, 이와 같은 종래의 엔사이퍼 및 디사이퍼 장치에 있어서는 암호 해독키이가 공중망을 통해 전송되는 도중에 제3자에게 노출되는 것에 대한 대비책이 강구되어 있지 않아 보다 확실하게 정보의 보안을 유지할 수 없게 되는 결함이 있었다.However, in such a conventional encipher and decipher device, there is no measure against exposure of a decryption key to a third party while it is transmitted through the public network, so that the information cannot be securely secured. There was this.

따라서, 본 발명이 이루고자하는 기술적 과제는 송신자와 수신자의 고유한 식별코드를 이용하여 키이를 설정하고, 수신측에서 수신자 자신의 식별코드를 이용하여 암호화된 데이터를 해독하는 스트림 엔사이퍼 및 디사이퍼 장치를 제공함에 있다.Therefore, the technical problem to be achieved by the present invention is to set the key using the unique identification code of the sender and the receiver, the stream encipher and decipher device for decrypting the encrypted data using the receiver's own identification code at the receiver In providing.

제1도는 종래기술에 의한 스트림 엔사이퍼 장치의 블록도.1 is a block diagram of a stream ncipher device according to the prior art.

제2도는 종래기술에 의한 스트림 디사이퍼 장치의 블록도.2 is a block diagram of a stream decipher device according to the prior art.

제3도는 본 발명에 의한 스트림 엔사이퍼 장치의 일실시 예시 블록도.3 is an exemplary block diagram of a stream ncipher device according to the present invention.

제4도는 본 발명에 의한 스트림 디사이퍼 장치의 일실시 예시 블록도.4 is an exemplary block diagram of a stream decipher apparatus according to the present invention.

제5도는 제3도에서 키이 엔코더의 상세 블록도.5 is a detailed block diagram of the key encoder in FIG.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

31,41 : 입력레지스터 32 : 키이 엔코더31,41: Input register 32: Key encoder

33,43 : 사이퍼 로직 34,44 : 출력레지스터33,43: Cypher Logic 34,44: Output Register

35,45 : 익스클루시브오아게이트 36 : 엔코딩키이 합성부35, 45: Exclusive OA gate 36: Encoding Key Synthesis

40 : 엔코딩키이 분리부 42 : 키이 디코더40: encoding key separation unit 42: key decoder

도 3은 본 발명의 목적을 달성하기 위한 스트림 엔사이퍼 장치의 일실시 예시 블록도로서 이에 도시한 바와 같이, 소오스 식별코드(S_ID)와 수신자 식별코드(D_ID)를 논리연산하여 키이(K)를 생성하고, 그 키이(K)와 식별코드(D_ID)를 논리연산하여 엔코딩키이(EK)를 생성하는 키이 엔코더(32)와; 상기 키이 엔코더(32)를 통해 입력되는 키이(K)를 이용하여, 입력레지스터(31)를 통해 귀환되는 사이퍼데이터(CD)를 암호화 처리하는 사이퍼 로직부(33)와; 상기 사이퍼 로직부(33)에서 암호화 처리된 후 출력레지스터(34)를 통해 순차적으로 입력되는 데이터와 입력단을 통해 입력되는 메시지(M)를 익스클루시브오아 연산하여 사이퍼데이터(CD)를 발생하는 익스클루시브 오아게이트(35)와; 상기 사이퍼데이터(CD)와 엔코딩키이(EK)를 합성하여 공중망으로 송출하는 엔코딩키이 합성부(36)로 구성하였다.FIG. 3 is a block diagram illustrating an embodiment of a stream encipher device for achieving the object of the present invention. As shown therein, a key K is obtained by logically operating a source identification code S_ID and a receiver identification code D_ID. A key encoder 32 for generating an encoding key EK by logically operating the key K and the identification code D_ID; A cipher logic unit 33 for encrypting the cipher data CD returned through the input register 31 by using the key K input through the key encoder 32; After the encryption process is performed by the cipher logic unit 33, an executor or arithmetic operation is performed on the data sequentially input through the output register 34 and the message M input through the input terminal to generate the cipher data (CD). A exclusive oragate 35; The encoding key synthesizing unit 36 synthesizes the cipher data CD and the encoding key EK and transmits the synthesized key to the public network.

도 4는 본 발명의 목적을 달성하기 위한 스트림 디사이퍼 장치의 일실시 예시 블록도로서 이에 도시한 바와 같이, 수신되는 사이퍼데이터(CD)에 포함되어 있는 엔코딩키이(EK)를 분리검출하는 엔코딩키이 분리부(40)와; 상기 엔코딩키이 분리부(40)로 부터 공급되는 엔코딩키이(EK)를 디코딩 처리하여 원래의 키이(K)를 검출한 후 이를 수신자에 의해 입력되는 소오스 식별코드(S_ID)과 비교하여 서로 동일한 경우 그 키이(K)를 출력하는 키이 디코더(42)와; 상기 키이 디코더(42)를 통해 공급되는 키이(K)를 이용하여, 입력레지스터(41)를 통해 수신되는 사이퍼데이터(CD)를 해독하는 사이퍼 로직부(43)와; 상기 사이퍼 로직부(43)에서 해독된 후 출력레지스터(44)를 통해 순차적으로 입력되는 데이터와 수신처리된 사이퍼데이터(CD)를 익스클루시브오아 연산하여 원래의 메시지(M)를 복원해내는 익스클루시브 오아게이트(45)로 구성한 것으로, 이와 같이 구성한 본 발명의 작용을 첨부한 도 5를 참조하여 상세히 설명하면 다음과 같다.FIG. 4 is a block diagram illustrating an exemplary embodiment of a stream decipher device for achieving an object of the present invention. As shown therein, an encoding key for separately detecting an encoding key EK included in a received cipher data CD is shown. Separation unit 40; Decodes the encoding key EK supplied from the encoding key separation unit 40, detects the original key K, and compares it with the source identification code S_ID input by the receiver. A key decoder 42 for outputting a key K; A cipher logic section (43) for decrypting the cipher data (CD) received through the input register (41) by using the key (K) supplied through the key decoder (42); After recovering the original message (M) by performing an exclusive ora operation on the data sequentially input through the output register 44 and the received processed cipher data (CD) decrypted by the cipher logic unit 43. It is composed of the exclusive oragate 45, and will be described in detail with reference to FIG. 5 attached to the operation of the present invention configured as described above.

먼저, 도 3을 참조하여 메시지(M)의 암호화 과정을 설명하면 다음과 같다.First, the encryption process of the message M will be described with reference to FIG. 3.

입력레지스터(31)를 통해서는 출력단의 사이퍼데이터(CD)가 순차적으로 귀환되어 사이퍼 로직부(33)의 일측 입력단에 공급되고, 이때, 키이 엔코더(32)는 소정 비트수로 이루어진 고유의 키이(K)를 그 사이퍼 로직부(33)의 타측 입력단에 공급함과 아울러 특정 엔코딩키이(EK)를 생성하여 엔코딩키이 합성부(36)측으로 공급하게 되는데, 이 키이(K), (EK)의 생성과정은 도 5와 같다.Through the input register 31, the cipher data CD of the output terminal is sequentially fed back to the input terminal of one side of the cipher logic unit 33. At this time, the key encoder 32 has a unique key having a predetermined number of bits ( K) is supplied to the other input terminal of the cipher logic unit 33, and a specific encoding key (EK) is generated so that the encoding key is supplied to the synthesis unit 36, which generates the keys (K) and (EK). Is the same as FIG.

즉, 키이 발생기(51)는 자신에게 부여된 고유의 식별코드인 소오스 식별코드(S_ID)(S_ID: Source ID)와 수신자 식별코드(D_ID)(D_ID: Destination ID)를 앤드(AND) 또는 오아(OR) 연산하여 키이(K)를 생성하게 된다. 여기서, 소오스 식별코드(S_ID)는 모든 시스템에 임의적으로 부여되는 고유의 식별코드이다. 예를 들어, 무선 LAN의 각 네트워크 인터페이스 카드(NIC)의 네트워크 어드레스에 해당하는 것이며, 무선전화기에 있어서는 전화번호 등에 해당하는 고유의 번호이다.That is, the key generator 51 AND (or) the source identification code (S_ID) (S_ID: Source ID) and the recipient identification code (D_ID) (D_ID: Destination ID) which are unique identification codes assigned to the AND. OR) operation to generate a key (K). Here, the source identification code S_ID is a unique identification code arbitrarily assigned to all systems. For example, it corresponds to the network address of each network interface card (NIC) of a wireless LAN, and is a unique number corresponding to a telephone number or the like in a wireless telephone.

또한, 엔코딩키이 발생기(52)는 상기 키이 발생기(51)에서 출력되는 키이(K)와 상기 수신자 식별코드(D_ID)를 논리연산(예: 익스클루시브오아연산)하여 엔코딩된 형태의 키이 즉, 엔코딩키이(EK)를 생성한 후 이를 출력단에 위치한 엔코딩키이 합성부(36)의 타측 입력단에 공급한다.In addition, the encoding key generator 52 is a key of the type encoded by the logical operation (for example, an exclusive operation) of the key K output from the key generator 51 and the receiver identification code D_ID. After generating the encoding key EK, the encoding key located at the output terminal is supplied to the other input terminal of the combining unit 36.

따라서, 상기 사이퍼 로직부(33)는 상기 키이 엔코더(32)의 키이 발생기(51)에서 출력되는 키이(K)를 이용하여, 귀환되는 사이퍼데이터(CD)를 암호화 처리(예: 익스클루시브오아 연산)하고, 이렇게 암호화 처리된 데이터가 출력레지스터(34)를 통해 익스클루시브오아게이트(35)의 일측 입력단으로 순차적으로 전달된다.Therefore, the cipher logic unit 33 encrypts the returned cipher data CD by using the key K output from the key generator 51 of the key encoder 32 (eg, an exclusive ora). The data encrypted in this manner is sequentially transmitted to the input terminal of the exclusive or gate 35 through the output register 34.

이로인하여, 상기 익스클루시브오아게이트(35)는 상기 출력레지스터(34)를 통해 입력되는 데이터와 입력단을 통해 공급되는 메시지(M)를 익스클루시브오아 연산하여 이로부터 사이퍼데이터(CD)가 발생된다. 이렇게 생성된 사이퍼데이터(CD)가 상기 엔코딩키이 합성부(36)에서 상기 엔코딩키이(EK)와 합성되어 공중통신망을 통해 상대측으로 전송되는데, 이때, 그 엔코딩키이(EK)는 사이퍼데이터(CD)의 헤더부분에 실리게 된다.As a result, the exclusive oar gate 35 performs an exclusive oar operation on the data input through the output register 34 and the message M supplied through the input terminal, thereby generating the cipher data CD. do. The generated cipher data CD is synthesized with the encoding key EK by the encoding key synthesizing unit 36 and transmitted to the other side through a public communication network, and the encoding key EK is the cipher data CD. Will appear in the header of the.

한편, 상기 사이퍼데이터(CD)를 수신받은 수신측에서 그 사이퍼데이터(CD)로 부터 원래의 메시지(M)를 해독해내는 과정을 도 5를 참조하여 설명하면 다음과 같다.On the other hand, the process of decoding the original message (M) from the cipher data (CD) at the receiving side receiving the cipher data (CD) will be described with reference to FIG.

엔코딩키이 분리부(40)는 수신되는 사이퍼데이터(CD)의 헤더부분에 실려있는 엔코딩키이(EK)를 분리검출하여 그 엔코딩키이(EK)를 키이 디코더(42)에 공급하고, 사이퍼데이터(CD)를 입력레지스터(41) 및 익스클루시브오아게이트(45)의 일측 입력단에 공급한다.The encoding key separating unit 40 separates and detects the encoding key EK contained in the header portion of the received cipher data CD, and supplies the encoding key EK to the key decoder 42, and supplies the cipher data CD. ) Is supplied to one input terminal of the input register 41 and the exclusive oar gate 45.

따라서, 상기 키이 디코더(42)는 상기 엔코딩키이 분리부(40)로 부터 공급되는 엔코딩키이(EK)를 디코딩 처리하여 원래의 키이(K)를 검출한 후 이를 수신자에 의해 입력되는 소오스 식별코드(S_ID)과 비교하여 동일한 경우, 그 키이(K)를 사이퍼 로직부(43)의 일측 입력단에 공급하게 되는데, 이 키이(K)는 상기 도 3에서 키이 엔코더(32)로 부터 사이퍼 로직부(33)에 공급되는 키이(K)와 동일한 키이이다.Accordingly, the key decoder 42 decodes the encoding key EK supplied from the encoding key separation unit 40 to detect the original key K, and then inputs the source identification code (received by the receiver). In comparison with S_ID), the key K is supplied to an input terminal of one side of the cipher logic unit 43, which is the key K from the key encoder 32 in FIG. 3. It is the same key as the key K supplied to).

상기 사이퍼 로직부(43)는 상기 키이 디코더(42)로 부터 공급되는 키이(K)를 이용하여, 입력레지스터(41)를 통해 수신되는 사이퍼데이터(CD)를 복호화 처리하고, 이렇게 복호화 처리된 데이터가 출력레지스터(45)를 통해 익스클루시브오아게이트(45)의 일측 입력단으로 순차적으로 전달된다.The cipher logic unit 43 decrypts the cipher data CD received through the input register 41 by using the key K supplied from the key decoder 42, and thus decrypts the data. Is sequentially transmitted to one input terminal of the exclusive oragate 45 through the output register (45).

이로인하여, 상기 익스클루시브오아게이트(45)는 상기 출력레지스터(44)를 통해 입력되는 데이터와 수신되는 사이퍼데이터(CD)를 익스클루시브오아 연산하게 되므로 이로부터 원래의 메시지(M)가 복원된다.As a result, the exclusive oragate 45 performs an exclusive operation on the data input through the output register 44 and the received cipher data CD, thereby restoring the original message M therefrom. do.

이상에서 상세히 설명한 바와 같이, 본 발명은 송신자와 수신자의 고유한 식별코드를 이용하여 키이를 설정하고, 수신측에서 수신자 자신의 식별코드를 이용하여 암호화된 데이터를 해독하도록 함으로써 공중망을 통해 데이터를 전송하는 경우 정보의 보안을 확실하게 보장할 수 있는 효과가 있다.As described in detail above, the present invention sets the key using the unique identification code of the sender and the receiver, and transmits the data through the public network by having the receiving side decrypt the encrypted data using the receiver's own identification code In this case, it is possible to reliably guarantee the security of the information.

Claims (6)

소오스 식별코드(S_ID)와 수신자 식별코드(D_ID)를 논리연산하여 암호화 키이(K)를 생성하고, 이를 수신자 식별코드(D_ID)와 논리연산하여 엔코딩키이(EK)를 생성하는 키이 엔코더(32)와; 상기 키이(K)를 이용하여, 입력레지스터(31)를 통해 귀환되는 사이퍼데이터(CD)를 암호화 처리하는 사이퍼 로직부(33)와; 상기 사이퍼 로직부(33)에서 암호화 처리된 후 출력레지스터(34)를 통해 순차적으로 입력되는 데이터와 입력단을 통해 입력되는 메시지(M)를 익스클루시브오아 연산하여 사이퍼데이터(CD)를 발생하는 익스클루시브 오아게이트(35)와; 상기 사이퍼데이터(CD)와 엔코딩키이(EK)를 합성하여 공중망으로 송출하는 엔코딩키이 합성부(36)로 구성한 것을 특징으로 하는 스트림 엔사이퍼 장치.The key encoder 32 generates an encryption key K by logically operating the source identification code S_ID and the receiver identification code D_ID, and generates the encoding key EK by logically operating the source identification code S_ID and the receiver identification code D_ID. Wow; A cipher logic section (33) for encrypting cipher data (CD) fed back through the input register (31) using the key (K); After the encryption process is performed by the cipher logic unit 33, an executor or arithmetic operation is performed on the data sequentially input through the output register 34 and the message M input through the input terminal to generate the cipher data (CD). A exclusive oragate 35; And an encoding key synthesizing unit (36) for synthesizing the cipher data (CD) and the encoding key (EK) and transmitting the synthesized key to the public network. 제1항에 있어서, 소오스 식별코드(S_ID)는 각 네트워크 인터페이스 카드의 네트워크 어드레스임로 설정되는 것을 특징으로 하는 스트림 엔사이퍼 장치.The stream ncipher device according to claim 1, wherein the source identification code (S_ID) is set to be a network address of each network interface card. 제1항에 있어서, 소오스 식별코드(S_ID)는 전화번호로 설정되는 것을 특징으로 하는 스트림 엔사이퍼 장치.2. The stream encipher device according to claim 1, wherein the source identification code (S_ID) is set to a telephone number. 제1항에 있어서, 키이 엔코더(32)는 소오스 식별코드(S_ID)와 수신자 식별코드(D_ID)를 앤드연산하여 키이(K)를 생성하는 키이 발생기(51)와; 상기 키이(K)를 수신자 식별코드(D_ID)와 익스클루시브오아 연산하여 엔코딩된 형태의 키이(EK)를 생성하는 엔코딩키이 발생기(52)로 구성한 것을 특징으로 하는 스트림 엔사이퍼 장치.The key encoder (32) according to claim 1, further comprising: a key generator (51) for generating a key (K) by performing an AND operation on the source identification code (S_ID) and the receiver identification code (D_ID); And an encoding key generator (52) for generating an encoded key (EK) by calculating the key K with the receiver identification code D_ID and an Exclusive-Or. 제1항에 있어서, 엔코딩키이 합성부(36)는 엔코딩키이(EK)를 사이퍼데이터(CD)의 헤더부분에 삽입하는 방식으로 합성하는 것을 특징으로 하는 스트림 엔사이퍼 장치.The stream encipher device according to claim 1, wherein the encoding key synthesizing unit (36) synthesizes the encoding key (EK) by inserting it into the header portion of the cipher data (CD). 수신되는 사이퍼데이터(CD)에 포함되어 있는 엔코딩키이(EK)를 분리검출하는 엔코딩키이 분리부(40)와; 상기 엔코딩키이(EK)를 디코딩 처리하여 원래의 키이(K)를 검출한 후 이를 수신자에 의해 입력되는 소오스 식별코드(S_ID)와 비교하여 서로 동일한 경우 그 키이(K)를 출력하는 키이 디코더(42)와; 상기 키이(K)를 이용하여, 입력레지스터(41)를 통해 수신되는 사이퍼데이터(CD)를 해독하는 사이퍼 로직부(43)와; 상기 사이퍼 로직부(43)에서 해독된 후 출력레지스터(44)를 통해 순차적으로 입력되는 데이터와 상기 사이퍼데이터(CD)를 익스클루시브오아 연산하여 원래의 메시지(M)를 복원해내는 익스클루시브 오아게이트(45)로 구성한 것을 특징으로 하는 스트림 디사이퍼 장치.An encoding key separation unit 40 for separately detecting an encoding key EK included in the received cypher data CD; A key decoder 42 which decodes the encoding key EK to detect the original key K, compares it with a source identification code S_ID input by the receiver, and outputs the key K when the key is identical. )Wow; A cipher logic section (43) for decrypting the cipher data (CD) received through the input register (41) using the key (K); Exclusive to recover the original message (M) by performing an exclusive ora operation on the data sequentially read through the output register 44 after being decoded by the cipher logic unit 43 and the cipher data CD. A stream decipher device comprising an oragate (45).
KR1019970049049A 1997-09-26 1997-09-26 Stream encipher and decipher apparatus KR100266629B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970049049A KR100266629B1 (en) 1997-09-26 1997-09-26 Stream encipher and decipher apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970049049A KR100266629B1 (en) 1997-09-26 1997-09-26 Stream encipher and decipher apparatus

Publications (2)

Publication Number Publication Date
KR19990026758A KR19990026758A (en) 1999-04-15
KR100266629B1 true KR100266629B1 (en) 2000-09-15

Family

ID=19521752

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970049049A KR100266629B1 (en) 1997-09-26 1997-09-26 Stream encipher and decipher apparatus

Country Status (1)

Country Link
KR (1) KR100266629B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003005635A2 (en) * 2001-07-06 2003-01-16 Koninklijke Philips Electronics N.V. Streamcipher synchronisation information wich is redundant in next packet of encrypted frame

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950010334A (en) * 1993-09-23 1995-04-28 이헌조 Carrier Recovery Circuit of Digital Reception System
KR960006386A (en) * 1994-07-08 1996-02-23 양승택 Encryption and Decryption Method of Digital Information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950010334A (en) * 1993-09-23 1995-04-28 이헌조 Carrier Recovery Circuit of Digital Reception System
KR960006386A (en) * 1994-07-08 1996-02-23 양승택 Encryption and Decryption Method of Digital Information

Also Published As

Publication number Publication date
KR19990026758A (en) 1999-04-15

Similar Documents

Publication Publication Date Title
KR100657062B1 (en) Method for encrypting information and device for realization of the method
EP1094634B1 (en) Automatic resynchronization of crypto-sync information
CA2441392A1 (en) Encrypting apparatus
US6504930B2 (en) Encryption and decryption method and apparatus using a work key which is generated by executing a decryption algorithm
KR100417657B1 (en) One-way data conversion device and device authentication system
JPH05500298A (en) encryption device
US7894608B2 (en) Secure approach to send data from one system to another
JPH1022994A (en) Ciphering device, deciphering device, ciphering method, deciphering method and communication system using the same
WO2004086672A1 (en) Device, method, and program for encryption and decryption and recording medium
JPH04297157A (en) Data ciphering device
JP2000115162A (en) Secure communication equipment and storage device
JPH10171717A (en) Ic card and cipher communication system using the same
JP4703805B2 (en) ENCRYPTION DEVICE, ENCRYPTION METHOD, DECRYPTION DEVICE, DECRYPTION METHOD, AND COMMUNICATION SYSTEM
KR100266629B1 (en) Stream encipher and decipher apparatus
JP2001177518A (en) Enciphering method, and decoding method and device
US8130945B2 (en) Encrypted cryptography system
JPH06209313A (en) Method and device for security protection
JPH04335730A (en) Random ciphering communication system
KR100273231B1 (en) Encipher and decipher apparatus
JPH06224897A (en) Closed area broadcasting system
JPH09233065A (en) Ciphering device and ciphering method
JP3526523B2 (en) Secret key transmission method
JP3164347B2 (en) IC tag
JPH0934355A (en) Ciphering system and ciphering system applicable to communication network
KR19990011903A (en) Stream cipher system of wireless communication

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20050524

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee