KR100281320B1 - Apparatus for trasmitting and receiving digital document including a sign data - Google Patents

Apparatus for trasmitting and receiving digital document including a sign data Download PDF

Info

Publication number
KR100281320B1
KR100281320B1 KR1019970053205A KR19970053205A KR100281320B1 KR 100281320 B1 KR100281320 B1 KR 100281320B1 KR 1019970053205 A KR1019970053205 A KR 1019970053205A KR 19970053205 A KR19970053205 A KR 19970053205A KR 100281320 B1 KR100281320 B1 KR 100281320B1
Authority
KR
South Korea
Prior art keywords
signature data
run length
document
processing unit
predetermined
Prior art date
Application number
KR1019970053205A
Other languages
Korean (ko)
Other versions
KR19990032222A (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 KR1019970053205A priority Critical patent/KR100281320B1/en
Publication of KR19990032222A publication Critical patent/KR19990032222A/en
Application granted granted Critical
Publication of KR100281320B1 publication Critical patent/KR100281320B1/en

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

본 발명은 서명데이타가 삽입된 문서 정보를 수신시 서명데이타에 대한 인증이 가능하도록 해당 문서정보와 서명 데이터를 합성 및 추출할 수 있는 기능을 구비한 디지탈 문서 송수신장치에 관한 것이다. 이를 위하여 본 발명의 디지탈 문서 송신장치는 공통키 암호화방식으로 해당 서명데이타를 암호화하고, 암호화된 서명데이타의 런랭스가 짝수인지 홀수인지에 따라 한 픽셀 좌로 또는 우로 시프트하는 방식으로 해당 문서정보와 합성하고 부호화하여 송출하도록 구성되고, 디지탈 문서 수신장치는 수신된 문서정보를 복호화하고, 합성방식에서와 같은 방식으로 문서정보에서 해당되는 서명 데이터를 분리하고, 분리된 서명데이타의 암호화상태를 풀고, 암호화상태가 풀린 서명데이타의 진위여부를 판정하여 현재 수신된 문서에 대한 정당성을 결정하여 수신처리를 허용하도록 구성된다. 따라서 본 발명은 송수신되는 디지탈 문서에 대한 무결성을 보장할 수 있는 효과가 있다.The present invention relates to a digital document transmitting and receiving apparatus having a function of synthesizing and extracting document information and signature data so as to enable authentication of signature data when receiving document information in which signature data is inserted. To this end, the digital document transmission apparatus of the present invention encrypts the signature data using a common key encryption method, and synthesizes the document information by shifting one pixel to the left or right according to whether the run length of the encrypted signature data is even or odd. The digital document receiving apparatus decrypts the received document information, separates the corresponding signature data from the document information in the same manner as in the synthesis method, solves the encryption state of the separated signature data, and encrypts it. It is configured to determine the authenticity of the unsolved signature data to determine the validity of the currently received document and to allow reception processing. Therefore, the present invention has the effect of ensuring the integrity of the digital document to be transmitted and received.

Description

서명 데이터 합성 및 추출기능을 구비한 디지탈 문서 송수신장치{APPARATUS FOR TRASMITTING AND RECEIVING DIGITAL DOCUMENT INCLUDING A SIGN DATA}Digital document transmitter and receiver with signature data synthesis and extraction {APPARATUS FOR TRASMITTING AND RECEIVING DIGITAL DOCUMENT INCLUDING A SIGN DATA}

본 발명은 서명 데이터 합성 및 추출기능을 구비한 디지탈 문서 송수신장치에 관한 것으로서, 특히, 송신될 디지탈 문서와 해당 서명데이타를 합성하여 송출하고, 수신된 문서로부터 해당 디지탈 서명데이타를 추출하여 수신된 문서를 수신처리하는 서명데이타 합성 및 추출기능을 갖는 디지탈 문서 송수신장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital document transmitting and receiving apparatus having a signature data synthesizing and extracting function. In particular, a digital document to be transmitted and a corresponding signature data are synthesized and transmitted, and the digital signature data is extracted from the received document. The present invention relates to a digital document transmitting / receiving apparatus having a signature data synthesizing and extracting function.

일반적으로 디지탈 문서 송수신장치는 해당 문서를 디지탈 정보의 형태로 송수신하는 것으로, PC(Personal Computer) 팩스(Facsimile)와 같이 컴퓨터통신망을 이용한 시스템을 예로 들수 있다. 이러한 디지탈 문서 송수신장치를 이용하여 소정의 문서를 송수신할 때, 문서의 중요도에 따라 송신자의 서명이 중요한 역할을 하는 경우가 있다. 예를 들어 거래처간의 임의의 계약서를 송출할 경우에, 계약서상에 기입되는 서명 또는 도장의 의미는 중요하다.In general, a digital document transmitting / receiving apparatus transmits and receives a corresponding document in the form of digital information. For example, a system using a computer communication network such as a personal computer (Facsimile) may be used. When transmitting and receiving a predetermined document using such a digital document transmitting and receiving apparatus, the sender's signature may play an important role depending on the importance of the document. For example, in the case of sending out an arbitrary contract between customers, the meaning of the signature or stamp written on the contract is important.

그러나 기존의 디지탈 문서 송수신장치는 문서작성시 수신자가 문서상에 직접 기입한 서명 데이터 또는 도장(이하 서명데이타로 총칭함)을 해당 문서상에 존재하는 문자정보들과 같이 부호화하여 전송하고, 수신측에서는 일반 문서정보를 수신할 때와 동일하게 복호화과정을 거쳐 해당 문서정보에 대한 수신처리를 하고, 수신된 문서정보에 기입되어 있는 서명 데이터를 육안으로 확인하는 정도로 이루어져 문서의 무결성(無缺性)을 보장하기 어려운 문제가 있었다.However, the existing digital document transceiver transmits the signature data or seal (hereinafter collectively referred to as signature data) written by the recipient directly on the document as the document is encoded and transmitted along with the character information existing on the document. It is difficult to guarantee the integrity of the document because it is processed to receive the relevant document information through the same decryption process as when receiving the information and visually confirms the signature data written in the received document information. There was a problem.

즉, 제 3 자가 임의의 송신자를 자처(自處)하면서 서명데이타가 기입된 소정의 문서를 송출하였을 때, 수신측에서는 송출된 문서를 수신할 뿐 수신된 문서에 삽입되어 있는 서명 데이터에 대한 인증작업이 이루어지지 않아 수신당시 문서의 정당성을 인증할 수 없고, 수신후 수작업에 의한 확인만이 가능하였다.That is, when a third party sends out a predetermined document filled with signature data while sending a random sender, the receiving side only receives the sent document and authenticates the signature data inserted in the received document. This did not make it possible to verify the validity of the document at the time of reception, and only by manual check after reception was possible.

본 발명은 상술한 결점을 개선하기 위하여 안출한 것으로서, 서명데이타가 삽입된 문서 정보를 수신시 서명데이타에 대한 인증이 가능하도록 해당 문서정보와 서명 데이터를 합성 및 추출할 수 있는 기능을 구비한 디지탈 문서 송수신장치를 제공하는 데 그 목적이 있다.The present invention has been made to improve the above-described drawbacks, digital document having the function of synthesizing and extracting the document information and the signature data to enable the authentication of the signature data when receiving the document information with the signature data inserted The purpose is to provide a document transceiver.

이러한 목적을 달성하기 위하여 본 발명에 따른 서명데이타 합성기능을 구비한 디지탈 문서 송신장치는, 소정의 서명데이타가 포함되어 있는 제 1 소정의 디지탈 문서정보를 송신하는 디지탈 문서 송신시스템에 있어서, 생성요구명령에 의해 생성된 소정의 서명데이타를 암호화하는 암호화수단; 암호화수단으로부터 출력되는 암호화된 소정의 서명데이타에 대한 런랭스를 체크하고, 런랭스가 홀수이면 한 픽셀을 좌로 시프트하고, 짝수이면 한 픽셀을 우로 시프트하는 방식으로 제 2 소정의 디지탈 문서와 합성처리를 하는 합성처리부; 합성처리부로부터 출력되는 정보와 생성요구명령에 따라 소정의 서명데이타가 합성되어 전송되는 지 여부를 나타내는 정보를 함께 부호화하여 얻어진 제 1 소정의 디지탈 문서정보가 송출되도록 출력하는 부호화처리부를 포함하는 것을 특징으로 한다.In order to achieve this object, a digital document transmission device having a signature data synthesizing function according to the present invention is a digital document transmission system that transmits first predetermined digital document information containing predetermined signature data. Encryption means for encrypting predetermined signature data generated by the command; Synthesis processing with the second predetermined digital document by checking the run length for the encrypted predetermined signature data output from the encryption means, shifting one pixel to the left if the run length is odd, and shifting one pixel to the right if the even number is even. Synthesis processing unit; And an encoding processing unit for outputting the first predetermined digital document information obtained by encoding the information output from the synthesis processing unit and the information indicating whether the predetermined signature data is synthesized and transmitted according to the generation request command. It is done.

상기 목적을 달성하기 위하여 본 발명에 따른 서명데이타 추출기능을 구비한 디지탈 문서 수신장치는, 소정의 서명데이타가 합성된 소정의 문서정보가 수신되면, 수신된 문서에 포함되어 있는 소정의 서명데이타의 진위여부를 판정하여 수신처리를 하는 디지탈 문서 수신시스템에 있어서, 수신된 문서에 대한 복호화처리를 하는 복호화처리부; 복호화처리부로부터 전송되는 문서정보중에서 특정 위치에 합성되어 전송되는 소정의 서명데이타를 합성시 이용된 방식과 동일한 방식으로 분리하는 서명데이타 분리부; 서명데이타 분리부로부터 전송되는 소정의 서명데이타를 역암호화처리하는 역암호화처리부; 복호화처리부로부터 전송되는 부가정보를 분석하여 수신된 문서가 소정의 서명데이타가 합성된 경우로 판정되면 서명데이타 분리부에서 이루어지는 서명데이타에 대한 분리작업을 제어하고, 역암호화처리부로부터 전송되는 소정의 서명데이타가 정당성을 갖는 경우에는 수신된 문서에 대한 수신처리를 허용하는 제어부를 포함하는 것을 특징으로 한다.In order to achieve the above object, a digital document receiving apparatus having a signature data extracting function according to the present invention, when predetermined document information obtained by synthesizing a predetermined signature data is received, is selected from among the predetermined signature data included in the received document. A digital document receiving system for determining authenticity and performing a receiving process, the digital document receiving system comprising: a decoding processing unit for decoding processing a received document; A signature data separation unit for separating predetermined signature data synthesized and transmitted to a specific position among document information transmitted from the decryption processing unit in the same manner as that used at synthesis; A reverse encryption processing unit for reverse encrypting predetermined signature data transmitted from the signature data separation unit; If the received document is determined to be a case where a predetermined signature data is synthesized by analyzing the additional information transmitted from the decryption processing unit, it controls the separation operation on the signature data made by the signature data separation unit, and the predetermined signature transmitted from the reverse encryption processing unit. If the data has a legitimacy, it is characterized in that it comprises a control unit that allows reception processing for the received document.

도 1은 본 발명에 따른 서명 데이터 합성기능을 구비한 디지탈 문서 송신장치의 블럭도,1 is a block diagram of a digital document transmission apparatus having a signature data synthesizing function according to the present invention;

도 2는 도 1에 도시된 합성처리부의 동작 흐름도,2 is an operation flowchart of the synthesis processing unit shown in FIG. 1;

도 3a는 DES암호화되어 전송되는 서명 데이터의 런랭스(Runlength)가 홀수(Odd)인 경우에, 합성전과 합성후의 예시도,3A is an exemplary diagram before and after synthesis when the run length of the signature data transmitted by DES encryption is odd (Odd),

도 4는 본 발명에 따른 서명 추출기능을 구비한 디지탈 문서 수신장치의 블럭도4 is a block diagram of a digital document receiving apparatus having a signature extracting function according to the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

110:서명데이타 생성부 120:암호화처리부110: signature data generation unit 120: encryption processing unit

130:합성처리부 140:스크램블 처리부130: synthesis processing unit 140: scramble processing unit

150:부호화처리부 410:복호화처리부150: encoding processing unit 410: decoding processing unit

420:제어부 430:디스크램블 처리부420: control unit 430: descramble processing unit

440:서명데이타 분리부 450:역암호화 처리부440: Signature data separation unit 450: Decryption processing unit

460:메모리 470:출력부460: memory 470: output unit

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세하게 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 서명 데이터 합성기능을 구비한 디지탈 문서 송신장치의 블록도로서, 송신자로부터 서명데이타에 대한 생성요구명령이 인가되면 저장되어 있던 서명데이타를 생성하는 서명데이타 생성부(110), 서명데이타 생성부(110)로부터 전송되는 서명데이타(S‘ab)를 암호화하기 위한 암호화 처리부(120), 암호화 처리부(120)로부터 출력되는 암호화된 서명데이타(S“ab)와 송출할 문서정보를 합성하는 합성처리부(130), 합성처리부(130)로부터 출력되는 정보를 스크램블링(Srambling)하기 위한 스크램블 처리부(140), 스크램블 처리부(140)로부터 출력되는 문서정보를 부호화하여 송출하기 위한 부호화처리부(150)로 구성된다.1 is a block diagram of an apparatus for transmitting a digital document having a signature data synthesizing function according to the present invention, wherein a signature data generating unit 110 generates stored signature data when a request for generating signature data is received from a sender. , The encryption processing unit 120 for encrypting the signature data S ′ ab transmitted from the signature data generation unit 110, the encrypted signature data S “ ab output from the encryption processing unit 120, and the document information to be transmitted. A synthesis processor 130 for synthesizing the information; 150).

이와 같이 구성된 디지탈 문서 송신장치는 다음과 같이 동작한다.The digital document transmitter configured in this way operates as follows.

우선, 서명데이타 생성부(110)는 소정의 서명데이타를 사전에 저장하고, 송신자로부터 서명데이타에 대한 생성요구명령이 인가되면, 저장하고 있던 서명데이타를 생성한다. 이때, 저장된 서명데이타가 다수개 존재하는 경우에 인가되는 생성요구명령은 단순히 저장된 서명 데이터를 독출하기 위한 명령이 아니라 생성하기를 원하는 서명데이타가 저장되어 있는 주소(Address)를 포함하는 정보가 된다.First, the signature data generation unit 110 stores predetermined signature data in advance, and generates the stored signature data when a generation request command for signature data is authorized from the sender. In this case, the generation request command authorized when there are a plurality of stored signature data is not simply a command for reading the stored signature data, but an information including an address where the signature data desired to be generated is stored.

암호화 처리부(120)는 인가되는 서명데이타를 보편적으로 알려져 있는 DES(Data Encryption Standard)방식으로 암호화한다. 이 DES방식은 기본적으로 순열(Permutation or Transposition), 치환(Substitution) 및 Modulo2(배타논리합)연산을 사용하는 복잡한 암호시스템이면서 평문(Plaintext)을 한 번에 64비트씩 암호화하는 블록 암호화 방식이다. 이 암호화 방식의 기본 구성은 최초 64비트 평문의 각 비트 순서를 바꾸기 위한 초기순열, 순열과 치환으로 이루어진 암호화 과정을 16회 반복하여 수행하는 부분 및 각 비트순서를 다시 초기순열의 역배열로 바꾸는 최종순열 부분으로 이루어진다. 이와 같이 암호화가 이루어진 서명데이타는 합성처리부(130)로 전송된다.The encryption processing unit 120 encrypts the authorized signature data by a commonly known Data Encryption Standard (DES) method. This DES is basically a complex encryption system that uses permutation or transposition, substitution, and Modulo2 (exclusive logical sum) operation, and is a block encryption method that encrypts plaintext 64 bits at a time. The basic structure of this encryption method is the initial sequence to change the order of each bit of the first 64-bit plain text, the part which performs 16 times the encryption process of permutation and permutation, and the final sequence to change each bit sequence back to the reverse sequence of the initial sequence. Consists of parts. The signature data encrypted in this way is transmitted to the synthesis processing unit 130.

합성처리부(130)는 송출할 문서정보와 암호화처리부(120)로부터 전송된 문서정보를 도 2에 도시된 합성알고리즘에 의해 합성하여 출력한다. 즉, 문서정보만 인가되는 구간에는 입력되는 문서정보를 바로 출력단으로 전송하고, 암호화처리부(120)와 연결되어 있는 입력단을 통해 소정의 정보가 인가되면, 인가되는 정보에 대해서는 도 2에 도시된 합성알고리즘으로 합성하여 전송한다.The synthesizing unit 130 synthesizes and outputs the document information to be sent and the document information transmitted from the encryption processing unit 120 by the synthesizing algorithm shown in FIG. 2. That is, in the section where only the document information is applied, the input document information is directly transmitted to the output terminal, and when predetermined information is applied through the input terminal connected to the encryption processing unit 120, the synthesized information shown in FIG. Synthesize by algorithm and send.

도 2를 통해 합성처리부(130)에서 이루어지는 합성 알고리즘을 좀더 상세하게 설명하면 다음과 같다.Hereinafter, the synthesis algorithm performed by the synthesis processor 130 will be described in more detail with reference to FIG. 2.

제 201 단계에서 현재 인가되는 서명정보의 ai부터 aj간의 런랭스(RunLength(이하 RL이라 약함)(ai, aj))가 홀수(Odd)인 지를 체크한다. 여기서, ai가 흑화소(Black Pixel)의 첫 번째 화소인 경우에, aj는 ai흑화소에 이어지는 첫 번째 백화소(White Pixel)의 위치를 말하며, ai부터 aj간의 런랭스는 ai부터 aj화소의 이전 화소까지의 길이에 해당된다. 이와는 반대로, ai가 백화소(White Pixel)의 첫 번째 화소인 경우에, aj는 ai백화소에 이어지는 첫 번째 흑화소의 위치를 말하며, ai부터 aj간의 런랭스는 ai부터 aj 이전 화소까지의 길이에 해당한다. 따라서, 본 명세서에서의 RL이라 함은 ai부터 aj 이전 화소까지 백화소 또는 흑화소가 연속되는 길이를 의미한다.In step 201, it is checked whether the run length (RunLength (hereinafter, abbreviated as RL) (ai, aj)) between ai to aj of the signature information currently authorized is odd. Here, when ai is the first pixel of the black pixel, aj refers to the position of the first white pixel following the ai black pixel, and the run length of ai to aj is the position of the aj pixel. It corresponds to the length up to the previous pixel. In contrast, when ai is the first pixel of a white pixel, aj refers to the position of the first black pixel following the ai white pixel, and the run length between ai and aj is the length from ai to the previous pixel. Corresponding. Accordingly, RL in the present specification means a length in which white pixels or black pixels are continuous from ai to the pixel before aj.

도 3a에 도시된 구조는 RL(a0, a1)가 3인 경우이고, 도 3 b에 도시된 구조는 RL(a0, a1)가 1인 경우 그리고 도 3c에 도시된 구조는 RL(a0, a1)가 4인 경우이다. 이와 같은 기준으로 제 201 단계에서 인가되는 서명데이타에 대한 런랭스를 체크한 결과, 홀수인 경우에는 제 202 단계로 진행된다.The structure shown in FIG. 3A is when RL (a0, a1) is 3, the structure shown in FIG. 3B is when RL (a0, a1) is 1 and the structure shown in FIG. 3C is RL (a0, a1). ) Is 4. As a result of checking the run length for the signature data authorized in step 201 on the basis of such a criterion, the process proceeds to step 202 in the case of an odd number.

제 202 단계에서는 홀수인 현재 런랭스(RL(ai, aj))가 1인 지를 체크한다. 체크결과, 현재의 런랭스(RL(ai, aj))가 1이 아닌 경우에는 제 203 단계로 진행되어 aj화소가 '0'의 값을 갖는 지를 체크한다. 이때 aj가 백화소인 경우에 aj는 '0'의 값을 가질 것이고, 흑화소인 경우에 aj는 '255'의 값을 가진다. 체크결과, aj의 값이 0인 경우에는 제 204 단계로 진행되어 한 픽셀 좌로 시프트 처리한다. 즉, 도 3a에 도시된 바와 같이 합성전의 a0이 런랭스가 3일 때, a1이 0이면 한 픽셀을 좌로 시프트하여 RL(a0, a1)의 런랭스를 2로 설정한 다음 리턴된다.In step 202, it is checked whether an odd current run length RL (ai, aj) is one. As a result of the check, if the current run length RL (ai, aj) is not 1, the process proceeds to step 203 to check whether the pixel aj has a value of '0'. In this case, when aj is a white pixel, aj will have a value of '0', and in the case of a black pixel, aj will have a value of '255'. As a result of the check, if the value of aj is 0, the process proceeds to step 204 and shifts one pixel to the left. That is, as shown in FIG. 3A, when a0 before synthesis is a run length of 3, when a1 is 0, one pixel is shifted to the left to set the run length of RL (a0, a1) to 2 and then returned.

그러나 제 203 단계의 체크결과, aj가 0이 아니면 제 205 단계로 진행되어 그 상태를 유지하고 리턴된다. 즉, 도 3a에 도시된 바와 같이 aj가 255인 경우에 RL(ai, aj)을 3으로 그대로 유지한 상태로 연속되는 다음 데이터에 대한 처리를 위해 리턴된다. 즉, 도 3a의 경우에 다음에 해당되는 RL(a1, a2)에 대한 런랭스에 대한 처리를 하기 위하여 리턴된다.However, if aj is not 0, the process proceeds to step 205, where it is maintained and returned. That is, as shown in FIG. 3A, when aj is 255, the RL (ai, aj) is returned for processing on the next subsequent data while keeping the value of 3 as it is. That is, in the case of FIG. 3A, the process is returned to process the run length for the following RL (a1, a2).

그리고 제 202 단계에서 체크한 결과, RL(ai, aj)=1인 경우에는 도 3b에 도시된 바와 같은 경우로, aj가 0인 상태이더라고 좌로 시프트하는 것이 허락되지 않는 예외 조건으로 별도의 처리없이 다음 차례의 런랭스처리를 위하여 리턴된다.If RL (ai, aj) = 1 as a result of the check in step 202, as shown in FIG. 3B, an exception condition is not allowed to shift to the left even though aj is 0. Returned for the next run length processing.

한편, 제 201 단계의 체크결과, 현재 RL(ai, aj)이 짝수인 경우에는 제 206 단계로 진행된다. 제 206 단계에서 합성처리부(130)는 다음 런랭스(RL(aj, ak))의 값이 1인 지를 체크한다. 여기서 ak는 aj 다음에 이어지는 화소로서, aj가 백화소인 경우에 이어지는 첫 번째 흑화소에 해당된다. 따라서 RL(aj, ak)는 RL(ai, aj)의 다음 런랭스가 된다.On the other hand, if the check result of the step 201, the current RL (ai, aj) is even to proceed to step 206. In step 206, the synthesis processor 130 checks whether the value of the next run length RL (aj, ak) is 1. Here, ak is a pixel subsequent to aj, and corresponds to the first black pixel that follows when aj is a white pixel. Therefore, RL (aj, ak) becomes the next run length of RL (ai, aj).

제 206 단계의 체크결과, 다음 런랭스(RL(aj, ak))가 1이 아닌 경우에 합성처리부(130)는 aj가 0인 지를 체크한다. 체크결과, aj가 0이면 제 208 단계로 진행되어 현재의 런랭스를 그대로 유지하고 다음 런랭스에 대한 처리를 위해 리턴된다. 즉, 도 3c에 도시된 예와 같이 RL(a0, a1)이 4인 경우에 다음 런랭스(RL(a1, a2))가 1이 아닌 상태에서 a1이 0인 경우에는 현재의 런랭스(RL(a0, a1)) 4를 그대로 유지하고 다음 런랭스(RL(a1, a2))에 대한 처리를 위해 리턴된다.As a result of the check in step 206, when the next run length RL (aj, ak) is not 1, the synthesis processor 130 checks whether aj is zero. As a result of the check, if aj is 0, the flow proceeds to step 208 to maintain the current run length as it is and return for processing for the next run length. That is, when RL (a0, a1) is 4 as shown in the example shown in FIG. 3C, when a1 is 0 when the next run length RL (a1, a2) is not 1, the current run length RL (a0, a1)) 4 remains and is returned for processing for the next run length RL (a1, a2).

그러나 제 207 단계의 체크결과, aj가 255인 경우에 한 픽셀을 우로 시프트한다. 즉, 도 3c에 도시된 바와 같이 우로 한 픽셀을 시프트하여 현재 런랭스(RL(a0, a1))를 5로 설정한 다음 다음 런랭스에 대한 처리를 위하여 리턴된다.However, as a result of checking in step 207, when aj is 255, one pixel is shifted to the right. That is, as shown in Fig. 3C, the right pixel is shifted to set the current run length RL (a0, a1) to 5, and then returned for processing for the next run length.

한편, 제 206 단계에서 체크한 결과, 다음 런랭스(RL(aj, ak))가 1인 경우는 도 3d에 도시된 바와 같이 RL(a0, a1)이 짝수(2)인 상태에서 RL(a1, a2)=1인 경우와 같은 것으로, 우로 한 픽셀을 시프트하는 것이 허용되지 않으므로 무시하고 리턴된다. 이는 우로 한 픽셀을 시프트할 경우에 a1에 해당되는 백화소가 전혀 존재하지 않는 상태로 전송되기 때문에 허용되지 않는 것이다.On the other hand, as a result of the check in step 206, when the next run length RL (aj, ak) is 1, as shown in FIG. 3D, RL (a1, a1) is an even number 2, RL (a1). , a2) = 1, and since it is not allowed to shift the right pixel, it is ignored and returned. This is not allowed when shifting one pixel to the right because the white pixel corresponding to a1 is transmitted without any present.

이와 같은 과정을 반복하여 해당 서명데이타에 대한 합성이 완료되면, 스크램블 처리부(140)로 전송한다. 스크램블 처리부(140)는 기존에 알려진 방식에 의해 서명데이타가 포함된 문서정보에 대해 스크램블처리를 수행하여 출력한다. 출력된 스크램블된 데이터는 부호화처리부(150)로 전송된다.By repeating the above process, when the synthesis of the signature data is completed, the scramble processing unit 140 transmits the scramble processing unit 140. The scramble processing unit 140 performs a scramble process on the document information including the signature data by a known method and outputs it. The output scrambled data is transmitted to the encoding processor 150.

부호화처리부(150)는 스크램블 처리부(140)로부터 전송된 정보를 MH(Modified Huffman) 부호화처리를하여 송출한다. 이 때 부호화처리부(150)는 생성 요구명령의 인가여부에 따라 현재 전송되는 문서정보에 서명데이타가 포함되어 있는 지를 나타내는 부가정보가 부가되어 전송되도록 부호화처리를 한다.The encoding processor 150 performs Modified Huffman (MH) encoding on the information transmitted from the scramble processing unit 140 and transmits the information. At this time, the encoding processing unit 150 performs encoding processing so that additional information indicating whether signature data is included in the currently transmitted document information is added and transmitted according to whether the generation request command is authorized or not.

이와 같이 소정의 서명데이타와 합성된 문서정보가 송출되면, 해당되는 디지탈 문서 수신시스템으로 전송된다. 이러한 문서정보를 수신할 수 있는 디지탈 문서 수신장치는 도 4에 도시된 바와 같이 구성된다.In this way, when the document information synthesized with the predetermined signature data is sent out, it is transmitted to the corresponding digital document receiving system. A digital document receiving apparatus capable of receiving such document information is configured as shown in FIG.

즉, 도 4는 본 발명에 따른 서명데이타 추출기능을 구비한 디지탈 문서 수신시스템의 블록도로서, 부호화된 문서정보가 인가되면 복호화하기 위한 복호화처리부(410), 복호화처리부(410)로부터 출력되는 복호화된 정보에 대해 디스크램블링(Descambling) 처리를 수행하는 디스크램블 처리부(430), 디스클램블된 데이터가 인가되면 인가된 정보중 서명데이타와 문서정보를 분리하기 위한 서명데이타 분리부(440), 서명데이타 분리부(440)로부터 전송되는 서명데이타에 대한 암호화를 풀기 위하여 역암호화처리를 하는 역암호화처리부(450), 복호화처리부(410)로부터 전송된 부가정보에 대한 정보를 분석하여 서명데이타 분리부(440)의 역할을 제어하기 위한 제어부(420), 제어부(420)에 의해 제어되어 수신된 문서정보를 출력하기 위한 출력부(470), 수신할 수 있는 다수의 서명데이타에 대한 정보를 저장하고 있는 메모리(460)로 구성된다.That is, FIG. 4 is a block diagram of a digital document receiving system having a signature data extracting function according to an embodiment of the present invention, which is output from a decoding processing unit 410 and a decoding processing unit 410 for decoding when encoded document information is applied. Descrambling processing unit 430 for descrambling the descrambled information, if the descrambled data is authorized, signature data separation unit 440 for separating the signature data and document information of the authorized information, the signature In order to solve the encryption of the signature data transmitted from the data separation unit 440, the reverse encryption processing unit 450 which performs reverse encryption processing, and analyzes the information about the additional information transmitted from the decryption processing unit 410 to perform the signature data separation unit ( A control unit 420 for controlling the role of the 440, an output unit 470 for outputting the received document information controlled by the control unit 420, a plurality of receiving It is composed of a memory 460 that stores information about the signature data.

이와 같이 구성된 디지탈 문서 수신장치는 다음과 같이 동작된다.The digital document receiving apparatus configured as described above is operated as follows.

즉, 복호화처리부(410)는 수신된 부호화된 문서정보가 인가되면 인가된 문서정보에 대한 허프만 복호화(MH-1)처리를 수행한다. 그리고 허프만 복호화된 데이터중 순수한 데이터정보와 부가정보를 분리하여 부가정보는 제어부(420)로 전송하고, 순수한 데이터는 디스크램블 처리부(430)로 전송한다.That is, when the received encoded document information is applied, the decoding processing unit 410 performs Huffman decoding (MH- 1 ) processing on the authorized document information. In addition, the pure data information and the additional information are separated from the Huffman decoded data, and the additional information is transmitted to the controller 420, and the pure data is transmitted to the descramble processor 430.

이에 따라 제어부(420)는 인가된 부가정보를 분석하여 현재 수신된 문서정보가 일반 문서정보인지, 아니면 서명데이타가 포함되어 있는 문서정보인 지를 파악한다. 파악결과, 현재 수신된 문서정보에 서명데이타가 포함된 것으로 판단되면, 약속된 위치에 삽입되어 전송되는 서명데이타에 대한 위치정보를 서명데이타 분리부(440)로 전송한다.Accordingly, the controller 420 analyzes the authorized additional information to determine whether the currently received document information is general document information or document information including signature data. As a result of the determination, when it is determined that the signature data is included in the currently received document information, the signature data separation unit 440 transmits the location information on the signature data that is inserted into the promised location and transmitted.

디스크램블 처리부(430)은 도 1에 도시된 스크램블 처리부(140)와 역으로 인가된 데이터에 대한 디스크램블 처리를하여 출력한다. 출력된 디스크램블된 데이터는 서명데이타 분리부(440)로 전송된다. 서명데이타 분리부(440)는 제어부(420)로부터 전송된 위치정보를 참조하여 문서정보와 서명데이타를 분리하고, 분리된 서명데이타에 대해서는 송신시 함성전의 상태(S“ab)로 복원시킨다.The descramble processing unit 430 performs a descrambling process on the data applied in reverse with the scramble processing unit 140 shown in FIG. The output descrambled data is transmitted to the signature data separator 440. The signature data separator 440 separates the document information and the signature data with reference to the location information transmitted from the controller 420, and restores the separated signature data to the state S ′ ab before transmission when transmitting the separated signature data.

서명데이타에 대한 복원처리는 도 2에 도시된 합성시의 알고리즘이 그대로 적용된다. 즉, 합성시 런랭스가 홀수로 인식되고 좌로 시프트한 경우에 실질적으로 전송된 런랭스는 짝수의 상태이므로 복원을 위하여 파악되는 런랭스는 짝수가 되고, 도 3c에 도시된 바와 같이 한 픽셀 우로 시프트되도록 처리될 것이므로 합성시의 알고리즘이 그대로 이용되어도 합성전의 서명데이타를 추출할 수 있게 되는 것이다.As for the reconstruction processing for the signature data, the synthesis algorithm shown in FIG. 2 is applied as it is. That is, when the run length is recognized as odd and shifted to the left during synthesis, the run length actually transmitted is an even state, and thus the run length that is recognized for restoration becomes an even number, and shifts to the right by one pixel as shown in FIG. 3C. Since the processing algorithm is used as it is, the signature data before synthesis can be extracted.

이와 같이 추출된 서명데이타(S“ab)는 역암호화처리부(450)로 전송된다. 역암호화처리부(450)는 도 1에 도시된 암호화처리부(120)에서 이루어졌던 공통키 암호화(DES)방식과 역의 구조로 암호화된 서명데이타(S”ab)를 암호화 전상태(S‘ab)로 복원시킨다. 그리고 복원된 서명데이타는 제어부(420)로 전송한다.The signature data S ′ ab extracted as described above is transmitted to the reverse encryption processing unit 450. Station encryption processing unit 450 before encrypting the shared-key encryption (DES), the encrypted signature data by the structure of the method and the station (S "ab), which was done in the encryption processor 120 shown in Figure 1 state (S 'ab) Restore to. The recovered signature data is transmitted to the controller 420.

제어부(420)는 서명데이타(S‘ab)가 인가되면 메모리(460)에 저장되어 있는 다수의 서명데이타를 참조하여 인가된 서명데이타와 대조하면서 동일한 서명데이타가 존재하는 지를 체크한다. 체크결과, 동일한 서명데이타가 존재하면 출력부(470)를 통해 수신된 문서정보를 출력한다. 그러나 체크결과, 동일한 서명데이타가 존재하지 않으면 제어부(420)는 위조된 문서로 판정하여 수신된 문서정보에 대한 수신처리를 허용하지 않으면서 해당 디지탈 문서 송신시스템으로 재전송 요구정보가 송출되도록 제어한다.When the signature data S ' ab is applied, the controller 420 checks whether the same signature data exists while checking the signed signature data with reference to the plurality of signature data stored in the memory 460. As a result of the check, if the same signature data exists, the document information received through the output unit 470 is output. However, as a result of the check, if the same signature data does not exist, the control unit 420 determines that the document is a forged document and controls the retransmission request information to be sent to the corresponding digital document transmission system without allowing the reception process for the received document information.

이상에서 설명한 바와 같이 본 발명은 소정의 서명데이타를 공통키 암호화(DES)방식으로 암호화하고 암호화된 서명데이타를 특정 합성방식으로 송신할 문서정보와 합성하여 송출하고, 이와 같이 송출된 문서정보에 대한 수신처리시 합성방식으로 문서정보에 합성된 서명데이타를 추출하고, 암호화상태를 푼 서명데이타의 적합성을 판정하여 수신된 문서에 대한 진위여부를 판단하여 정당성을 갖는 문서에 대해서만 수신을 허락하도록 구현된 디지탈 문서 송수신장치를 제공함으로써, 송수신되는 디지탈 문서에 대한 무결성을 보장할 수 있는 장점이 있다. 또한 제 3 자의 불법적인 문서 위조를 방지할 수 있는 이점도 있다.As described above, the present invention encrypts predetermined signature data using a common key encryption (DES) method, combines the encrypted signature data with document information to be transmitted in a specific synthesis method, and sends the same. It is implemented to extract the signature data synthesized in the document information by the composition method in the receiving process, to judge the suitability of the decrypted signature data, to judge the authenticity of the received document, and to allow the reception of only the valid documents. By providing a digital document transmitting and receiving device, there is an advantage that can ensure the integrity of the digital document to be transmitted and received. It also has the advantage of preventing illegal forgery of third parties.

Claims (5)

소정의 서명데이타가 포함되어 있는 제 1 소정의 디지탈 문서정보를 송신하는 디지탈 문서 송신시스템에 있어서,In a digital document transmission system for transmitting first predetermined digital document information containing predetermined signature data, 생성요구명령에 의해 생성된 소정의 서명데이타를 암호화하는 암호화수단;Encryption means for encrypting predetermined signature data generated by the generation request command; 상기 암호화수단으로부터 출력되는 암호화된 상기 소정의 서명데이타에 대한 런랭스를 체크하고, 상기 런랭스가 홀수이면 한 픽셀을 좌로 시프트하고, 짝수이면 한 픽셀을 우로 시프트하는 방식으로 제 2 소정의 디지탈 문서와 합성처리를 하는 합성처리부;A second predetermined digital document by checking a run length for the encrypted predetermined signature data output from the encryption means, shifting one pixel to the left if the run length is odd, and one pixel to the right if the even length is even; Synthesis processing unit for performing a synthesis process; 상기 합성처리부로부터 출력되는 정보와 상기 생성요구명령에 따라 소정의 서명데이타가 합성되어 전송되는지를 나타내는 정보를 함께 부호화하여 얻어진 상기 제 1 소정의 디지탈 문서정보를 송출하는 부호화처리부를 포함하는 것을 특징으로 하는 서명데이타 합성장치.And an encoding processor for transmitting the first predetermined digital document information obtained by encoding the information output from the synthesis processing unit and the information indicating whether predetermined signature data is synthesized and transmitted according to the generation request command. Signature data synthesizer. 제 1 항에 있어서, 상기 합성처리부는 현재 런랭스가 홀수이면, 상기 현재 런랭스가 1인지를 체크하고, 상기 현재 런랭스가 1이면 예외 조건으로 인정하여 상기 현재 런랭스에 대한 별도의 처리없이 다음 런랭스에 대한 처리를 수행하도록 동작되는 것을 특징으로 하는 서명데이타 합성장치.The method of claim 1, wherein the synthesis processing unit checks whether the current run length is 1 when the current run length is odd, and recognizes as an exception condition when the current run length is 1, without further processing for the current run length. And a signature data synthesizing apparatus operable to perform processing for the next run length. 제 1 항 또는 제 2 항에서, 상기 현재 런랭스가 홀수이면 다음 색화소의 첫 번째 화소(aj)의 값이 0인 지를 체크하고, 0인 경우에는 한 픽셀 좌로 시프트하고, 255인 경우에는 현상태를 그대로 유지하도록 처리하고, 상기 현재 런랭스가 짝수이면 상기 다음 색화소의 첫 번째 화소(aj)의 값이 0인 지를 체크하고, 0인 경우에는 현상태를 그대로 유지하도록 처리하고, 255인 경우에는 한 픽셀 우로 시프트하도록 처리하는 것을 특징으로 하는 서명데이타 합성장치.The method of claim 1 or 2, wherein if the current run length is odd, it is checked whether the value of the first pixel aj of the next color pixel is 0, and if it is 0, it shifts one pixel to the left; Is maintained as it is, and if the current run length is even, it is checked whether the value of the first pixel aj of the next color pixel is 0, and if it is 0, the process is maintained to remain as it is. And a signature data synthesizing apparatus for shifting one pixel to the right. 제 3 항에 있어서, 상기 현재 런랭스가 짝수일 때, 다음 런랭스의 길이가 1인 경우에는 예외 조건으로 인정하여 상기 현재 런랭스를 그대로 유지하고 다음 런랭스에 대한 처리를 수행하도록 동작되는 것을 특징으로 하는 서명데이타 합성장치.4. The method according to claim 3, wherein when the current run length is an even number, when the length of the next run length is 1, it is recognized as an exception condition and is operated to maintain the current run length as it is and to perform a process for the next run length. Characterized by the signature data synthesizing apparatus. 소정의 서명데이타가 합성된 소정의 문서정보가 수신되면, 수신된 문서에 포함되어 있는 상기 소정의 서명데이타의 진위여부를 판정하여 수신처리하는 디지탈 문서 수신시스템에 있어서,In the digital document receiving system for determining and authenticating the authenticity of the predetermined signature data included in the received document, when predetermined document information obtained by combining predetermined signature data is received, 상기 수신된 문서에 대한 복호화처리하는 복호화처리부;A decryption processing unit which decrypts the received document; 상기 복호화처리부로부터 전송되는 문서정보중에서 특정 위치에 합성되어 전송되는 상기 소정의 서명데이타를 상기 문서 정보로부터 분리하는 서명데이타 분리부;A signature data separation unit for separating the predetermined signature data synthesized and transmitted to a specific position among the document information transmitted from the decryption processing unit from the document information; 상기 서명데이타 분리부로부터 전송되는 상기 소정의 서명데이타를 역암호화처리하는 역암호화처리부;A reverse encryption processing unit for reverse encrypting the predetermined signature data transmitted from the signature data separation unit; 상기 복호화처리부로부터 전송되는 부가정보를 분석하여 상기 수신된 문서가 상기 소정의 서명데이타가 합성된 경우로 판정되면 상기 서명데이타 분리부에서 이루어지는 상기 서명데이타에 대한 분리작업을 제어하고, 상기 역암호화처리부로부터 전송되는 소정의 서명데이타가 정당성을 갖는 경우에는 상기 수신된 문서에 대한 수신처리를 허용하는 제어부를 포함하는 것을 특징으로 하는 서명데이타 추출기능을 구비한 디지탈 문서 수신시스템.If the received document is determined to be the case where the predetermined signature data is synthesized by analyzing the additional information transmitted from the decryption processing unit, the separation operation for the signature data performed by the signature data separation unit is controlled, and the de-encryption processing unit is performed. And a control unit to allow reception processing of the received document when the predetermined signature data transmitted from the file has a validity.
KR1019970053205A 1997-10-17 1997-10-17 Apparatus for trasmitting and receiving digital document including a sign data KR100281320B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970053205A KR100281320B1 (en) 1997-10-17 1997-10-17 Apparatus for trasmitting and receiving digital document including a sign data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970053205A KR100281320B1 (en) 1997-10-17 1997-10-17 Apparatus for trasmitting and receiving digital document including a sign data

Publications (2)

Publication Number Publication Date
KR19990032222A KR19990032222A (en) 1999-05-15
KR100281320B1 true KR100281320B1 (en) 2001-02-01

Family

ID=66042292

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970053205A KR100281320B1 (en) 1997-10-17 1997-10-17 Apparatus for trasmitting and receiving digital document including a sign data

Country Status (1)

Country Link
KR (1) KR100281320B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020015544A (en) * 2000-08-22 2002-02-28 김중찬 An electronic contract system and a method thereof on the network
KR100425589B1 (en) * 2002-05-20 2004-04-01 학교법인 포항공과대학교 Signcryption method using KCDSA(Korean Certificate-based Digital Signature Algorithm)

Also Published As

Publication number Publication date
KR19990032222A (en) 1999-05-15

Similar Documents

Publication Publication Date Title
US5907619A (en) Secure compressed imaging
US5781635A (en) Method and apparatus for improved digital message transaction model
KR101139580B1 (en) Transmitting apparatus, receiving apparatus, and data transmitting system
CA2373787C (en) Self authentication ciphertext chaining
JP2001156770A (en) Automatic re-synchronization for encrypted synchronized information
US20120027198A1 (en) System and method for cryptographic communications using permutation
JP4703805B2 (en) ENCRYPTION DEVICE, ENCRYPTION METHOD, DECRYPTION DEVICE, DECRYPTION METHOD, AND COMMUNICATION SYSTEM
KR100281320B1 (en) Apparatus for trasmitting and receiving digital document including a sign data
KR101472620B1 (en) Method and apparatus for secured facsimile transmission
JPH07162451A (en) Electronic circulation system
JPH06339036A (en) Ciphering device and method for facsimile equipment
JPH10303879A (en) Enciphering method
JP4570381B2 (en) Electronic data transmission system and electronic data transmission method
JPH11194709A (en) Method of electronic authentication and system thereof
JPH10303883A (en) Enciphering method
Kaur et al. A Survey on Existing Image Encryption Techniques
Tripathi et al. Image Based Stenographic & Cryptographic Process of Hiding Data
CN113949511A (en) Information encryption method
CN114143022A (en) Data encryption method, data transmission method, data decryption method and related devices
KHAN et al. Encryption And Embedding in all Multimedia Files
Oberoi et al. A Survey on Cryptography, Encryption and Compression Techniques.
JP2005341395A (en) Image data transmitting apparatus, receiving apparatus, and image data transmitting/receiving method
JPH10301490A (en) Method of encipherment
CN117176875A (en) Information hiding information transmission method based on lattice cipher ciphertext domain
JPH10303884A (en) Enciphering method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
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: 20121101

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20131101

Year of fee payment: 14

LAPS Lapse due to unpaid annual fee