KR20160057038A - Apparatus and method for encryption and decryption of qr code - Google Patents

Apparatus and method for encryption and decryption of qr code Download PDF

Info

Publication number
KR20160057038A
KR20160057038A KR1020140157399A KR20140157399A KR20160057038A KR 20160057038 A KR20160057038 A KR 20160057038A KR 1020140157399 A KR1020140157399 A KR 1020140157399A KR 20140157399 A KR20140157399 A KR 20140157399A KR 20160057038 A KR20160057038 A KR 20160057038A
Authority
KR
South Korea
Prior art keywords
key
code
blocks
flip
shuffle
Prior art date
Application number
KR1020140157399A
Other languages
Korean (ko)
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 KR1020140157399A priority Critical patent/KR20160057038A/en
Publication of KR20160057038A publication Critical patent/KR20160057038A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/088Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms

Landscapes

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

Abstract

Disclosed are an apparatus and a method for encrypting and decrypting a QR code. According to an embodiment of the present invention, the apparatus comprises: a key generation unit generating an encryption key of a QR code; and an encryption unit encrypting the QR code by replacing a position of some blocks among a plurality of blocks, which constitute the QR code according to the encryption key, or chancing color of some blocks. According to the present invention, security is improved when information is delivered through a QR code.

Description

큐알 코드의 암호화 및 복호화를 위한 장치 및 방법{APPARATUS AND METHOD FOR ENCRYPTION AND DECRYPTION OF QR CODE}[0001] APPARATUS AND METHOD FOR ENCRYPTION AND DECRYPTION OF QR CODE [0002]

본 발명의 실시예들은 QR 코드의 암호화 및 복호화 기술과 관련된다.
Embodiments of the present invention relate to encryption and decryption techniques for QR codes.

QR 코드는 흑백 격자 무늬 패턴으로 정보를 나타내는 매트릭스 형식의 이차원 바코드이다. QR 코드는 단방향으로 숫자 또는 문자 정보를 저장하는 일반 바코드보다 큰 사이즈의 데이터를 저장할 수 있다는 장점으로 인해 여러 분야에서 다양하게 활용되고 있다. 일반적으로 QR 코드는 스마트폰 등에 구비된 카메라 또는 별도의 리더기가 있는 장치를 통한 이미지 캡쳐링을 통해 저장된 데이터를 읽을 수 있다. 즉, 표준 QR 코드를 읽을 수 있는 수단을 가진 사용자라면 누구나 QR 코드 내의 데이터를 열람할 수 있다.The QR code is a two-dimensional bar code in the form of a matrix representing information in a black and white plaid pattern. QR codes are widely used in various fields due to the advantage of being able to store data of a size larger than ordinary bar codes storing numeric or character information in one direction. Generally, the QR code can read stored data through image capturing through a camera provided in a smart phone or the like or a device having a separate reader. That is, any user having a means of reading a standard QR code can view the data in the QR code.

그러나 종래의 QR 코드는 기록된 데이터를 암호화 또는 복호화하기 위한 방법이 제공되지 아니하였는 바, 보안에 민감한 데이터를 저장하기에는 한계가 있었다. 예를 들어 우편물에 QR 코드를 이용하여 수취인의 정보를 기록할 경우 해당 정보는 우편물의 배달 담당자 이외에 누구라도 QR 코드 리더기 등을 통해 스캔할 수 있는 바, 자칫 수취인의 정보가 유출될 가능성이 존재하게 된다.
However, since the conventional QR code does not provide a method for encrypting or decrypting the recorded data, there is a limit to storing security-sensitive data. For example, when a recipient's information is recorded using a QR code in a mail, the information can be scanned by anyone other than the person in charge of delivering the mail through a QR code reader, so that there is a possibility that information of the recipient is leaked do.

대한민국 공개특허공보 제10-2012-0049681호 (2012.05.17.)Korean Published Patent Application No. 10-2012-0049681 (May 17, 2012)

개시되는 실시예들은 QR 코드에 저장된 정보를 암호화 및 복호화하기 위한 수단을 제공하기 위한 것이다.
The disclosed embodiments are intended to provide means for encrypting and decrypting the information stored in the QR code.

예시적인 실시예에 따르면, 큐알 코드의 암호화 키를 생성하는 키 생성부; 및 상기 암호화 키에 따라 상기 큐알 코드를 구성하는 복수 개의 블록 중 일부 블록의 위치를 교환하거나, 또는 일부 블록의 색상을 변경함으로써 상기 큐알 코드를 암호화하는 암호화부를 포함하는 큐알 코드의 암호화 장치가 제공된다.According to an exemplary embodiment, a key generation unit for generating an encryption key of a radio code; And an encryption unit for encrypting the quail code by exchanging positions of some blocks among a plurality of blocks constituting the quail code according to the encryption key or by changing the color of some blocks .

상기 암호화 키는 하나 이상의 셔플 키 또는 플립 키를 포함하며, 상기 셔플 키는 상기 복수 개의 블록 중 서로 위치를 교환할 두 개의 블록의 위치 정보를 포함하고, 상기 플립 키는 상기 복수 개의 블록 중 색상을 변경할 블록의 위치 정보를 포함할 수 있다.Wherein the encryption key includes at least one shuffle key or a flip key, the shuffle key includes position information of two blocks to exchange positions among the plurality of blocks, and the flip key selects a color among the plurality of blocks The location information of the block to be changed may be included.

상기 키 생성부는, 상기 암호화 키의 길이를 설정하고, 설정된 상기 암호화 키의 길이에 대응하는 개수의 상기 셔플 키 또는 상기 플립 키를 생성할 수 있다.The key generation unit may set the length of the encryption key and generate the number of the shuffle key or the flip key corresponding to the set length of the encryption key.

상기 암호화부는, 상기 암호화 키에 포함된 상기 셔플 키 또는 상기 플립 키를 순차적으로 상기 큐알 코드에 적용하여 상기 큐알 코드의 암호화를 수행할 수 있다.The encryption unit may encrypt the jail code by sequentially applying the shuffle key or the flip key included in the encryption key to the jail code.

다른 예시적인 실시예에 따르면, 암호화된 큐알 코드의 복호화 키를 수신하는 키 수신부; 및 상기 복호화 키에 따라 상기 암호화된 큐알 코드를 구성하는 복수 개의 블록 중 일부 블록의 위치를 교환하거나, 또는 일부 블록의 색상을 변경함으로써 상기 암호화된 큐알 코드를 복호화하는 복호화부를 포함하는 큐알 코드의 복호화 장치가 제공된다.According to another exemplary embodiment, there is provided a mobile communication terminal including: a key receiving unit for receiving a decryption key of an encrypted quay code; And a decryption unit for decrypting the encrypted squall code by exchanging positions of some of a plurality of blocks constituting the encrypted squall code according to the decryption key or by changing a color of a block, Device is provided.

상기 복호화 키는 하나 이상의 셔플 키 또는 플립 키를 포함하며, 상기 셔플 키는 상기 복수 개의 블록 중 서로 위치를 교환할 두 개의 블록의 위치 정보를 포함하고, 상기 플립 키는 상기 복수 개의 블록 중 색상을 변경할 블록의 위치 정보를 포함할 수 있다.Wherein the decryption key includes at least one shuffle key or a flip key, the shuffle key includes position information of two blocks to exchange positions among the plurality of blocks, and the flip key selects a color among the plurality of blocks The location information of the block to be changed may be included.

상기 복호화부는, 상기 복호화 키에 포함된 상기 셔플 키 또는 상기 플립 키를 역순으로 상기 암호화된 큐알 코드에 적용함으로써 상기 암호화된 큐알 코드를 복호화할 수 있다.The decryption unit may decrypt the encrypted squall code by applying the shuffle key or the flip key included in the decryption key to the encrypted squall code in the reverse order.

다른 예시적인 실시예에 따르면, 큐알 코드의 암호화 키를 생성하는 단계; 및 상기 암호화 키에 따라 상기 큐알 코드를 구성하는 복수 개의 블록 중 일부 블록의 위치를 교환하거나, 또는 일부 블록의 색상을 변경함으로써 상기 큐알 코드를 암호화하는 단계를 포함하는 큐알 코드의 암호화 방법이 제공된다.According to another exemplary embodiment, there is provided a method comprising: generating an encryption key of a jail code; And encrypting the quail code by exchanging the positions of some of the blocks constituting the quail code according to the encryption key or by changing the color of some block .

상기 암호화 키는 하나 이상의 셔플 키 또는 플립 키를 포함하며, 상기 셔플 키는 상기 복수 개의 블록 중 서로 위치를 교환할 두 개의 블록의 위치 정보를 포함하고, 상기 플립 키는 상기 복수 개의 블록 중 색상을 변경할 블록의 위치 정보를 포함할 수 있다.Wherein the encryption key includes at least one shuffle key or a flip key, the shuffle key includes position information of two blocks to exchange positions among the plurality of blocks, and the flip key selects a color among the plurality of blocks The location information of the block to be changed may be included.

상기 암호화 키를 생성하는 단계는, 상기 암호화 키의 길이를 설정하는 단계; 및 설정된 상기 암호화 키의 길이에 대응하는 개수의 상기 셔플 키 또는 상기 플립 키를 생성하는 단계를 더 포함할 수 있다.The generating of the encryption key may include: setting a length of the encryption key; And generating the shuffle key or the flip key in a number corresponding to the set length of the encryption key.

상기 암호화하는 단계는, 상기 암호화 키에 포함된 상기 셔플 키 또는 상기 플립 키를 순차적으로 상기 큐알 코드에 적용하여 상기 큐알 코드의 암호화를 수행할 수 있다.The encryption may be performed by sequentially applying the shuffle key or the flip key included in the encryption key to the jail code to encrypt the jail code.

다른 예시적인 실시예에 따르면, 암호화된 큐알 코드의 복호화 키를 수신하는 단계; 및 상기 복호화 키에 따라 상기 암호화된 큐알 코드를 구성하는 복수 개의 블록 중 일부 블록의 위치를 교환하거나, 또는 일부 블록의 색상을 변경함으로써 상기 암호화된 큐알 코드를 복호화하는 단계를 포함하는 큐알 코드의 복호화 방법이 제공된다.According to another exemplary embodiment, there is provided a method comprising: receiving a decryption key of an encrypted squall code; And decrypting the encrypted squall code by exchanging positions of some blocks among a plurality of blocks constituting the encrypted squall code according to the decryption key or changing a color of a block, Method is provided.

상기 복호화 키는 하나 이상의 셔플 키 또는 플립 키를 포함하며, 상기 셔플 키는 상기 복수 개의 블록 중 서로 위치를 교환할 두 개의 블록의 위치 정보를 포함하고, 상기 플립 키는 상기 복수 개의 블록 중 색상을 변경할 블록의 위치 정보를 포함할 수 있다.Wherein the decryption key includes at least one shuffle key or a flip key, the shuffle key includes position information of two blocks to exchange positions among the plurality of blocks, and the flip key selects a color among the plurality of blocks The location information of the block to be changed may be included.

상기 복호화하는 단계는, 상기 복호화 키에 포함된 상기 셔플 키 또는 상기 플립 키를 역순으로 상기 암호화된 큐알 코드에 적용함으로써 상기 암호화된 큐알 코드를 복호화할 수 있다.
The decrypting step may decrypt the encrypted squall code by applying the shuffle key or the flip key included in the decryption key to the encrypted squall code in the reverse order.

본 발명의 실시예들에 따르면, QR 코드에 저장된 정보를 암호화하여 별도의 복호화 키를 소유하지 않은 단말의 경우 QR 코드에 저장된 정보를 열람할 수 없도록 함으로써 QR 코드를 통한 정보 전달에 있어서의 보안성을 향상할 수 있다.
According to the embodiments of the present invention, information stored in a QR code can not be read in the case of a terminal that does not own a separate decryption key by encrypting the information stored in the QR code, Can be improved.

도 1은 본 발명의 일 실시예에 따른 QR 코드의 암호화 및 복호화를 위한 전체 시스템을 설명하기 위한 블록도
도 2은 본 발명의 일 실시예에 따른 QR 코드의 암호화 장치를 설명하기 위한 블록도
도 3은 본 발명의 일 실시예에 따른 QR 코드의 복호화 장치를 설명하기 위한 블록도
도 4는 본 발명의 일 실시예에 따른 암호화 장치에서의 QR 코드 암호화 과정을 설명하기 위한 흐름도
도 5는 본 발명의 일 실시예에 따른 복호화 장치에서의 QR 코드 복호화 과정을 설명하기 위한 흐름도
1 is a block diagram for explaining an overall system for encrypting and decrypting a QR code according to an embodiment of the present invention;
2 is a block diagram for explaining a QR code encrypting apparatus according to an embodiment of the present invention;
3 is a block diagram for explaining an apparatus for decoding a QR code according to an embodiment of the present invention.
4 is a flowchart for explaining a QR code encryption process in an encryption apparatus according to an embodiment of the present invention.
5 is a flowchart illustrating a QR code decoding process in a decoding apparatus according to an embodiment of the present invention.

이하, 도면을 참조하여 본 발명의 구체적인 실시형태를 설명하기로 한다. 이하의 상세한 설명은 본 명세서에서 기술된 방법, 장치 및/또는 시스템에 대한 포괄적인 이해를 돕기 위해 제공된다. 그러나 이는 예시에 불과하며 본 발명은 이에 제한되지 않는다.Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. The following detailed description is provided to provide a comprehensive understanding of the methods, apparatus, and / or systems described herein. However, this is merely an example and the present invention is not limited thereto.

본 발명의 실시예들을 설명함에 있어서, 본 발명과 관련된 공지기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략하기로 한다. 그리고, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. 상세한 설명에서 사용되는 용어는 단지 본 발명의 실시예들을 기술하기 위한 것이며, 결코 제한적이어서는 안 된다. 명확하게 달리 사용되지 않는 한, 단수 형태의 표현은 복수 형태의 의미를 포함한다. 본 설명에서, "포함" 또는 "구비"와 같은 표현은 어떤 특성들, 숫자들, 단계들, 동작들, 요소들, 이들의 일부 또는 조합을 가리키기 위한 것이며, 기술된 것 이외에 하나 또는 그 이상의 다른 특성, 숫자, 단계, 동작, 요소, 이들의 일부 또는 조합의 존재 또는 가능성을 배제하도록 해석되어서는 안 된다.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. The following terms are defined in consideration of the functions of the present invention, and may be changed according to the intention or custom of the user, the operator, and the like. Therefore, the definition should be based on the contents throughout this specification. The terms used in the detailed description are intended only to describe embodiments of the invention and should in no way be limiting. Unless specifically stated otherwise, the singular form of a term includes plural forms of meaning. In this description, the expressions "comprising" or "comprising" are intended to indicate certain features, numbers, steps, operations, elements, parts or combinations thereof, Should not be construed to preclude the presence or possibility of other features, numbers, steps, operations, elements, portions or combinations thereof.

도 1은 본 발명의 일 실시예에 따른 큐알(QR) 코드의 암호화 및 복호화를 위한 시스템(100)을 설명하기 위한 블록도이다. 도시된 바와 같이, 본 발명의 일 실시예에 따른 QR 코드의 암호화 및 복호화를 위한 시스템(100)은 암호화 장치(102) 및 복호화 장치(104)를 포함한다.1 is a block diagram illustrating a system 100 for encrypting and decrypting a QR code according to an embodiment of the present invention. As shown, a system 100 for encrypting and decrypting a QR code according to an embodiment of the present invention includes a cryptographic apparatus 102 and a decrypting apparatus 104.

암호화 장치(102)는 QR 코드를 암호화하여 암호화된 QR 코드를 생성한다. QR 코드란 흑백 격자 무늬 패턴으로 정보를 나타내는 매트릭스 형식의 이차원 바코드로서, 저장할 수 있는 데이터의 사이즈에 따라 크기가 달라지고 이에 따라 가로와 세로의 길이 또한 달라지게 된다. QR 코드의 크기는 버전에 따라 상이하나, 일반적으로 한 면에 21개에서 177개의 블록을 가진 정사각형 모양을 가진다. 버전 1(version 1), 즉 한 면에 21개의 블록이 있는 QR 코드의 경우, 총 21 * 21 = 441개의 블록을 포함한다. 상기 441개의 블록들은 버전 정보(version information), 포맷 정보(format information), 필수 패턴 블록들(required pattern blocks) 등과 같이 QR 코드의 인식을 위해 반드시 필요한 영역 및 실제 데이터를 담고 있는 데이터 영역으로 구성된다.The encryption apparatus 102 encrypts the QR code to generate an encrypted QR code. The QR code is a two-dimensional bar code in a matrix format that represents information in a monochrome lattice pattern. The size of the bar code varies depending on the size of data that can be stored, and thus the length and the length of the bar code are different. The size of the QR code differs depending on the version, but generally has a square shape with 21 to 177 blocks on one side. For version 1 (QR code with 21 blocks on one side), it contains 21 * 21 = 441 blocks in total. The 441 blocks are composed of a data area that contains actual data and an area that is necessary for recognition of a QR code such as version information, format information, required pattern blocks, and the like .

일 실시예에서, 암호화 장치(102)는 QR 코드의 암호화를 위해 QR 코드를 구성하는 복수 개의 블록 중 일부 블록의 위치를 교환하거나, 또는 일부 블록의 색상을 변경하게 된다. 이때, QR 코드의 각 블록 중 임의의 2개의 블록의 위치를 서로 바꾸는 것을 셔플(shuffle)이라 하고, 임의의 1개 블록의 색깔을 변경하는 것을 플립(flip)이라고 칭하기로 한다. 만약 흰색과 검정색으로 구성된 QR 코드의 경우 플립 연산을 통해 검정색 블록은 흰색으로, 흰색 블록은 검정색으로 각각 변경된다. 암호화 장치(102)는 최소한 1회 이상 QR 코드에 포함된 블록들에 대하여 상기 셔플 또는 플립을 수행함으로써 QR 코드를 암호화한다. 또한, 각 단계별로 어떤 블록에 대한 셔플 또는 플립이 수행되었는지를 기록한 정보가 본 발명에서의 암호화 키가 된다.In one embodiment, the encryption apparatus 102 exchanges the position of some of the blocks constituting the QR code or changes the color of some blocks for encryption of the QR code. Here, changing the positions of any two blocks among the blocks of the QR code is referred to as a shuffle, and changing the color of an arbitrary one block is referred to as a flip. If the QR code consists of white and black, the flip operation changes the black block to white and the white block to black. The encryption device 102 encrypts the QR code by performing the shuffle or flip on the blocks included in the QR code at least once. In addition, the information recording the shuffle or flip for a certain block in each step is the encryption key in the present invention.

일 실시예에서, 암호화 장치(102)는 QR 코드를 구성하는 전체 블록을 대상으로 상기 셔플 또는 플립을 수행할 수도 있고, 데이터 영역만을 대상으로 셔플 또는 플립을 수행할 수도 있다. 다만, 버전 정보, 정렬 정보 등 QR 코드의 인식을 위해 반드시 필요한 영역이 변경되는 경우에는 QR 코드를 인식하는 것이 불가능해질 수도 있는 바, 암호화 장치(102)는 저장된 데이터의 중요성, QR 코드의 인식 가능성 등의 요소를 고려하여 셔플 또는 플립의 대상을 적절하게 설정할 수 있다.In one embodiment, the encryption apparatus 102 may perform the shuffle or flip on all the blocks constituting the QR code, or may perform a shuffle or flip only on the data area. However, when the area necessary for recognizing the QR code such as the version information and the sorting information is changed, it may become impossible to recognize the QR code. Accordingly, the encryption device 102 may not recognize the importance of the stored data, It is possible to appropriately set the object of the shuffle or the flip.

암호화 장치(102)를 통하여 암호화 된 QR 코드는 육안상으로는 일반적인 QR코드와 동일하게 보이지만, 일반적인 QR 코드 스캐너로는 읽을 수 없거나 읽더라도 저장된 정보를 인식할 수 없게 된다.Although the QR code encrypted through the encryption apparatus 102 appears to be the same as a general QR code in the naked eye, it can not be read or read by a general QR code scanner, but the stored information can not be recognized.

다음으로, 복호화 장치(104)는 암호화 장치(102)를 통해 암호화된 QR 코드를 제공받고, 복호화 키를 이용하여 상기 암호화된 QR 코드를 복호화한다. 일 실시예에서, 복호화 장치(104)는 자체적으로 카메라 모듈, QR 코드 스캐너 등의 QR 코드를 인식하기 위한 수단을 구비할 수도 있으며, 실시예에 따라 외부의 QR 코드 인식 수단과 유선, 또는 무선 통신망을 통하여 연결되어 암호화된 QR 코드를 제공받을 수도 있다.Next, the decryption apparatus 104 receives the encrypted QR code through the encryption apparatus 102, and decrypts the encrypted QR code using the decryption key. In one embodiment, the decoding device 104 may include means for recognizing a QR code such as a camera module, a QR code scanner, or the like, and may be provided with external QR code recognition means and a wired or wireless communication network And may be provided with an encrypted QR code.

복호화 장치(104)에서의 QR 코드의 복호화를 위해서는 별도의 복호화 키가 필요하다. 본 발명의 실시예에서, 복호화 키는 그 특성 상 암호화 키와 동일하다. 즉, 이하의 설명에서는 맥락에 따라 암호화 키 및 복호화 키가 혼용되어 기술되었으나 양자는 동일한 형태의 키를 의미한다. 복호화 장치(104)는 암호화 장치(102)로부터 QR 코드의 암호화를 위해 생성된 암호화 키를 제공받을 수 있다. 상기 암호화 키는 암호화 장치(102)로부터 복호화 장치(104)로 직접 전달될 수도 있으며, 별도의 서버(미도시) 등을 통해 전달될 수도 있다. 복호화 장치(104)는 상기 복호화 키를 수신하고, 복호화 키에 저장된 셔플 또는 플립 연산을 암호화의 역순으로 수행하여 상기 암호화된 QR 코드를 복호화할 수 있다.A separate decryption key is required for decryption of the QR code in the decryption apparatus 104. [ In an embodiment of the present invention, the decryption key is identical in nature to the encryption key. That is, in the following description, an encryption key and a decryption key are described in combination according to the context, but they both mean the same type of key. The decryption apparatus 104 can be provided with the encryption key generated for encryption of the QR code from the encryption apparatus 102. [ The encryption key may be directly transferred from the encryption apparatus 102 to the decryption apparatus 104 or may be transmitted through a separate server (not shown) or the like. The decryption apparatus 104 may receive the decryption key and decrypt the encrypted QR code by performing a shuffle or flip operation stored in the decryption key in the reverse order of encryption.

도 2는 본 발명의 일 실시예에 따른 QR 코드의 암호화 장치(102)를 설명하기 위한 블록도이다. 도시된 바와 같이, 본 발명의 일 실시예에 따른 암호화 장치(102)는 키 생성부(202) 및 암호화부(204)를 포함한다.2 is a block diagram for explaining a QR code encrypting apparatus 102 according to an embodiment of the present invention. As shown in the figure, the encryption apparatus 102 according to an embodiment of the present invention includes a key generation unit 202 and an encryption unit 204.

키 생성부(202)는 QR 코드의 암호화를 위한 암호화 키를 생성한다.The key generation unit 202 generates an encryption key for encryption of the QR code.

일 실시예에서, 암호화 키는 하나 이상의 셔플 키 또는 플립 키를 포함한다. 이때 셔플 키는 QR 코드를 구성하는 복수 개의 블록 중 서로 위치를 교환할 두 개의 블록의 위치 정보를 포함하며, 플립 키는 상기 복수 개의 블록 중 색상을 변경할 블록의 위치 정보를 포함한다. 예를 들어, 3개의 셔플 또는 플립 단계를 가지는 암호화 키를 예시하면 다음과 같다. 이때 키에 포함된 숫자는 QR 코드를 구성하는 각 블록에 대하여 순차적으로 일련번호를 부여할 경우 각 블록의 식별 번호이다.
In one embodiment, the encryption key includes one or more shuffle keys or flip keys. In this case, the shuffle key includes position information of two blocks to be exchanged with each other among a plurality of blocks constituting the QR code, and the flip key includes position information of a block to change color among the plurality of blocks. For example, an encryption key having three shuffle or flip steps may be exemplified as follows. The number included in the key is the identification number of each block when sequential numbers are sequentially assigned to each block constituting the QR code.

{(1, 10), (5, 20), (15)}
{(1, 10), (5, 20), (15)}

상기 암호화 키는 먼저 QR 코드의 1번 블록 및 10번 블록의 위치를 교환하고(셔플), 다음으로 5번 블록 및 20번 블록의 위치를 교환하며(셔플), 마지막으로 15번 블록의 색깔을 변경(플립)하기 위한 것이다. 본 발명의 실시예에서 암호화 키에 기록된 셔플 또는 플립의 회수는 해당 암호화 키의 길이가 된다. 즉, 상기 예의 경우 암호화 키의 길이는 3이다.The encryption key exchanges (shuffles) the positions of blocks 1 and 10 of the QR code first, then exchanges (shuffles) the positions of block 5 and block 20, and finally changes the color of block 15 To change (flip). In the embodiment of the present invention, the number of shuffles or flips recorded in the encryption key is the length of the encryption key. That is, the length of the encryption key is 3 in the above example.

일 실시예에서, 키 생성부(202)는 상기 암호화 키의 길이를 설정하고, 설정된 상기 암호화 키의 길이에 대응하는 개수의 상기 셔플 키 또는 상기 플립 키를 생성함으로써 암호화 키를 생성하게 된다. 이때 각 단계별로 셔플 또는 플립 중 어떤 연산을 수행할 지의 여부는 랜덤으로 결정될 수 있다. 또한, 각 단계에서 어떤 블록을 셔플 또는 플립할지의 여부 또한 랜덤으로 결정될 수 있다.In one embodiment, the key generation unit 202 generates the encryption key by setting the length of the encryption key and generating the number of the shuffle key or the flip key corresponding to the length of the encryption key. At this time, whether to perform a shuffle or a flip in each step can be determined at random. Whether or not to block or shuffle a block in each step can also be determined at random.

암호화부(204)는 상기 암호화 키에 따라 상기 QR 코드를 구성하는 복수 개의 블록 중 일부 블록의 위치를 교환하거나, 또는 일부 블록의 색상을 변경함으로써 상기 QR 코드를 암호화한다. 구체적으로, 암호화부(204)는 암호화 키에 포함된 상기 셔플 키 또는 상기 플립 키를 순차적으로 QR 코드에 적용하여 상기 QR 코드의 암호화를 수행하게 된다.The encryption unit 204 encrypts the QR code by exchanging the positions of some of the blocks constituting the QR code according to the encryption key, or by changing the color of some of the blocks. Specifically, the encryption unit 204 encrypts the QR code sequentially by applying the shuffle key or the flip key included in the encryption key to the QR code.

도 3은 본 발명의 일 실시예에 따른 QR 코드의 복호화 장치(104)를 설명하기 위한 블록도이다. 도시된 바와 같이, 본 발명의 일 실시예에 따른 복호화 장치(104)는 키 수신부(302) 및 복호화부(304)를 포함한다.3 is a block diagram for explaining a decoding apparatus 104 for a QR code according to an embodiment of the present invention. As shown in the figure, the decoding apparatus 104 according to an embodiment of the present invention includes a key receiving unit 302 and a decoding unit 304.

키 수신부(302)는 암호화된 QR 코드의 복호화 키를 수신한다. 전술한 바와 같이, 본 발명의 일 실시예에서 복호화 키는 암호화 키와 동일하다. 키 수신부(302)는 전술한 암호화 장치(102)로부터 직접 상기 복호화 키를 수신할 수도 있고, 별도의 키 관리 서버 등으로부터 상기 복호화 키를 수신할 수도 있다.The key receiving unit 302 receives the decryption key of the encrypted QR code. As described above, in one embodiment of the present invention, the decryption key is the same as the encryption key. The key receiving unit 302 may receive the decryption key directly from the encryption apparatus 102 or may receive the decryption key from a separate key management server or the like.

복호화부(304)는 상기 복호화 키에 따라 상기 암호화된 QR 코드를 구성하는 복수 개의 블록 중 일부 블록의 위치를 교환하거나, 또는 일부 블록의 색상을 변경함으로써 상기 암호화된 QR 코드를 복호화한다. 상기 복호화 키에는 QR 코드의 암호화 과정에서 수행된 셔플 또는 플립 연산이 순차적으로 기록되어 있으므로, 복호화부(304)는 상기 복호화 키에 포함된 상기 셔플 또는 플립 연산을 역순으로 상기 암호화된 QR 코드에 적용함으로써 상기 암호화된 QR 코드를 복호화할 수 있다.The decryption unit 304 decrypts the encrypted QR code by exchanging the positions of some blocks among the plurality of blocks constituting the encrypted QR code according to the decryption key or by changing the color of some blocks. Since the shuffle or flip operation performed in the encryption process of the QR code is sequentially recorded in the decryption key, the decryption unit 304 applies the shuffle or flip operation included in the decryption key to the encrypted QR code in the reverse order Thereby decrypting the encrypted QR code.

도 4는 본 발명의 일 실시예에 따른 암호화 장치(102)에서의 QR 코드 암호화 과정(400)을 설명하기 위한 흐름도이다.4 is a flowchart illustrating a QR code encryption process 400 in the encryption apparatus 102 according to an embodiment of the present invention.

단계 402에서, 키 생성부(202)는 생성될 암호화 키의 길이(n)를 설정한다. 상기 암호화 키의 길이에 따라 상기 암호화 키가 몇 단계의 셔플 또는 플립 연산을 포함할 지의 여부가 결정된다.In step 402, the key generation unit 202 sets the length n of the encryption key to be generated. Depending on the length of the encryption key, it is determined whether the encryption key includes a number of shuffle or flip operations.

단계 404에서, 키 생성부(202)는 카운터(k)를 1로 설정한다. 상기 카운터는 암호화 키에 포함되는 총 암호화 연산 중 현재 몇 번째 단계의 연산을 설정하는지를 나타내기 위한 것이다.In step 404, the key generation unit 202 sets the counter k to 1. The counter is for indicating the current stage of the total encryption operation included in the encryption key.

단계 406에서, 키 생성부(202)는 현재 단계에서 셔플 연산을 수행할지 또는 플립 연산을 수행할지의 여부를 결정한다. 일 실시예에서, 키 생성부(202)는 별도의 랜덤 함수 등을 이용하여 본 단계에서 셔플을 수행할지 또는 플립을 수행할지의 여부를 결정할 수 있다.In step 406, the key generation unit 202 determines whether to perform the shuffle operation or the flip operation in the current step. In one embodiment, the key generator 202 may determine whether to perform shuffling or flip in this step using a separate random function or the like.

만약 상기 406 단계의 수행 결과 셔플 연산을 수행할 것으로 결정된 경우, 단계 408에서 키 생성부(202)는 서로 위치를 교환할 두 개의 블록을 선택하고 이로부터 셔플 키를 생성한다. 이때 키 생성부(202)는 별도의 랜덤 함수 등을 이용하여 상기 두 개의 블록을 선택할 수 있다.If it is determined in step 406 that the shuffle operation is to be performed, in step 408, the key generation unit 202 selects two blocks to exchange positions with each other and generates a shuffle key therefrom. At this time, the key generation unit 202 may select the two blocks using a separate random function or the like.

만약 상기 406 단계의 수행 결과 플립 연산을 수행할 것으로 결정된 경우, 단계 410에서 키 생성부(202)는 색상을 변경할 블록을 선택하고 이로부터 플립 키를 생성한다. 이때 키 생성부(202)는 별도의 랜덤 함수 등을 이용하여 블록을 선택할 수 있다.If it is determined in step 406 that the flip operation is to be performed, in step 410, the key generation unit 202 selects a block to be changed in color and generates a flip key therefrom. At this time, the key generation unit 202 can select a block using a separate random function or the like.

단계 412에서, 키 생성부(202)는 402 단계에서 설정된 길이와 현재 단계를 비교하여 마지막 단계에 도달했는지의 여부를 판단한다.In step 412, the key generation unit 202 compares the set length with the current step in step 402 and determines whether or not the last step has been reached.

상기 412 단계의 판단 결과 마지막 단계에 도달하지 않은 경우, 단계 414에서 키 생성부(202)는 k+1 단계로 이동하여 상기 406 단계 이하를 수행한다.If it is determined in step 412 that the last step is not reached, the key generation unit 202 moves to step k + 1 in step 414 and performs step 406 and subsequent steps.

이와 달리 상기 412 단계의 판단 결과 마지막 단계에 도달한 경우, 단계 416에서 키 생성부(202)는 현재까지 생성한 셔플 키 또는 플립 키를 순차적으로 저장하여 암호화 키를 생성한다. On the other hand, if it is determined in step 412 that the last step is reached, in step 416, the key generator 202 sequentially generates the shuffle key or the flip key to generate the encryption key.

도 5는 본 발명의 일 실시예에 따른 복호화 장치(104)에서의 QR 코드 복호화 과정(500)을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a QR code decoding process 500 in the decoding apparatus 104 according to an embodiment of the present invention.

단계 502에서, 키 수신부(302)는 암호화된 QR 코드의 복호화 키를 수신한다.In step 502, the key receiving unit 302 receives the decryption key of the encrypted QR code.

단계 504에서, 복호화부(304)는 카운터(k)를 복호화 키의 길이인 n으로 설정한다. 상기 카운터는 복호화 키에 포함되는 총 암호화 연산 중 현재 몇 번째 단계의 연산을 수행하는지를 나타내기 위한 것이다. 즉, n개의 연산 중 마지막 n번째부터 역순으로 연산을 시작하여 첫 번째 연산까지 완료되면 복호화 과정이 완료된다.In step 504, the decryption unit 304 sets the counter k to n, which is the length of the decryption key. The counter is for indicating the current stage of the total encryption operation included in the decryption key. That is, the operation is started in the reverse order from the nth operation among the n operations, and when the first operation is completed, the decoding process is completed.

단계 506에서, 복호화부(304)는 복호화 키에 저장된 k번째의 연산이 셔플 연산인지, 또는 플립 연산인지의 여부를 판단한다.In step 506, the decryption unit 304 determines whether the kth operation stored in the decryption key is a shuffle operation or a flip operation.

상기 506 단계의 판단 결과 k번째의 연산이 셔플 연산인 경우, 단계 508에서 복호화부(304)는 해당 셔플 키를 이용하여 QR 코드의 셔플된 블록을 복원한다.If it is determined in step 506 that the kth operation is a shuffle operation, in step 508, the decoding unit 304 restores the shuffled block of the QR code using the corresponding shuffle key.

상기 506 단계의 판단 결과 k번째의 연산이 플립 연산인 경우, 단계 510에서 복호화부(304)는 해당 플립 키를 이용하여 QR 코드의 플립된 블록을 복원한다.If it is determined in step 506 that the kth operation is a flip operation, the decoding unit 304 reconstructs the flipped block of the QR code using the flip key in step 510.

단계 512에서, 복호화부(304)는 복호화 키의 처음 부분에 도달했는지의 여부를 판단한다(k=1).In step 512, the decryption unit 304 determines whether or not the first part of the decryption key has been reached (k = 1).

상기 512 단계의 판단 결과 처음 부분에 도달하지 않은 경우, 단계 514에서 복호화부(304)는 k-1 단계로 이동하여 상기 506 단계 이하를 수행한다.As a result of the determination in step 512, if the first part is not reached, the decoding unit 304 moves to step k-1 in step 514 and performs step 506 and subsequent steps.

이와 달리 상기 512 단계의 판단 결과 처음 부분에 도달한 경우, 단계 516에서 키 생성부(202)는 현재까지 수행한 셔플 또는 플립의 복원 연산의 결과로 복호화된 QR 코드를 생성한다.On the other hand, if it is determined in step 512 that the first part is reached, in step 516, the key generation unit 202 generates a decoded QR code as a result of the shuffle or flip restoration operation performed so far.

본 발명의 실시예들에 따를 경우 QR 코드가 공개되더라도 복호화 키를 가지고 있지 않은 사용자는 QR 코드에 저장된 데이터를 인식할 수 없게 되는 바, 데이터의 보안성을 향상할 수 있다. 예를 들어, 우편물에 암호화된 QR 코드가 인쇄되는 경우 별도의 복호화 키를 가진 우편 담당자만이 해당 QR 코드를 복호화할 수 있고, 일반인은 이를 스캔하더라도 수취인의 정보를 획득할 수 없게 되므로, 본 발명의 실시예들에 따를 경우 QR 코드를 통한 편리성 및 데이터의 보호라는 두 가지 목적을 동시에 달성할 수 있게 된다.
According to the embodiments of the present invention, even if the QR code is disclosed, a user who does not have a decryption key can not recognize the data stored in the QR code, thereby improving the security of the data. For example, when an encrypted QR code is printed on a mail, only a mail person having a separate decryption key can decode the QR code. Even if a general person scans the QR code, the recipient can not obtain the information of the recipient. According to the embodiments of the present invention, it is possible to simultaneously achieve both the convenience through the QR code and the protection of data.

한편, 본 발명의 실시예는 본 명세서에서 기술한 방법들을 컴퓨터상에서 수행하기 위한 프로그램을 포함하는 컴퓨터 판독 가능 기록매체를 포함할 수 있다. 상기 컴퓨터 판독 가능 기록매체는 프로그램 명령, 로컬 데이터 파일, 로컬 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나, 또는 컴퓨터 소프트웨어 분야에서 통상적으로 사용 가능한 것일 수 있다. 컴퓨터 판독 가능 기록매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광 기록 매체, 플로피 디스크와 같은 자기-광 매체, 및 롬, 램, 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다.On the other hand, an embodiment of the present invention may include a computer-readable recording medium including a program for performing the methods described herein on a computer. The computer-readable recording medium may include a program command, a local data file, a local data structure, or the like, alone or in combination. The media may be those specially designed and constructed for the present invention, or may be those that are commonly used in the field of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floppy disks, and magnetic media such as ROMs, And hardware devices specifically configured to store and execute program instructions. Examples of program instructions may include machine language code such as those generated by a compiler, as well as high-level language code that may be executed by a computer using an interpreter or the like.

이상에서 본 발명의 대표적인 실시예들을 상세하게 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 상술한 실시예에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양한 변형이 가능함을 이해할 것이다. 그러므로 본 발명의 권리범위는 설명된 실시예에 국한되어 정해져서는 안 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, . Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be determined by equivalents to the appended claims, as well as the appended claims.

100: QR 코드의 암호화 및 복호화를 위한 시스템
102: 암호화 장치
104: 복호화 장치
202: 키 생성부
204: 암호화부
302: 키 수신부
304: 복호화부
100: System for encrypting and decrypting QR codes
102: Encryption device
104: Decryption device
202:
204:
302:
304:

Claims (14)

큐알 코드의 암호화 키를 생성하는 키 생성부; 및
상기 암호화 키에 따라 상기 큐알 코드를 구성하는 복수 개의 블록 중 일부 블록의 위치를 교환하거나, 또는 일부 블록의 색상을 변경함으로써 상기 큐알 코드를 암호화하는 암호화부를 포함하는 큐알 코드의 암호화 장치.
A key generation unit for generating an encryption key of a radio code; And
And an encryption unit for encrypting the quail code by exchanging positions of some blocks among a plurality of blocks constituting the quail code according to the encryption key or by changing the color of some blocks.
청구항 1에 있어서,
상기 암호화 키는 하나 이상의 셔플 키 또는 플립 키를 포함하며,
상기 셔플 키는 상기 복수 개의 블록 중 서로 위치를 교환할 두 개의 블록의 위치 정보를 포함하고,
상기 플립 키는 상기 복수 개의 블록 중 색상을 변경할 블록의 위치 정보를 포함하는, 큐알 코드의 암호화 장치.
The method according to claim 1,
Wherein the encryption key comprises one or more shuffle keys or flip keys,
Wherein the shuffle key includes position information of two blocks to be exchanged with each other among the plurality of blocks,
Wherein the flip key includes position information of a block to change color among the plurality of blocks.
청구항 2에 있어서,
상기 키 생성부는, 상기 암호화 키의 길이를 설정하고,
설정된 상기 암호화 키의 길이에 대응하는 개수의 상기 셔플 키 또는 상기 플립 키를 생성하는, 큐알 코드의 암호화 장치.
The method of claim 2,
Wherein the key generation unit sets the length of the encryption key,
And generates the number of the shuffle keys or the flip keys corresponding to the length of the set encryption key.
청구항 3에 있어서,
상기 암호화부는,
상기 암호화 키에 포함된 상기 셔플 키 또는 상기 플립 키를 순차적으로 상기 큐알 코드에 적용하여 상기 큐알 코드의 암호화를 수행하는, 큐알 코드의 암호화 장치.
The method of claim 3,
The encryption unit,
And encrypting the jail code by sequentially applying the shuffle key or the flip key included in the encryption key to the jail code.
암호화된 큐알 코드의 복호화 키를 수신하는 키 수신부; 및
상기 복호화 키에 따라 상기 암호화된 큐알 코드를 구성하는 복수 개의 블록 중 일부 블록의 위치를 교환하거나, 또는 일부 블록의 색상을 변경함으로써 상기 암호화된 큐알 코드를 복호화하는 복호화부를 포함하는 큐알 코드의 복호화 장치.
A key receiving unit for receiving a decryption key of an encrypted quail code; And
And a decryption unit for decrypting the encrypted squall code by exchanging positions of some blocks among a plurality of blocks constituting the encrypted squall code according to the decryption key or by changing the color of some blocks, .
청구항 5에 있어서,
상기 복호화 키는 하나 이상의 셔플 키 또는 플립 키를 포함하며,
상기 셔플 키는 상기 복수 개의 블록 중 서로 위치를 교환할 두 개의 블록의 위치 정보를 포함하고,
상기 플립 키는 상기 복수 개의 블록 중 색상을 변경할 블록의 위치 정보를 포함하는, 큐알 코드의 복호화 장치.
The method of claim 5,
Wherein the decryption key comprises one or more shuffle keys or flip keys,
Wherein the shuffle key includes position information of two blocks to be exchanged with each other among the plurality of blocks,
Wherein the flip key includes position information of a block to change color among the plurality of blocks.
청구항 6에 있어서,
상기 복호화부는,
상기 복호화 키에 포함된 상기 셔플 키 또는 상기 플립 키를 역순으로 상기 암호화된 큐알 코드에 적용함으로써 상기 암호화된 큐알 코드를 복호화하는, 큐알 코드의 복호화 장치.
The method of claim 6,
Wherein the decoding unit comprises:
And decrypting the encrypted squall code by applying the shuffle key or the flip key included in the decryption key to the encrypted squall code in the reverse order.
큐알 코드의 암호화 키를 생성하는 단계; 및
상기 암호화 키에 따라 상기 큐알 코드를 구성하는 복수 개의 블록 중 일부 블록의 위치를 교환하거나, 또는 일부 블록의 색상을 변경함으로써 상기 큐알 코드를 암호화하는 단계를 포함하는 큐알 코드의 암호화 방법.
Generating an encryption key of the queued code; And
And encrypting the quail code by exchanging positions of some of a plurality of blocks constituting the quail code according to the encryption key or changing a color of a block.
청구항 8에 있어서,
상기 암호화 키는 하나 이상의 셔플 키 또는 플립 키를 포함하며,
상기 셔플 키는 상기 복수 개의 블록 중 서로 위치를 교환할 두 개의 블록의 위치 정보를 포함하고,
상기 플립 키는 상기 복수 개의 블록 중 색상을 변경할 블록의 위치 정보를 포함하는, 큐알 코드의 암호화 방법.
The method of claim 8,
Wherein the encryption key comprises one or more shuffle keys or flip keys,
Wherein the shuffle key includes position information of two blocks to be exchanged with each other among the plurality of blocks,
Wherein the flip key includes position information of a block to be changed in color among the plurality of blocks.
청구항 9에 있어서,
상기 암호화 키를 생성하는 단계는,
상기 암호화 키의 길이를 설정하는 단계; 및
설정된 상기 암호화 키의 길이에 대응하는 개수의 상기 셔플 키 또는 상기 플립 키를 생성하는 단계를 더 포함하는, 큐알 코드의 암호화 방법.
The method of claim 9,
Wherein the step of generating the encryption key comprises:
Setting a length of the encryption key; And
And generating the shuffle key or the flip key in a number corresponding to the length of the set encryption key.
청구항 10에 있어서,
상기 암호화하는 단계는,
상기 암호화 키에 포함된 상기 셔플 키 또는 상기 플립 키를 순차적으로 상기 큐알 코드에 적용하여 상기 큐알 코드의 암호화를 수행하는, 큐알 코드의 암호화 방법.
The method of claim 10,
Wherein the encrypting comprises:
Wherein the encrypting unit encrypts the key code by sequentially applying the shuffle key or the flip key included in the encryption key to the key code.
암호화된 큐알 코드의 복호화 키를 수신하는 단계; 및
상기 복호화 키에 따라 상기 암호화된 큐알 코드를 구성하는 복수 개의 블록 중 일부 블록의 위치를 교환하거나, 또는 일부 블록의 색상을 변경함으로써 상기 암호화된 큐알 코드를 복호화하는 단계를 포함하는 큐알 코드의 복호화 방법.
Receiving a decryption key of an encrypted quail code; And
And decrypting the encrypted squall code by exchanging positions of some blocks among a plurality of blocks constituting the encrypted squall code according to the decryption key or by changing a color of a block of the key. .
청구항 12에 있어서,
상기 복호화 키는 하나 이상의 셔플 키 또는 플립 키를 포함하며,
상기 셔플 키는 상기 복수 개의 블록 중 서로 위치를 교환할 두 개의 블록의 위치 정보를 포함하고,
상기 플립 키는 상기 복수 개의 블록 중 색상을 변경할 블록의 위치 정보를 포함하는, 큐알 코드의 복호화 방법.
The method of claim 12,
Wherein the decryption key comprises one or more shuffle keys or flip keys,
Wherein the shuffle key includes position information of two blocks to be exchanged with each other among the plurality of blocks,
Wherein the flip key includes position information of a block to change color among the plurality of blocks.
청구항 13에 있어서,
상기 복호화하는 단계는,
상기 복호화 키에 포함된 상기 셔플 키 또는 상기 플립 키를 역순으로 상기 암호화된 큐알 코드에 적용함으로써 상기 암호화된 큐알 코드를 복호화하는, 큐알 코드의 복호화 방법.
14. The method of claim 13,
Wherein the step of decrypting comprises:
And decrypting the encrypted jail code by applying the shuffle key or the flip key included in the decryption key to the encrypted jail code in the reverse order.
KR1020140157399A 2014-11-12 2014-11-12 Apparatus and method for encryption and decryption of qr code KR20160057038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140157399A KR20160057038A (en) 2014-11-12 2014-11-12 Apparatus and method for encryption and decryption of qr code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140157399A KR20160057038A (en) 2014-11-12 2014-11-12 Apparatus and method for encryption and decryption of qr code

Publications (1)

Publication Number Publication Date
KR20160057038A true KR20160057038A (en) 2016-05-23

Family

ID=56104072

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140157399A KR20160057038A (en) 2014-11-12 2014-11-12 Apparatus and method for encryption and decryption of qr code

Country Status (1)

Country Link
KR (1) KR20160057038A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609622A (en) * 2017-08-28 2018-01-19 深圳市金天速科技有限公司 Encryption method and system based on multi-code unification
CN107992725A (en) * 2017-12-29 2018-05-04 北京星河星云信息技术有限公司 A kind of code encryption, decryption method and device
CN108073957A (en) * 2017-12-12 2018-05-25 重庆市三三汽车配件有限公司 A kind of production management method of glass processing
WO2021095457A1 (en) * 2019-11-12 2021-05-20 合同会社 Ark Two-dimensional code generation method, two-dimensional code evaluation method, two-dimensional code system, two-dimensional code generation device, two-dimensional code evaluation device, and two-dimensional code
KR20210061757A (en) * 2019-11-20 2021-05-28 한국산업기술대학교산학협력단 A method and apparatus for data security in CAN communication system
CN113168664A (en) * 2018-08-06 2021-07-23 萨瓦尔·佩达维 Global addressing system and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609622A (en) * 2017-08-28 2018-01-19 深圳市金天速科技有限公司 Encryption method and system based on multi-code unification
CN107609622B (en) * 2017-08-28 2021-03-02 深圳市金天速科技有限公司 Encryption method and system based on multi-code unification
CN108073957A (en) * 2017-12-12 2018-05-25 重庆市三三汽车配件有限公司 A kind of production management method of glass processing
CN107992725A (en) * 2017-12-29 2018-05-04 北京星河星云信息技术有限公司 A kind of code encryption, decryption method and device
CN107992725B (en) * 2017-12-29 2020-08-07 北京星河星云信息技术有限公司 Code encryption and decryption method and device
CN113168664A (en) * 2018-08-06 2021-07-23 萨瓦尔·佩达维 Global addressing system and method
WO2021095457A1 (en) * 2019-11-12 2021-05-20 合同会社 Ark Two-dimensional code generation method, two-dimensional code evaluation method, two-dimensional code system, two-dimensional code generation device, two-dimensional code evaluation device, and two-dimensional code
JP2021077204A (en) * 2019-11-12 2021-05-20 合同会社Ark Two-dimensional code generation method, two-dimensional code evaluation method, two-dimensional code system, two-dimensional code generation device, and two-dimensional code evaluation device
KR20210061757A (en) * 2019-11-20 2021-05-28 한국산업기술대학교산학협력단 A method and apparatus for data security in CAN communication system

Similar Documents

Publication Publication Date Title
KR20160057038A (en) Apparatus and method for encryption and decryption of qr code
US10659220B2 (en) Method and system for encrypting and decrypting two-dimensional code mask
CN105450620B (en) A kind of information processing method and device
US10146983B2 (en) Fingerprint decryption method and device
CN106100850B (en) Intelligent and safe chip signing messages transmission method and system based on two dimensional code
US9531539B2 (en) Information processing apparatus, and information processing method
CN110100422B (en) Data writing method and device based on block chain intelligent contract and storage medium
WO2017045594A1 (en) Anti-counterfeit method
Abdullah et al. New approaches to encrypt and decrypt data in image using cryptography and steganography algorithm
EP1846830B1 (en) Access keys
CN101682682A (en) Image encyption device, image decyption device, method, and program
CN101227275A (en) Enciphering method for combining accidental enciphering and exhaust algorithm decipher
CN101010691A (en) Systems and methods for digital content security
WO2013162577A1 (en) Two-dimensional barcodes having a plurality of different regions
CN105976005A (en) Two-dimensional code encrypting method, two-dimensional code generating device and two-dimensional code scanning device
CN105005731A (en) Data encryption and decryption methods and mobile terminal
CN107992923A (en) A kind of QR Quick Response Codes generation and the method read
CN103473824A (en) Attendance checking method based on two-dimensional code label
EP2924953A1 (en) Method and system for encrypted data synchronization for secure data management
EP2910042B1 (en) Secure information transfer via bar codes
CN105139205A (en) Payment verification method, terminal and server
JP6149749B2 (en) Information processing apparatus, information processing system, and program
KR20100031354A (en) Tag security processing method using one time password
EP2674901A1 (en) Active barcode authentication system and authentication method thereof
US10552618B2 (en) Method and apparatus for transmission of visually encoded data

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination