Device and method for processing data such that data is encrypted or decrypted

The data processing device and method enhance encryption security by using pseudorandom number sequences and XOR operations to protect data from unauthorized access, addressing vulnerabilities in existing methods and ensuring quantum-resistant encryption.

WO2024225668A1PCT designated stage expired Publication Date: 2024-10-31SON SEONG GEUN
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/004831
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-25
Filing Date
2024-04-11
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Current data encryption methods, such as AES and others, are vulnerable to unauthorized decryption by third parties due to limitations in random number sequences, allowing for potential real-time decryption with fewer attempts, and are not quantum-resistant, necessitating improved encryption and decryption methods.

Method used

A data processing device and method utilizing pseudorandom number sequences generated from a password for encryption and decryption, with XOR operations to secure data, allowing for parallel processing and increased decryption difficulty by expanding random number sequence sizes, thereby preventing unauthorized access.

Benefits of technology

The proposed solution significantly increases decryption difficulty, ensuring secure encryption and decryption without vulnerabilities, even against quantum-resistant attacks, and allows for quick and secure data processing without the need for additional encryption processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024004831_31102024_PF_FP_ABST
    Figure KR2024004831_31102024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to a device and a method for processing data such that the data is encrypted or decrypted. More particularly, the present invention proposes a data processing device having one processor or two or more interworking processors such that data is encrypted or decrypted. One processor or two or more interworking processors for encrypting data (70) in the data processing device generate a first pseudo random number sequence (31) by using an arbitrary random number sequence (10) and a password (20) as input values; generate a second pseudo random number sequence (41) having a predetermined size by using the password (20) as an input value; generate encrypted data (71) by subjecting the data (70) to XOR operation by using the first pseudo random number sequence (31); generate an encrypted random number sequence (11) by subjecting the arbitrary random number sequence (10) to XOR operation by using the second pseudo random number sequence (41); and output the encrypted data (71) and the encrypted random number sequence (11). One processor or two or more interworking processors for decrypting encrypted data (70) in the data processing device generate a second pseudo random number sequence (41) having a predetermined size by using a password (20) as an input value; generate a decrypted arbitrary random number sequence (10) by subjecting an encrypted random number sequence (11) to XOR operation by using the second pseudo random number sequence (41); generate a first pseudo random number sequence (31) by using the decrypted arbitrary random number sequence (10) and the password (20) as input values; and generate decrypted data (70) by subjecting the encrypted data (71) to XOR operation with the first pseudo random number sequence (31).
Need to check novelty before this filing date? Find Prior Art

Description

Data processing device and method for performing data encryption or decryption

[0001] The present invention relates to a method and device for encrypting or decrypting data, and to a method and device for encrypting or decrypting original data by XORing it with a pseudo-random number sequence generated using RANDOM NUMBERS as a secret key together with a PASSWORD to ensure the uniqueness of encrypted data.

[0002] Encryption methods using RANDOM NUMBERS include AES, the NIST standard cipher, and patent documents 001 and 002.

[0003] (Patent Document 1) Republic of Korea Patent Publication No. 10-0446207 Title of the invention: Data transmission and reception system with encryption function

[0004] (Patent Document 2) Republic of Korea Patent Publication No. 10-0404246 "Method for generating non-periodic encryption key data sequence and system thereof"

[0005] Patent Document 001 or Patent Document 002 presents a method for preventing unauthorized login by a third party by having the server verify the ID each time the client connects to the server, provide the client with a public key generated by a predetermined aperiodic random data generation algorithm, and have the client generate a predetermined random number sequence with the public key and private key and use the same to encrypt a PASSWORD. However, since the public key generated by the predetermined random data generation algorithm, i.e. RANDOM NUMBERS, is made public, it only guarantees the uniqueness of the encrypted data, and in fact does not increase the difficulty of decryption by a third party who does not know the PASSWORD.

[0006] AES, a standard cipher and method, uses an IV (INITIAL VECTOR) formed from a randomly generated sequence of numbers, that is, RANDOM NUMBERS. However, due to the characteristics of BLOCK ciphers, there is a restriction that the IV size must be the same as the BlockSize property divided by 8 (The size of the IV property must be the same as the BlockSize property divided by 8, source: https: / learn.microsoft.com / en-us / dotnet / api / system.security.cryptography.aescryptoserviceprovider.iv?view=net-7.0), and according to what Microsoft revealed in Non-Patent Document 001, “These vulnerabilities allow an attacker to decrypt data encrypted by symmetric block algorithms, such as AES and 3DES, using no more than 4096 attempts per block of data.” In other words, it explains that encrypted data can be decrypted with only 4096 attacks or fewer, so in fact, there is a flaw that allows real-time decryption by a third party who does not know the secret key. This is also expressed as ORACLE KEY in non-patent literature 002 (“Such data can allow attackers to decrypt (and sometimes encrypt) messages through the oracle using the oracle's key, without knowing the encryption key.”)

[0007] (Non-patent Document 1) Timing vulnerabilities with CBC-mode symmetric decryption using padding

[0008] (Non-patent document 2) Padding oracle attack

[0009] If the random number sequence (10) is set to 16 BYTE, even if the number of input cases of PASSWORD (20) is ignored, at least as many pseudo-random number sequences as the number of cases 256^16 and XOR attempts of encrypted data must be made. Assuming that a supercomputer can generate and XOR the first pseudo-random number sequence (31) used in the present invention 6E+17 times per second, it takes {3.4E + 38 (=256^16) divided by {(6E + 17) * (3600 seconds * 24 hours * 365 days)}} = approximately 1.78E + 13 years, and even if the random number sequence (10) is set to 12 BYTE, at least 4187 years are required.

[0010] Additionally, the Electronics and Telecommunications Research Institute (ETRI) was reported to have developed a quantum algorithm that can attack quantum-resistant cryptography, which generates encryption keys based on the linear learning with errors (LWE) problem, by utilizing a 'divide-and-conquer strategy.'

[0011] Therefore, complex encryption structures or mathematical intractability make them ineffective against unauthorized decryption attempts by third parties using computers, necessitating the development of improved data processing devices and methods.

[0012] The purpose of the present invention is to provide an improved data encryption or decryption method and device that can prevent unauthorized decryption by a third party who does not know a password with only a simple operation such as XOR, without having vulnerabilities such as ORACLE PADDING DEFECT that may occur due to a complex algorithm.

[0013] In addition, the present invention aims to provide a data encryption or decryption method and device capable of parallel processing when encrypting or decrypting data.

[0014] In addition, the present invention has a problem in that unauthorized login by a third party is possible by simply intercepting, copying, and reusing LOG-IN data between a server and a client during network transmission using only the existing public key - private key encryption method, so that the OTP method and the like are used, but the purpose of the present invention is to provide a method for encrypting LOG-IN data safely without such auxiliary means.

[0015] In order to achieve the above-described task, according to one aspect of the present invention, a data processing device that performs encryption or decryption of data includes a pseudo-random number sequence generation module (30) that generates first and second pseudo-random number sequences (31, 41) and an XOR operation module (50) that performs an XOR operation to encrypt or decrypt, and when the data processing device performs encryption: the pseudo-random number sequence generation module (30) generates a first pseudo-random number sequence (31) with a random random number sequence (10) and a PASSWORD (20) as input values, and generates a second pseudo-random number sequence (41) of a predetermined size with the PASSWORD (20) as an input value; The XOR operation module (50) outputs encrypted data (71) by performing an XOR operation on data (70) using the first pseudo-random number sequence (31), and outputs an encrypted random number sequence (11) by performing an XOR operation on a random random number sequence (10) using the second pseudo-random number sequence (41). When the data processing device performs decryption: the pseudo-random number sequence generation module (30) generates a second pseudo-random number sequence (41) of a predetermined size using PASSWORD (20) as an input value, and generates a first pseudo-random number sequence (31) using the decrypted random random number sequence (10) and PASSWORD (20) as input values; A data processing device is proposed, characterized in that the XOR operation module (50) outputs a decrypted random number sequence (10) by performing an XOR operation on an encrypted random number sequence (11) using a second pseudo-random number sequence (41), and decrypts encrypted data (71) by performing an XOR operation using a first pseudo-random number sequence (31).

[0016] In one example, the data processing device further includes a SIZE sequence generation module (60) that generates a SIZE sequence (61) composed of one or more integers, and when the data processing device performs encryption: the SIZE sequence generation module (60) generates a SIZE sequence (61) composed of one or more integers as an input value of at least one of a random random sequence (10) or a PASSWORD (20); and the pseudo-random sequence generation module (30) generates at least one first pseudo-random sequence (31) having the same BYTE size as the integers constituting the SIZE sequence (61) according to the SIZE sequence (61) from input values ​​of the random random sequence (10) and the PASSWORD (20); The XOR operation module (50) outputs encrypted data (71) by performing an XOR operation on data (70) using one or more first pseudo-random number sequences (31), and when the data processing device performs decryption: the SIZE sequence generation module (60) generates a SIZE sequence (61) composed of one or more integers as an input value of one or more of the decrypted random random number sequences (10) or PASSWORD (20); the pseudo-random number sequence generation module (30) generates one or more first pseudo-random number sequences (31) having the same BYTE size as the integers constituting the SIZE sequence (61) according to the SIZE sequence (61) from the input values ​​of the decrypted random random number sequence (10) and PASSWORD (20); The XOR operation module (50) can output decrypted data (70) by performing an XOR operation on encrypted data (71) using one or more first pseudo-random number sequences (31).

[0017] In another example, the data processing device further includes a HASH module (80) that generates HASH data (70v), and when the data processing device performs encryption: the HASH module (80) generates HASH data (70v) for all or one or more parts of the data (70) according to a predetermined algorithm; the XOR operation module (50) performs an XOR operation on the HASH data (70v) using a first pseudo-random number sequence (31) to output encrypted HASH data (71v), and when the data processing device performs decryption: the XOR operation module (50) performs an XOR operation on the encrypted HASH data (71v) using a first pseudo-random number sequence (31) to output decrypted HASH data (70v); The HASH module (80) generates HASH data (70v) for all or one or more parts of the decrypted data (70) according to a predetermined algorithm, and when performing decryption, the data processing device may further include a verification module (90) that compares the HASH data (70v) generated by the HASH module (80) with the decrypted HASH data (70v) output from the XOR operation module (50), and if they do not match, decryption is deemed to have failed and decryption of the encrypted data (71) is stopped.

[0018] At this time, when the data processing device performs encryption, the HASH module (80) generates HASH data (70v) using one or more of a random random number sequence (10) or a PASSWORD (20) as input values, and when the data processing device performs decryption, the HASH module (80) can generate HASH data (70v) using one or more of a decrypted random random number sequence (10) or a PASSWORD (20) as input values.

[0019] Also, in one example, the pseudo-random number sequence generation module (30) may include a first pseudo-random number sequence generation module (30a) that generates a first pseudo-random number sequence (31) and a second pseudo-random number sequence generation module (30b) that generates a second pseudo-random number sequence (41).

[0020] According to another example, the pseudo-random number sequence generation module (30) generates one first pseudo-random number sequence (31), and when the size of the data (70) or encrypted data (71) is larger than the first pseudo-random number sequence (31), when the data processing device performs encryption, the XOR operation module (50) divides the data (70) into two or more blocks in the size of the first pseudo-random number sequence (31) and outputs encrypted data (71) by performing parallel operations on each block sequentially or in a random order or simultaneously in two or more blocks, and when the data processing device performs decryption, the XOR operation module (50) divides the encrypted data (71) into two or more blocks in the size of the first pseudo-random number sequence (31) and outputs decrypted data (70) by performing parallel operations on each block sequentially or in a random order or simultaneously in two or more blocks.

[0021] Also, in one example, when a pseudo-random sequence generation module (30) generates a first pseudo-random sequence (31) and a data processing device performs encryption, the XOR operation module (50) operates a part of data (70) with the first pseudo-random sequence (31), and performs an internal operation process of XOR-operating a data block containing a part of the XOR operation result and all or part of the remaining unoperated data (70) with the first pseudo-random sequence (31) again, one or more times repeatedly according to a predetermined algorithm, and operates one or more large blocks, but operates sequentially or in an arbitrary order for two or more large blocks, or operates in parallel at the same time, thereby encrypting the entire data (70) and outputting encrypted data (71), and when the data processing device performs decryption, the XOR operation module (50) operates a part of data (71) encrypted with the first pseudo-random sequence (31), and The internal operation process of performing an XOR operation on an encrypted data block containing all or part of the XOR operation result and the remainder of the unoperated encrypted data (71) with the first pseudo-random number sequence (31) is repeated several times according to a predetermined algorithm as one large block, and one or more large blocks are operated, but for two or more large blocks, the operations are performed sequentially or in an arbitrary order, or simultaneously in parallel, thereby decrypting the encrypted data (71) and outputting the decrypted data (70).

[0022] In another example, when a pseudo-random number sequence generation module (30) generates two or more first pseudo-random number sequences (31), and a data processing device performs encryption, the XOR operation module (50) performs an XOR operation on data (70) using two or more first pseudo-random number sequences (31), and performs an internal operation process of sequentially performing an XOR operation on a data block including a part of the XOR operation result and all or part of the remaining unoperated data (70) with another first pseudo-random number sequence (31) according to a predetermined algorithm, performing one or more times as a large block, and operating one or more large blocks, but sequentially or in an arbitrary order for two or more large blocks, or performing parallel operations at the same time, thereby encrypting the entire data (70), and when a data processing device performs decryption, the XOR operation module (50) performs two or more In performing an XOR operation on encrypted data (71) using a first pseudo-random number sequence (31), a part of the encrypted data (71) is operated with one first pseudo-random number sequence (31) according to a predetermined algorithm, and an encrypted data block including a part of the XOR operation result and all or part of the remaining unoperated encrypted data (71) is XOR-operated with another first pseudo-random number sequence (31). This is performed once or repeatedly several times as one large block, and one or more large blocks are operated, but for two or more large blocks, they are operated sequentially or in an arbitrary order, or they are operated in parallel at the same time, thereby decrypting the entire encrypted data (71).

[0023] In addition, according to one example, the data processing device has one or more processors that are linked to perform encryption or decryption, and the one or more processors that are linked to perform encryption or decryption may include a pseudorandom number sequence generation module (30) and an XOR operation module (50) as basic modules, or may additionally include one or more of a SIZE sequence generation module (60) and a HASH module (80) in addition to the basic module, or may additionally include a HASH module (80) and a verification module (90) in addition to the basic module, or may additionally include a SIZE sequence generation module (60), a HASH module (80) and a verification module (90).

[0024] In addition, in order to achieve the above-described task, according to another aspect of the present invention, in a data processing device having one or more processors that are linked together to perform encryption or decryption of data, one or more processors that are linked together to perform encryption of data (70) in the data processing device generate a first pseudo-random number sequence (31) using a random random number sequence (10) and a PASSWORD (20) as input values, generate a second pseudo-random number sequence (41) of a predetermined size using the PASSWORD (20) as an input value, generate encrypted data (71) by performing an XOR operation on data (70) using the first pseudo-random number sequence (31), generate an encrypted random number sequence (11) by performing an XOR operation on the random random number sequence (10) using the second pseudo-random number sequence (41), output the encrypted data (71) and the encrypted random number sequence (11), and decrypt the encrypted data (71) in the data processing device. A data processing device is proposed, characterized in that two or more processors generate a second pseudo-random number sequence (41) of a predetermined size using PASSWORD (20) as an input value, perform an XOR operation on an encrypted random number sequence (11) using the second pseudo-random number sequence (41) to generate a decrypted random random number sequence (10), generate a first pseudo-random number sequence (31) using the decrypted random random number sequence (10) and PASSWORD (20) as input values, and perform an XOR operation on encrypted data (71) using the first pseudo-random number sequence (31) to generate decrypted data (70).

[0025] In addition, in order to achieve the above-mentioned task, according to another aspect of the present invention, a data processing method for encrypting or decrypting data includes a first pseudo-random number sequence generation step, a second pseudo-random number sequence generation step, a random number sequence operation step, and a data operation step, wherein in the data processing method for encrypting data: in the first pseudo-random number sequence generation step, a first pseudo-random number sequence (31) is generated using a random random number sequence (10) and a PASSWORD (20) as input values; in the second pseudo-random number sequence generation step, a second pseudo-random number sequence (41) of a predetermined size is generated using the PASSWORD (20) as an input value; and in the random number sequence operation step, an XOR operation is performed on the random random number sequence (10) using the second pseudo-random number sequence (41) to output an encrypted random number sequence (11); In a data processing method in which encrypted data (71) is generated by performing an XOR operation on data (70) using a first pseudo-random number sequence (31) in a data operation step, encryption is performed on a random random number sequence (10) and data (70), and data is decrypted: in a second pseudo-random number sequence generation step, a second pseudo-random number sequence (41) of a predetermined size is generated using PASSWORD (20) as an input value; in a random number sequence operation step, a decrypted random random number sequence (10) is output by performing an XOR operation on an encrypted random number sequence (11) using the second pseudo-random number sequence (41); in a first pseudo-random number sequence generation step, a first pseudo-random number sequence (31) is generated from the input values ​​of the decrypted random random number sequence (10) and PASSWORD (20); A data processing method is proposed, characterized in that, in a data operation step, a first pseudo-random number sequence (31) is used to perform an XOR operation on encrypted data (71) to generate decrypted data (70), and the decrypted data (70) is output.

[0026] In one example, the data processing method further includes a SIZE sequence generation step of generating a SIZE sequence (61) composed of one or more integers, and in the data processing method for encrypting data: in the SIZE sequence generation step, a SIZE sequence (61) composed of one or more integers is generated as an input value of at least one of a random random number sequence (10) or a PASSWORD (20); and in the first pseudo-random number sequence generation step, one or more first pseudo-random number sequences (31) having the same BYTE size as the integers constituting the SIZE sequence (61) according to the SIZE sequence (61) are generated from input values ​​of the random random number sequence (10) and the PASSWORD (20), and in the data processing method for decrypting data: in the SIZE sequence generation step, a SIZE sequence (61) composed of one or more integers is generated as an input value of at least one of a decrypted random random number sequence (10) or a PASSWORD (20); In the first pseudo-random number sequence generation step, one or more first pseudo-random number sequences (31) having a BYTE size equal to the integers constituting the SIZE sequence (61) can be generated from the input values ​​of the decrypted random random number sequence (10) and PASSWORD (20) according to the SIZE sequence (61).

[0027] In another example, the data processing method further includes a hashing step of generating HASH data (70v) and a HASH data operation step of encrypting or decrypting the HASH data by performing an XOR operation, and in the data processing method for encrypting data: in the hashing step, HASH data (70v) is generated for all or one or more parts of the data (70) according to a predetermined algorithm; and in the HASH data operation step, the HASH data (70v) is XOR-operated using a first pseudo-random number sequence (31) to output encrypted HASH data (71v), and in the data processing method for decrypting the data: in the HASH data operation step, the encrypted HASH data (71v) is XOR-operated using a first pseudo-random number sequence (31) to output decrypted HASH data (70v); In the hashing step, HASH data (70v) is generated for all or one or more parts of the decrypted data (70) according to a predetermined algorithm, and the data processing method for decrypting the data may further include a verification step in which the HASH data (70v) generated in the hashing step and the HASH data (70v) decrypted in the HASH data decryption step are compared, and if they match, the decryption process for the encrypted data (71) is performed, and if they do not match, the decryption is considered to have failed and the decryption for the encrypted data (71) is stopped.

[0028] At this time, in one example, in a data processing method for encrypting data, in the hashing step, HASH data (70v) may be generated by using one or more of a random random number sequence (10) or a PASSWORD (20) as input values, and in a data processing method for decrypting data, in the hashing step, HASH data (70v) may be generated by using one or more of a decrypted random random number sequence (10) or a PASSWORD (20) as input values.

[0029] Also, in one example, in a case where a first pseudo-random sequence (31) is generated in a first pseudo-random sequence generation step and the size of data (70) or encrypted data (71) is larger than the first pseudo-random sequence (31), in a data processing method for encrypting data, in a data operation step, the data (70) is divided into two or more blocks by the size of the first pseudo-random sequence (31), and each block is sequentially or in a random order, or in two or more blocks simultaneously by performing parallel operations to output encrypted data (71), and in a data processing method for decrypting data, in a data operation step, the encrypted data (71) is divided into two or more blocks by the size of the first pseudo-random sequence (31), and each block is sequentially or in a random order, or in two or more blocks simultaneously by performing parallel operations to output decrypted data (70).

[0030] In another example, in a data processing method in which a first pseudo-random sequence (31) is generated in a first pseudo-random sequence generation step and data is encrypted, in a data operation step, a part of the data (70) is operated with the first pseudo-random sequence (31), and an internal operation process of XOR-operating a data block including a part of the XOR operation result and all or part of the remainder of the data (70) with the first pseudo-random sequence (31) is performed once or repeatedly several times according to a predetermined algorithm as one large block, and one or more large blocks are operated, but for two or more large blocks, the operations are performed sequentially or in an arbitrary order or in parallel at the same time, thereby encrypting the entire data (70) and outputting the encrypted data (71), and in a data processing method in which data is decrypted, in a data operation step, a part of the data (71) encrypted with the first pseudo-random sequence (31) is operated, and an encrypted data block including a part of the XOR operation result and all or part of the remainder of the encrypted data (71) is again The internal operation process of performing XOR operation with the first pseudo-random number sequence (31) is performed once or repeatedly several times according to a predetermined algorithm, and one or more large blocks are operated, but for two or more large blocks, the operations are performed sequentially or in a random order, or simultaneously in parallel, thereby decrypting the encrypted data (71) and outputting the decrypted data (70).

[0031] Also, according to one example, in a data processing method in which two or more first pseudo-random sequences (31) are generated in a first pseudo-random sequence generation step and data is encrypted, in a data operation step, when performing an XOR operation on data (70) using two or more first pseudo-random sequences (31), a part of the data (70) is operated with one first pseudo-random sequence (31) according to a predetermined algorithm, and a data block including a part of the XOR operation result and all or part of the remainder of the data (70) is sequentially XOR-operated with another first pseudo-random sequence (31) by performing an internal operation process once or repeatedly several times as one large block, and operating one or more large blocks, but sequentially or in an arbitrary order or performing parallel operations simultaneously for two or more large blocks, the entire data (70) is encrypted and decrypted using two or more first pseudo-random sequences (31) in the data operation step. In performing an XOR operation, a part of encrypted data (71) is operated with a first pseudo-random number sequence (31) according to a predetermined algorithm, and an encrypted data block including a part of the XOR operation result and all or part of the remainder of the encrypted data (71) is XOR-operated with another first pseudo-random number sequence (31). This is performed once or repeatedly several times as one large block, and one or more large blocks are operated, but for two or more large blocks, the operations are performed sequentially or in an arbitrary order, or by performing parallel operations simultaneously, so that the entire encrypted data (71) can be decrypted.

[0032] In addition, in order to achieve the above-described task, according to another aspect of the present invention, in a data processing method for encrypting or decrypting LOG-IN data in a connection between a client and a server, the process of encrypting LOG-IN data to be transmitted by the client to the server includes a first encryption process and a second encryption process using a public key, the first encryption process corresponds to a process of encrypting data in the data processing method according to any one of the above, and in the first encryption process, a random number sequence (10) is generated differently by the client each time, a PASSWORD (20) uses a PASSWORD for LOG-IN, data (70) is LOG-IN data (70) including the PASSWORD for LOG-IN, and encrypted data (71) is encrypted LOG-IN data (71) in which the LOG-IN data (70) is encrypted, and in the second encryption process, the client binds a LOG-IN ID together with the encrypted LOG-IN data (71) and the encrypted random number sequence (11) and uses a public key (301) provided by the server. A data processing method is proposed, characterized in that it encrypts and generates public key encrypted data (302) using the encryption method.

[0033] In addition, in order to achieve the above-described task, according to another aspect of the present invention, in a data processing method for encrypting or decrypting LOG-IN data in a connection between a client and a server, the process in which the server, which has received encrypted data from the client, decrypts the data includes a first decryption process for decrypting public key encrypted data and a second decryption process for decrypting the data decrypted in the first decryption process, and in the first decryption process, the server, which has received public key encrypted data (302) encrypted with a public key provided by the server to the client, uses a private key (401) corresponding to the public key to decrypt the public key encrypted data (302) to extract encrypted LOG-IN data (71), an encrypted random number sequence (11), and a LOG-IN ID, and the second decryption process corresponds to a process for decrypting data in the data processing method according to any one of the above-described methods, and in the second decryption process, the LOG-IN PASSWORD assigned to the LOG-IN ID decrypted in the first decryption process is used as the PASSWORD (20), A data processing method is proposed, characterized in that it decrypts an encrypted random number sequence (11) and encrypted LOG-IN data (71) using a PASSWORD (20) and an encrypted random number sequence (11), outputs a decrypted random number sequence (10) and decrypted LOG-IN data (70), and rejects a client's connection if the server fails in the process of decrypting the data.

[0034] At this time, if the server fails in the process of decrypting the data, it is because the data is not encrypted with the public key corresponding to the private key (401), and thus decryption fails in the first decryption process, or if decryption using the PASSWORD (20) and the encrypted random number sequence (11) fails in the second decryption process, and even if the server succeeds in the process of decrypting the data, if it is determined that the decrypted random number sequence (10) has been reused, the client's connection may be denied.

[0035] The present invention can increase the difficulty of decryption exponentially and infinitely by increasing the BYTE size of the random number sequence (10) used for encryption and the number of cases of inputtable PASSWORD (20), and since encryption and decryption are possible with only a simple XOR operation, it is possible to encrypt and decrypt data quickly without vulnerabilities as well as parallel processing.

[0036] In addition, since the present invention consists of only XOR operations, it does not exclude the possibility of additionally performing an encryption or decryption process such as an S-BOX, P-BOX or Feistel structure, but an additional encryption process is unnecessary.

[0037] In the case where a SIZE sequence generation module (60) is added to the encryption and data decryption device (100a, 100b) of the present invention, if data (70) is encrypted by performing an XOR operation with one or more first pseudo-random sequences (31) generated with the same BYTE size as the integers constituting the SIZE sequence (61), even if there is only one first pseudo-random sequence (31), the BYTE size of the first pseudo-random sequence (31) cannot be known, so that an unauthorized decryption attempt by a third party who does not know the PASSWORD (20) is impossible by any method, including the latest 'divide-and-conquer' method, other than trying to substitute all possible PASSWORDs (20), and therefore, data (70) can be safely encrypted according to the spirit of the present invention even if a pseudo-random sequence generation device developed arbitrarily or a pseudo-random sequence generation device verified to be cryptographically secure is used, or a public pseudo-random sequence LIBRARY provided by MICROSOFT, etc. Can be.

[0038] In addition, the random number sequence (11) encrypted with the random number sequence (10) used for encryption can be stored in a volatile or non-volatile storage device by including it in a predetermined location of the encrypted data (71) or by separating it separately, and can be transmitted or received over a network. Therefore, the possibility of decryption of the encrypted data (71) can be completely eliminated by deleting only the encrypted random number sequence (11), not the entire encrypted data (71).

[0039] In addition, if a random random number sequence (10) is generated and used differently each time, the uniqueness of the encrypted data (71) is guaranteed, and since the random random number sequence (10) is encrypted with a second pseudo-random number sequence (41) generated with a PASSWORD (20), even if a third party who does not know the PASSWORD (20) obtains both the encrypted random number sequence (11) and the encrypted data (71), the second pseudo-random number sequence (41) cannot be generated, and thus the encrypted random number sequence (11) cannot be decrypted with the random random number sequence (10), and further, the first pseudo-random number sequence (31) cannot be generated, making it impossible to decrypt the encrypted data (70), so by utilizing these properties, LOG-IN data between the server and the client can be protected, and further, network transmission data such as VPN, and all wired and wireless communication data can be safely protected.

[0040] That is, if there is no BACK DOOR that allows a communication method other than the communication encrypted by the encryption, decryption method or device of the present invention, a third party who does not know the PASSWORD (20) will not only be unable to intercept or falsify data during network transmission and reception, but will also be unable to hack into the network device.

[0041] Even when used for LOG-IN between server and client, if the client encrypts the “LOG-IN PASSWORD and other LOG-IN information” (= data (70)) with the data processing device (100a) of the present invention using the PASSWORD (20) for LOG-IN and then encrypts the LOG-IN ID and the encrypted LOG-IN data together with the public key provided by the server and transmits them, even if a third party extracts the LOG-IN ID encrypted with the public key and the LOG-IN data encrypted with the data processing device (100a) by a method such as quantum computing without a private key, the encrypted LOG-IN data (= encrypted data (71)), i.e., the LOG-IN PASSWORD, cannot be decrypted, and the LOG-IN data (= encrypted data (71)) encrypted by the random number sequence (10) generated differently each time has a different BYTE array value, so the server cannot decrypt the encrypted LOG-IN data (71) that it has already received. In case of re-reception, it can be regarded as an unauthorized LOG-IN by a third party and access can be denied, so unauthorized LOG-IN by a third party can be prevented even without auxiliary devices such as OTP.

[0042] Figures 1a, 1c, and 1e are each a diagram expressing a conceptual diagram of a data encryption process of a data processing device (100a) according to the present invention.

[0043] Figures 1b, 1d, and 1f are each a diagram expressing a conceptual diagram of a data decryption process of a data processing device (100b) according to the present invention.

[0044] FIG. 2a is a drawing expressing a process of encrypting data (70) by generating one or more first pseudo-random sequences (31) using the SIZE sequence (61) output from the SIZE sequence generation module (60) when the data processing device (100a) according to the present invention further includes a SIZE sequence generation module (60).

[0045] FIG. 2b is a diagram showing a process of decrypting encrypted data (71) by generating one or more first pseudo-random sequences (31) using the SIZE sequence (61) output from the SIZE sequence generation module (60) when the data processing device (100b) according to the present invention further includes a SIZE sequence generation module (60).

[0046] Fig. 2c is a drawing that shows in detail the role of the SIZE sequence generation module (60) used in Figs. 2a to 2b.

[0047] FIG. 3 is a drawing showing a process of outputting or decrypting encrypted data (71) by performing parallel operations on data (70) using one or more first pseudo-random number sequences (31) having different BYTE sizes according to a SIZE sequence (61) as an example of a data processing device (100a, 100b) of the present invention performing parallel operations.

[0048] FIG. 4 is a diagram showing a process of encrypting data (70) or decrypting encrypted data (71) by using a parallel operation in which a data processing device (100a) of the present invention internally operates a plurality of first pseudo-random number sequences (31) having different BYTE sizes according to a SIZE sequence (61) in a predetermined order, taking the process as one large block, and sequentially or in an arbitrary order (e.g., each block can be operated in an arbitrary order using a FOR EACH statement), or simultaneously, and operating the plurality of large blocks.

[0049] FIG. 5 is a drawing showing a LOG-IN protection method between a server and a client using a data processing device (100a, 100b) according to the present invention together with a public key-private key data encryption device (300, 400).

[0050] FIG. 6a is a drawing expressing a process in which a HASH generation device (80) outputs HASH data (70v) of data (70) when the data processing device (100a) of the present invention further includes a HASH generation device (80).

[0051] FIG. 6b is a diagram showing a process in which, when the data processing device (100b) of the present invention further includes a HASH generation device (80) and a verification module (90), the HASH generation device (80) generates HASH data (70v) of decrypted data (70), the verification module (90) compares and verifies the decrypted HASH data (70v) and the HASH data (70v), and if they match, the decrypted data (70) is considered to be the same as the original, and if they do not match, the decryption is considered to have failed.

[0052] Figures 7a and 8a are each a flowchart schematically showing a data encryption process in a data processing method according to the present invention.

[0053] Figures 7b and 8b are each a flowchart schematically showing a data decryption process in a data processing method according to the present invention.

[0054] According to one example of the present invention, a data processing device that performs encryption or decryption of data includes a pseudo-random number sequence generation module (30) that generates first and second pseudo-random number sequences (31, 41) and an XOR operation module (50) that performs an XOR operation to encrypt or decrypt. At this time, referring to FIGS. 1a, 1c, 1e, and 2a, when the data processing device performs encryption: the pseudo-random number sequence generation module (30) generates a first pseudo-random number sequence (31) using a random random number sequence (10) and a PASSWORD (20) as input values, and generates a second pseudo-random number sequence (41) of a predetermined size using the PASSWORD (20) as an input value; The XOR operation module (50) outputs encrypted data (71) by performing an XOR operation on data (70) using the first pseudo-random number sequence (31), and outputs an encrypted random number sequence (11) by performing an XOR operation on a random random number sequence (10) using the second pseudo-random number sequence (41). Or, referring to FIGS. 1b, 1d, 1f, and 2b, when the data processing device performs decryption: the pseudo-random number sequence generation module (30) generates a second pseudo-random number sequence (41) of a predetermined size using PASSWORD (20) as an input value, and generates a first pseudo-random number sequence (31) using the decrypted random random number sequence (10) and PASSWORD (20) as input values; The XOR operation module (50) outputs a decrypted random number sequence (10) by performing an XOR operation on an encrypted random number sequence (11) using a second pseudo-random number sequence (41), and decrypts encrypted data (71) by performing an XOR operation using a first pseudo-random number sequence (31).

[0055] Embodiments of the present invention for achieving the aforementioned objectives will be described with reference to the accompanying drawings. In this description, like reference numerals denote like elements, and supplementary descriptions may be omitted to facilitate a better understanding of the present invention by those skilled in the art.

[0056] It should be noted that even if a component is expressed in singular in this specification, it may be used as a concept representing all of the plural components as long as it is not interpreted in a way that is contrary to or contradicts the concept of the invention.

[0057] In addition, the description of words such as “include,” “comprise,” and “comprises” and terms derived therefrom in this specification does not exclude the possibility of addition, combination, or joining of one or more other components to the original element or elements, and further, the description of words meaning “have,” “comprise,” and terms derived therefrom should not exclude the possibility of addition or joining of one or more other components, provided that the original element or elements do not lose their characteristics, functions, and / or properties by virtue of such addition, combination, or joining of one or more other components.

[0058] Before explaining a specific implementation method for carrying out the present invention, a simple concept or typical data encryption and decryption process will be explained.

[0059] Encryption or decryption of data is performed by reading data as a STREAM (= BYTE SEQUENCE), repeatedly performing encryption and decryption on a BYTE array of a predetermined size, and then outputting it as a STREAM again. Therefore, in the present invention, the process of encrypting or decrypting data is a process of receiving a BYTE array as input, performing an operation according to a predetermined algorithm, and then outputting the BYTE array.

[0060] Therefore, the random number sequence (10), encrypted random number sequence (11), PASSWORD (20), first pseudo-random number sequence (31), second pseudo-random number sequence (41), data (70), encrypted data (71), and LOG-IN data used in the present invention ultimately mean a BYTE array or are converted into a BYTE array and used.

[0061] At this time, the BYTE array is not limited to the form of ARRAY of .NET of MICROSOFT, and can be implemented in various forms such as LIST, and can be implemented using various programming languages ​​without being limited thereto.

[0062] Therefore, the meaning of “random random number sequence (10) and PASSWORD (20) as input values” means “the BYTE array value of the random random number sequence (10) and the BYTE array value of PASSWORD (20) as input values”, and the pseudo-random number sequence generation module (30) or the first and second pseudo-random number sequence generation modules (30a, 30b) generate the first and second pseudo-random number sequences (31, 41) in the form of BYTE arrays from the beginning, and the data (70), encrypted data (71), HASH data (70v), and encrypted HASH data (71v) are all implemented in the form of BYTE arrays.

[0063] However, the SIZE sequence (61) generated by the SIZE sequence generation module (60) is a sequence composed of "integers (uInteger, uLong regardless)", and the BYTE size (=BYTE LENGTH, in this specification, BYTE size has the same meaning as BYTE LENGTH) of the first pseudo-random sequence (31) generated by the pseudo-random sequence generation module (30) or / and the first pseudo-random sequence generation module (30a) is specified, and even when the same random random sequence (10) and PASSWORD (20) are input to the SIZE sequence generation module (60), if the value of the SIZE sequence (61) is different, the BYTE size of the first pseudo-random sequence (31) generated is also generated differently.

[0064] Therefore, in the present invention, the SIZE sequence generation module (60) is a device that generates a sequence composed of integers to be directly substituted into the BYTE size value of the first pseudo-random sequence (31), so it is a confusion of concepts to modify it to the form of determining the BYTE size of the first pseudo-random sequence (31) by performing a predetermined operation again on the value of the generated SIZE sequence (61).

[0065] In the present invention, if the BYTE size of the first pseudo-random sequence (31) becomes 0, the data (70) cannot be XOR-operated, so it is a principle that the integers constituting the SIZE sequence (61) do not include 0. Nevertheless, it is not necessary to exclude configuring the algorithm so that the SIZE sequence generation module (60) outputs integers including 0. However, if the SIZE sequence (61) is only 0, there is no first pseudo-random sequence (31) to be used in the XOR operation module (50), so this case should be excluded from the algorithm. Hereinafter, whether or not the integers constituting the SIZE sequence (61) include 0 is not further mentioned.

[0066] In addition, when the SIZE sequence (61) outputs the same value twice or more, making the BYTE value of the first pseudo-random sequence (31) of the same size the same or different is included in the application method of implementing the data processing device (100a, 100b) of the present invention.

[0067] That is, when the SIZE sequence (61) is 1000, 1000, two first pseudo-random sequences (31) of 1000 bytes are generated, but generating the BYTE values ​​of the first pseudo-random sequence (31) in front and the first pseudo-random sequence (31) behind the first pseudo-random sequence to be the same or different is a problem in the configuration of the algorithm of the pseudo-random sequence generation module (30) or the first pseudo-random sequence generation module (30a), and belongs to a wide range of applications.

[0068] The random random number sequence (10) or PASSWORD (20) of the present invention can be input arbitrarily or generated by a generation device and used, but since there is no limitation on the method, it is simply considered as given, and the input method and device, generation method and device, etc. are omitted without separate description. In addition, the random random number sequence (10) fulfills its function when it is output as an encrypted random number sequence (11) from a data processing device (100a) that encrypts data, and when a data processing device (100b) that decrypts data decrypts encrypted data (71), there must be an encrypted random number sequence (11) and PASSWORD (20). Accordingly, the data processing device (100a) for encrypting data can be explained as encrypting data (70) using a random random number sequence (10) and a PASSWORD (20), and the data processing device (100b) for decrypting encrypted data can be explained as decrypting the encrypted random number sequence (11) using the PASSWORD (20) and then decrypting the encrypted data (71) using the decrypted random random number sequence (10) and the PASSWORD.

[0069] In the data processing device (100, 100a, 100b), the “random number sequence” (10) or PASSWORD (20) can be used by converting it into a BYTE array using a predetermined ENCODING function (known or developed arbitrarily) after the user inputs a ‘character’, or can be used by generating it using a predetermined generating device, or can be obtained from an arbitrary storage device or network.

[0070] In the present invention, when a user inputs PASSWORD (20) as 'characters', not only can it be converted into BYTE array data using the ENCODING function, but a predetermined algorithm can also be used to convert it into a BYTE array of a predetermined size regardless of the number of 'characters' input by the user.

[0071] In addition, in the present invention, when PASSWORD (20) is used as an input value of the pseudo-random number sequence generation module (30) or / and the first and second pseudo-random number sequence generation modules (30a, 30b), ENCODING may be changed to input different BYTE array values, but this belongs to an application example that can be modified in countless ways.

[0072] As an example, the Rfc2898DeriveBytes function, which implements PBKDF2, a password-based key derivation function, using a pseudo-random number generator based on HMACSHA1 provided by MICROSOFT, can also be used to generate a random number sequence of the same BYTE size regardless of the number of 'characters'.

[0073] Therefore, in this specification, the ENCODING method, which can be modified in countless ways, and the pseudo-random number sequence generation methods of the pseudo-random number sequence generation modules (30, 30a, 30b) are not specified as any one method and are not further explained.

[0074] In the present invention, the XOR operation module (50) that performs an XOR operation on data (70) and encrypted data (71) using the first pseudo-random number sequence (31) and the XOR operation module (50) that performs an XOR operation on a random random number sequence (10) and encrypted random number sequence (11) using the second pseudo-random number sequence (41) may be the same or may be separate depending on the embodiment.

[0075] In addition, when the XOR operation module (50) performs an XOR operation on data (70) or encrypted data (71) with the first pseudo-random sequence (31), it is sufficient to perform an XOR operation on a part of the first pseudo-random sequence (31) for data (70) or encrypted data (71) smaller than the BYTE size of the first pseudo-random sequence (31) without further explanation.

[0076] When the data (70) or encrypted data (71) is larger than the BYTE size of the first pseudo-random number sequence (31), it is divided into blocks of the size of the first pseudo-random number sequence (31), and an XOR operation may be performed on two or more blocks sequentially or in a random order (e.g., sequential is not necessary since FOR EACH syntax can be used), or simultaneously in parallel; however, various sequential, random, or parallel operation methods are not limited to those described herein.

[0077] At this time, if the BYTE array size of the remaining data (70) is smaller than the BYTE array size of the first pseudo-random number sequence (31), it is natural to use only a part of the first pseudo-random number sequence (31).

[0078] This principle is the same whether the XOR operation module (50) performs an XOR operation on a random random number sequence (10) or an encrypted random number sequence (11) with a second pseudo-random number sequence (51), or on a HASH data (70v) or an encrypted HASH data (71v) with a first pseudo-random number sequence (31), and unless otherwise explained, it applies to all XOR operations in this specification.

[0079] In addition, the XOR operation module (50) of the present invention performs an exclusive logical OR operation, but is not limited thereto, and may be implemented to additionally perform other encryption or decryption operations such as in the form of an S-BOX or P-BOX.

[0080] In order to verify whether the decrypted data in the present invention is identical to the original data, the HASH function is used in this specification, but is not limited thereto.

[0081] In the present invention, each module or a combination of two or more modules may be comprised of one or more chips or processors. Alternatively, each module may be comprised entirely of a single chip or processor. Alternatively, each module may be an area of ​​each chip or processor that is driven by the execution of a program embedded in the aforementioned chip or processor or stored in a separately provided memory. Alternatively, each module may be a combination of circuits that are driven by the execution of a program embedded in the aforementioned chip or processor or stored in a separately provided memory. Alternatively, each module may refer to an execution area of ​​the aforementioned program that operates the aforementioned chip or processor to perform the operations of each module when one or more chips or processors are driven by a program embedded in one or more chips or processors or stored in a separately provided memory. Alternatively, each module may be a combination of an execution area of ​​a program embedded in one or more chips or processors or stored in a separately provided memory and an operation area or circuit area of ​​the aforementioned chip or processor that operates accordingly. Therefore, it should be noted that each module in the present invention should not be understood as being limited to a separate device, nor should it be understood as being limited to separately distinct software.

[0082] Additionally, in the present invention, when the data processing device includes one or more chips or processors, one chip or processor itself or a combination of two or more chips or processors may be the data processing device itself.

[0083] The data processing device and method of the present invention are not limited to those described in this specification, and include those that have been applied to add other methods and / or devices, and are applicable to all fields requiring data encryption and decryption methods and / or devices, such as volatile or non-volatile storage devices, server-client, VPN, and all network methods and / or devices. In other words, it can be applied to all types of wired and wireless communication devices, various smart devices, personal, vehicular, large-scale computation, storage, internal data processing of network devices, internal and external data transmission and reception, etc.

[0084] Accordingly, the data processing device and method of the present invention will be specifically examined with reference to FIGS. 1a to 8b.

[0085] First, a data processing device according to an example of the present invention will be examined with reference to FIGS. 1a to 6b.

[0086] Referring to FIGS. 1A to 2C, according to one example of the present invention, a data processing device that performs encryption or decryption of data includes a pseudo-random number sequence generation module (30) that generates first and second pseudo-random number sequences (31, 41) and an XOR operation module (50) that performs an XOR operation to encrypt or decrypt. At this time, referring to FIGS. 1A, 1C, 1E, and 2A, when the data processing device performs encryption: the pseudo-random number sequence generation module (30) generates a first pseudo-random number sequence (31) using a random random number sequence (10) and a PASSWORD (20) as input values, and generates a second pseudo-random number sequence (41) of a predetermined size using the PASSWORD (20) as an input value; The XOR operation module (50) outputs encrypted data (71) by performing an XOR operation on data (70) using the first pseudo-random number sequence (31), and outputs an encrypted random number sequence (11) by performing an XOR operation on a random random number sequence (10) using the second pseudo-random number sequence (41). Or, referring to FIGS. 1b, 1d, 1f, and 2b, when the data processing device performs decryption: the pseudo-random number sequence generation module (30) generates a second pseudo-random number sequence (41) of a predetermined size using PASSWORD (20) as an input value, and generates a first pseudo-random number sequence (31) using the decrypted random random number sequence (10) and PASSWORD (20) as input values; The XOR operation module (50) outputs a decrypted random number sequence (10) by performing an XOR operation on an encrypted random number sequence (11) using a second pseudo-random number sequence (41), and decrypts encrypted data (71) by performing an XOR operation using a first pseudo-random number sequence (31).

[0087] Referring to FIGS. 2A to 2C, in one example, the data processing device may further include a SIZE sequence generation module (60) that generates a SIZE sequence (61) composed of one or more integers. At this time, referring to FIG. 2A, when the data processing device performs encryption: the SIZE sequence generation module (60) generates a SIZE sequence (61) composed of one or more integers as an input value of at least one of a random random sequence (10) or a PASSWORD (20); and the pseudo-random sequence generation module (30) generates at least one first pseudo-random sequence (31) having the same BYTE size as the integers constituting the SIZE sequence (61) according to the SIZE sequence (61) from the input values ​​of the random random sequence (10) and the PASSWORD (20); The XOR operation module (50) can output encrypted data (71) by performing an XOR operation on data (70) using one or more first pseudo-random number sequences (31). Or, referring to 2b, when the data processing device performs decryption: the SIZE sequence generation module (60) generates a SIZE sequence (61) composed of one or more integers as an input value of one or more of the decrypted random random number sequences (10) or PASSWORD (20); and the pseudo-random number sequence generation module (30) generates one or more first pseudo-random number sequences (31) having the same BYTE size as the integers constituting the SIZE sequence (61) according to the SIZE sequence (61) from the input values ​​of the decrypted random random number sequence (10) and PASSWORD (20); The XOR operation module (50) can output decrypted data (70) by performing an XOR operation on encrypted data (71) using one or more first pseudo-random number sequences (31).

[0088] Also, referring to FIGS. 1c to 1f, in one example, the pseudo-random number sequence generation module (30) may include a first pseudo-random number sequence generation module (30a) that generates a first pseudo-random number sequence (31) and a second pseudo-random number sequence generation module (30b) that generates a second pseudo-random number sequence (41).

[0089] According to another example, the pseudo-random number sequence generation module (30) generates one first pseudo-random number sequence (31), and examines a case where the size of data (70) or encrypted data (71) is larger than the first pseudo-random number sequence (31). When the data processing device performs encryption, the XOR operation module (50) can output encrypted data (71) by dividing the data (70) into two or more blocks in the size of the first pseudo-random number sequence (31) and performing parallel operations on each block sequentially or in a random order or simultaneously in two or more blocks. Alternatively, when the data processing device performs decryption, the XOR operation module (50) can output decrypted data (70) by dividing the encrypted data (71) into two or more blocks in the size of the first pseudo-random number sequence (31) and performing parallel operations on each block sequentially or in a random order or simultaneously in two or more blocks.

[0090] Also, in one example, a pseudo-random sequence generation module (30) can generate a first pseudo-random sequence (31). At this time, when a data processing device performs encryption, the XOR operation module (50) performs an internal operation process of operating a part of data (70) with the first pseudo-random sequence (31), and then performing an XOR operation on a data block containing a part of the XOR operation result and all or part of the remaining unoperated data (70) with the first pseudo-random sequence (31) again, one or more times according to a predetermined algorithm, and by performing this operation once or repeatedly several times as one large block, operating one or more large blocks, but operating two or more large blocks sequentially or in an arbitrary order, or operating in parallel at the same time, the entire data (70) can be encrypted and the encrypted data (71) can be output. Alternatively, when the data processing device performs decryption, the XOR operation module (50) operates a part of the encrypted data (71) with the first pseudo-random number sequence (31), and repeats the internal operation process of XOR-operating an encrypted data block containing a part of the XOR operation result and all or part of the remaining unoperated encrypted data (71) with the first pseudo-random number sequence (31) several times according to a predetermined algorithm, and decrypts the encrypted data (71) by operating one or more large blocks, but operating in sequential or random order or simultaneously in parallel for two or more large blocks, and outputs the decrypted data (70).

[0091] In another example, a pseudo-random number sequence generation module (30) can generate two or more first pseudo-random number sequences (31). When a data processing device performs encryption, the XOR operation module (50) performs an XOR operation on data (70) using two or more first pseudo-random number sequences (31), and performs an internal operation process of sequentially performing an XOR operation on a data block including a part of the XOR operation result and all or part of the remaining unoperated data (70) with another first pseudo-random number sequence (31) according to a predetermined algorithm, once or repeatedly several times, and operates on one or more large blocks, but sequentially or in an arbitrary order for two or more large blocks, or simultaneously performing parallel operations, thereby encrypting the entire data (70). Alternatively, when the data processing device performs decryption, the XOR operation module (50) performs an XOR operation on encrypted data (71) using two or more first pseudo-random number sequences (31), and performs an internal operation process of calculating a part of the encrypted data (71) with one first pseudo-random number sequence (31) according to a predetermined algorithm, and performing an XOR operation on an encrypted data block including a part of the XOR operation result and all or part of the remaining uncalculated encrypted data (71) with another first pseudo-random number sequence (31) once or repeatedly several times, thereby calculating one or more large blocks, and sequentially or in an arbitrary order for two or more large blocks, or performing parallel operations simultaneously, thereby decrypting the entire encrypted data (71).

[0092] In addition, according to one example, the data processing device has one or more processors that are linked to perform encryption or decryption, and the one or more processors that are linked to perform encryption or decryption may include a pseudorandom number sequence generation module (30) and an XOR operation module (50) as basic modules, or may additionally include one or more of a SIZE sequence generation module (60) and a HASH module (80) in addition to the basic module, or may additionally include a HASH module (80) and a verification module (90) in addition to the basic module, or may additionally include a SIZE sequence generation module (60), a HASH module (80) and a verification module (90).

[0093] Also, referring to FIGS. 1e and 1f, the XOR operation module (50) may include a first XOR operation module (50a) and a second XOR operation module (50b). At this time, in the case of encryption, the first XOR operation module (50a) may generate an encrypted random number sequence (11) by performing an XOR operation on a random random number sequence (10) and a second pseudo-random number sequence (41) generated by a pseudo-random number sequence generation module (30). The second OR operation module (50b) may generate encrypted data (71) by performing an XOR operation on the first pseudo-random number sequence (31) generated by the pseudo-random number sequence generation module (30) and data (70).

[0094] Conversely, in the case of decryption, the first XOR operation module (50a) can generate a decrypted random random number sequence (10) by performing an XOR operation on the second pseudo-random number sequence (41) generated by the pseudo-random number sequence generation module (30) and the encrypted random random number sequence (11). The second OR operation module (50b) can generate decrypted data (70) by performing an XOR operation on the first pseudo-random number sequence (31) generated by the pseudo-random number sequence generation module (30) and the encrypted data (71).

[0095] In addition, according to another aspect of the present invention, a data processing device having one or more processors that are linked to perform encryption or decryption of data will be examined. At this time, one or more processors that are linked to perform encryption of data (70) in the data processing device can generate a first pseudo-random number sequence (31) using a random random number sequence (10) and a PASSWORD (20) as input values, generate a second pseudo-random number sequence (41) of a predetermined size using the PASSWORD (20) as an input value, generate encrypted data (71) by performing an XOR operation on data (70) using the first pseudo-random number sequence (31), generate an encrypted random number sequence (11) by performing an XOR operation on the random random number sequence (10) using the second pseudo-random number sequence (41), and output the encrypted data (71) and the encrypted random number sequence (11). Alternatively, one or more processors that perform decryption of encrypted data (71) in a data processing device may generate a second pseudo-random number sequence (41) of a predetermined size using PASSWORD (20) as an input value, perform an XOR operation on an encrypted random number sequence (11) using the second pseudo-random number sequence (41) to generate a decrypted random number sequence (10), generate a first pseudo-random number sequence (31) using the decrypted random number sequence (10) and PASSWORD (20) as input values, and perform an XOR operation on encrypted data (71) using the first pseudo-random number sequence (31) to generate decrypted data (70).

[0096] Let's look at it in detail again with reference to the drawings. Figures 1a, 1c, and 1e are conceptual diagrams of the process of encrypting data by the data processing device (100a) according to the present invention, according to which,

[0097] The data processing device (100a) of the present invention outputs encrypted data (71) by having an XOR operation module (50) perform an XOR operation on data (70) with a first pseudo-random number sequence (31) of a predetermined size generated by a first pseudo-random number sequence generation module (30a) using PASSWORD (20) and a random random number sequence (10) as input values, and by having an XOR operation module (50) perform an XOR operation on the random random number sequence (10) with a second pseudo-random number sequence (41) of a predetermined size generated by a second pseudo-random number sequence generation module (30b) using PASSWORD (20) as input values.

[0098] At this time, the encrypted random number sequence (11) can be included in a predetermined location of the encrypted data (71) or stored separately in a volatile or non-volatile storage device or transmitted over a network, and if one or more of the encrypted random number sequence (11) or the encrypted data (71) is destroyed, the encrypted data (71) becomes virtually permanently unrecoverable.

[0099] Figures 1b, 1d, and 1f are conceptual diagrams of the process of decrypting data by a decryption device (100b) according to the present invention, according to which:

[0100] The data processing device (100b) of the present invention uses a second pseudo-random number sequence (41) of a predetermined size generated by a second pseudo-random number sequence generation module (30b) with a PASSWORD (20) as an input value, and the XOR operation module (50) performs an XOR operation on an encrypted random number sequence (11) to output a decrypted random number sequence (10), and uses the decrypted random number sequence (10) and the first pseudo-random number sequence (31) of a predetermined size generated by a first pseudo-random number sequence generation module (30a) with the PASSWORD (20) as input values, and the XOR operation module (50) performs an XOR operation on encrypted data (71) to output decrypted data (70).

[0101] FIG. 2a shows a process of encrypting data (70) by generating a first pseudo-random sequence (31) of one or more different BYTE sizes according to the SIZE sequence (61) generated by the SIZE sequence generation module (60) in a case where the data processing device (100a) according to the present invention further includes a SIZE sequence generation module (60). According to this,

[0102] The data processing device (100a) according to the present invention generates a SIZE sequence (61), that is, a sequence composed of one or more integers, using at least one of a random random sequence (10) or a PASSWORD (20) as an input value, when the SIZE sequence generation module (60) generates the first pseudo-random sequence (31), according to the SIZE sequence (61) generated by the SIZE sequence generation module (60), generates one or more first pseudo-random sequences (31) having the same BYTE size as the integers constituting the SIZE sequence (61), and the XOR operation module (50) uses the one or more first pseudo-random sequences (31) to sequentially or in an arbitrary order (e.g., after reading the entire BYTE data, into blocks of each BYTE size unit of one or more first pseudo-random sequences (31). After dividing the data (70), the FOR EACH statement can be used to XOR-operate and combine the BYTE data of each divided block and the first pseudo-random number sequence (31). This is the same in the data processing device (100b), and the principle is the same even if it is not explained again.) Or, although not expressed in the drawing, of course, the encrypted data (71) is output by performing an XOR operation using a parallel operation (because the encrypted data (71) can be divided into one or more BYTE sizes and operated on two or more blocks simultaneously), and the second pseudo-random number sequence generation module (30b) generates a second pseudo-random number sequence (41) of a predetermined size using the PASSWORD (20) as an input value, and the XOR operation module (50) outputs an encrypted random number sequence (11) by performing an XOR operation on the random random number sequence (10) using the second pseudo-random number sequence (41).

[0103] FIG. 2b illustrates a process of decrypting encrypted data (71) by generating a first pseudo-random sequence (31) of one or more different BYTE sizes according to the SIZE sequence (61) generated by the SIZE sequence generation module (60) in a case where the decryption device (100b) according to the present invention further includes a SIZE sequence generation module (60). According to this,

[0104] The data processing device (100b) according to the present invention generates a second pseudo-random number sequence (41) of a predetermined size by using the PASSWORD (20) as an input value, the XOR operation module (50) performs an XOR operation on an encrypted random number sequence (11) using the second pseudo-random number sequence (41) to output a decrypted random number sequence (10), and the SIZE number sequence generation module (60) generates a sequence consisting of one or more integers, i.e., a SIZE number sequence (61), by using one or more of the decrypted random number sequence (10) or the PASSWORD (20) as an input value, and when the first pseudo-random number sequence generation module (30a) generates the one or more first pseudo-random number sequences (31), according to the SIZE number sequence (61) generated by the SIZE number sequence generation module (60), One or more first pseudo-random number sequences (31) having a BYTE size equal to the integers constituting the SIZE sequence (61) are generated, and the XOR operation module (50) can perform an XOR operation on encrypted data (71) using the one or more first pseudo-random number sequences (31) sequentially or in a random order, or, although not shown in the drawing, by a parallel operation method (same reason as described in the encryption device (100a)), to output decrypted data (70).

[0105] Figure 2c shows in more detail the role of the SIZE sequence generation module (60) used in Figures 2a and 2b, according to which,

[0106] When the SIZE sequence generation module (60) in the data processing device (100a) or data decryption device (100a) of the present invention generates a SIZE sequence (61) which is a sequence composed of one or more integers, the first pseudo-random sequence generation module (30a) generates one or more first pseudo-random sequences (31) having the same BYTE size as the integers constituting the SIZE sequence (61).

[0107] As an example, when the SIZE sequence (61) is 1024 or 2048, the first pseudo-random sequence generation module (30a) generates a first pseudo-random sequence (31) of 1024 bytes or 2048 bytes in size, but the values ​​of the byte array are different.

[0108] In addition, although not shown in the drawing, as described in FIG. 2a and FIG. 2b, the first pseudo-random number generator (30) must receive all of the random number sequence (10), PASSWORD (20), and SIZE sequence (61) as input.

[0109] In addition, when a random number sequence (10) that is generated differently each time is included as an input value of the SIZE sequence generation module (60), the SIZE sequence (61) generated by the SIZE sequence generation module (60) is also generated differently each time.

[0110] In the case where only PASSWORD (20) is used as an input value for the SIZE sequence generation module (60), when PASSWORD (20) changes, the SIZE sequence (61) generated by the SIZE sequence generation module (60) changes.

[0111] In addition, when the SIZE sequence (61) changes, the first pseudo-random sequence (31) generated by the first pseudo-random sequence generation module (30a) also changes. Although not expressed in FIG. 2c, the SIZE sequence (61) generated by the SIZE sequence generation module (60) may include two or more identical numbers, and in this case, the value of the BYTE array of the first pseudo-random sequence (31) of the same BYTE size generated according to the same number of input values ​​is merely a matter of changing according to a predetermined algorithm used in the first pseudo-random sequence generation module (30a), and therefore, such cases are not distinguished from each other in this specification.

[0112] That is, even if the SIZE sequence generation module (60) repeatedly generates the same number 1000, such as 1000,...,1000,...,1000, the order of generation is different, so the algorithm can be configured so that the first pseudo-random sequence generation module (30a) generates the first pseudo-random sequence (31) with the same BYTE size but different values, or if the input value is the same as 1000, the algorithm can be configured so that the first pseudo-random sequence (31) outputted is also the same.

[0113] Accordingly, even if there is only one first pseudo-random number sequence (31) output using the SIZE sequence generation module (60), a third party cannot know the BYTE size of the first pseudo-random number sequence (31) at all, and thus cannot decrypt it without permission using any other existing decryption method, including the 'divide-and-conquer strategy'.

[0114] Figures 3 and 4 are both drawings based on the assumption that the first pseudo-random number sequence generation module (30a) generates the first pseudo-random number sequence A (31), B (31), and C (31) using the SIZE number sequence (61) 1000, 2000, and 3000 generated by the SIZE number sequence generation module (60) as input values.

[0115] FIG. 3 shows the most basic process of a data processing device (100a, 100b) of the present invention outputting or decrypting encrypted data (71) by performing parallel operations on data (70) using the first pseudo-random sequence A (31), B (31), and C (31) as an example. According to this,

[0116] In the data processing device (100a, 100b) of the present invention, when the first pseudo-random sequence generation module (30a) generates a first pseudo-random sequence A (31) of 1000 bytes, a first pseudo-random sequence B (31) of 2000 bytes, and a first pseudo-random sequence C (31) of 3000 bytes, the XOR operation module (50) divides the data (70) into blocks of the sizes of the first pseudo-random sequences A (31), B (31), and C (31) and outputs encrypted data (71) by performing parallel operations using the first pseudo-random sequences A (31), B (31), and C (31) simultaneously in two or more blocks, or outputs decrypted data (70) by performing parallel operations on the encrypted data (71).

[0117] Additionally, although not shown in the drawing, XOR operations can be performed on each block sequentially or in any order (since the FOR EACH syntax can be used).

[0118] FIG. 4 shows a process of encrypting or decrypting data (70) or decrypting encrypted data (71) by using an internal operation process of performing an XOR operation on the remaining data (70) or the remaining encrypted data (71) including a part of the preceding XOR operation result as one large block, using a parallel operation method that simultaneously executes internal operations on two or more large blocks, using a data data processing device (100a, 100b) of the present invention as an example, using a first pseudo-random number sequence A (31), B (31), and C (31).

[0119] Accordingly, in the case where the first pseudo-random number sequence generation module (30a) in the data encryption and data decryption device (100a, 100b) of the present invention generates two or more first pseudo-random number sequences (31), that is, the first pseudo-random number sequence A (31) of 1000 bytes, the first pseudo-random number sequence B (31) of 2000 bytes, and the first pseudo-random number sequence C (31) of 3000 bytes, the data processing device (100a) encrypts data (70) by performing an XOR operation using the first pseudo-random number sequence in the order of A (31) -> B (31) -> C (31) in the XOR operation module (50), and repeats the process of performing an XOR operation on the remaining data (70) including a part of the preceding XOR operation result in a predetermined order, and operates as one large block, but for two or more large blocks, sequentially or in an arbitrary order (e.g., since the FOR EACH statement can be used), or simultaneously Encrypted data (71) can be output by performing an XOR operation on data (70) using a parallel operation that executes internal operations.

[0120] The data processing device (100b) decrypts encrypted data (71) by performing an XOR operation in the XOR operation module (50) using the first pseudo-random number sequence in the order of C (31) -> B (31) -> A (31) in the reverse order of the XOR operation performed by the XOR operation module (50) of the data encryption device (100a), and repeats the process of performing an XOR operation on the remaining encrypted data (71) including a part of the result of the preceding XOR operation, as one large block, and performs the operation. However, for two or more large blocks, the encrypted data (71) can be XOR-operated in a parallel operation that executes internal operations sequentially or in an arbitrary order (e.g., since the FOR EACH statement can be used) or simultaneously, and outputs the decrypted data (70).

[0121] At this time, it is desirable to execute internal operations using all of the first pseudo-random number sequence (31), and it may be modified to use only some of them in certain blocks according to a predetermined algorithm, but this is an unnecessary application example.

[0122] To explain again with an example,

[0123] As in Fig. 4, in the case where an XOR operation is first performed with a first pseudo-random sequence A (31) of size 1000 BYTEs and then an XOR operation is performed again with a first pseudo-random sequence B (31) of size 2000 BYTEs,

[0124] In the case of performing an XOR operation with B(31) on the remaining data (70), including, for example, 200 BYTEs (the size of the BYTEs including the preceding XOR operation result can be determined according to a given algorithm or can be determined to a given size), an XOR operation is performed on 2000 BYTEs, which is the sum of 200 BYTEs of the preceding XOR operation result and 1800 BYTEs of the remaining data (70), with B(31) of 2000 BYTEs.

[0125] At this time, although not expressed in the drawing, if the remaining data (70) is less than 1800 BYTE, for example, only 1000 BYTE, the 800 BYTE portion in B (31) is not used for the XOR operation, and the XOR operation within the large block is terminated. This is also the same in the XOR operation for decrypting encrypted data (71), so it is not explained again.

[0126] At this time, the predetermined operation order within the large block may be changed to various ways, such as A->C->B or C->A->B, but this is actually an unnecessary variation.

[0127] In addition, although not described in the drawing, in the case where the data processing device (100a) or the data processing device (100b) of the present invention includes a SIZE sequence generation module (60) or does not include a SIZE sequence generation module (60), in the case where the first pseudo-random sequence generation module (30a) generates only one first pseudo-random sequence (31),

[0128] Just as in the case where the first pseudo-random sequence (31) is multiple, such as A (31), B (31), and C (31), even in the case where there is only one first pseudo-random sequence (31), it is possible to perform an XOR operation on the remaining data (70) or the remaining encrypted data (71) by including a part of the preceding XOR operation result by repeatedly using it several times according to a predetermined algorithm.

[0129] That is, the XOR operation module (50) calculates a part of the data (70) with a first pseudo-random number sequence (31) and then XOR-operates the remaining data (70) including a part of the XOR operation result with the first pseudo-random number sequence (31) again, and repeats this process several times according to a predetermined algorithm, making one large block, and calculating one or more large blocks, but calculating two or more large blocks sequentially or in an arbitrary order, or performing parallel calculations simultaneously, can encrypt data (70) and output encrypted data (71), or decrypt encrypted data (71) and output decrypted data (70).

[0130] At this time, the number of times the operation within a large block is repeated under what conditions is left to a given algorithm, and since an infinite number of different applications are possible, it is not described or expressed in detail.

[0131] FIG. 5 illustrates encryption using the data processing device (100a) according to the present invention described above with a public key encryption module (300) between a server and a client, and decryption using a private key decryption module (400) with a private key corresponding to the public key with the data processing device (100b). At this time, FIG. 5 illustrates a LOG-IN protection method between a server and a client. For example, FIG. 5 illustrates that a client encrypts LOG-IN data using a data processing device (100a) and a public key encryption module (300), and a server decrypts the encrypted LOG-IN data using a data processing device (100b) and a private key decryption module (400). One embodiment implemented according to the city in FIG. 5 shows a data processing device or / and method for encrypting data by providing a public key encryption module (300) together with a data processing device (100a) in a client, and at the same time, another embodiment shows a data processing device or / and method for decrypting data by providing a private key decryption module (400) together with a data processing device (100b) in a server.

[0132] Referring to FIG. 5, in a data processing method for encrypting or decrypting LOG-IN data in a connection between a client and a server, the process of encrypting LOG-IN data to be transmitted by the client to the server includes a first encryption process and a second encryption process using a public key. At this time, the first encryption process corresponds to the process of encrypting data in the data processing method according to any one of the above, and in the first encryption process, a random number sequence (10) is generated differently by the client each time, a PASSWORD (20) uses a PASSWORD for LOG-IN, data (70) is LOG-IN data (70) including the PASSWORD for LOG-IN, and encrypted data (71) is encrypted LOG-IN data (71) in which the LOG-IN data (70) is encrypted. In the second encryption process, the client encrypts the LOG-IN ID together with the encrypted LOG-IN data (71) and the encrypted random number sequence (11) using a public key (301) provided by the server, one or more of which are LOG-IN IDs, to generate public key encrypted data (302).

[0133] Referring to FIG. 5, in a data processing method for encrypting or decrypting LOG-IN data in a connection between a client and a server, the process in which the server, which has received encrypted data from the client, decrypts the data includes a first decryption process for decrypting public key encrypted data and a second decryption process for decrypting the data decrypted in the first decryption process. At this time, in the first decryption process, the server, which has received public key encrypted data (302) encrypted with a public key provided by the server to the client, decrypts the public key encrypted data (302) using a private key (401) corresponding to the public key to extract encrypted LOG-IN data (71), an encrypted random number sequence (11), and a LOG-IN ID. The second decryption process corresponds to a process for decrypting data in any of the data processing methods described above. At this time, in the second decryption process, the LOG-IN PASSWORD assigned to the LOG-IN ID decrypted in the first decryption process is used as the PASSWORD (20), and the PASSWORD (20) and the encrypted random number sequence (11) are used to decrypt the encrypted random number sequence (11) and the encrypted LOG-IN data (71), thereby outputting the decrypted random number sequence (10) and the decrypted LOG-IN data (70). If the server fails in the process of decrypting the data, it rejects the client's connection.

[0134] In one example, if the server fails in the process of decrypting data, it may be because the data is not encrypted with the public key corresponding to the private key (401), and thus decryption fails in the first decryption process, or decryption using the PASSWORD (20) and the encrypted random number sequence (11) fails in the second decryption process. Even if the server succeeds in decrypting the data, it may be because the decrypted random number sequence (10) is determined to have been reused. In this case, the server may reject the client's connection.

[0135] Let's look at it more specifically again with reference to Figure 5:

[0136] The client encrypts the 'LOG-IN data including the LOG-IN PASSWORD' (70) by the data processing device (100a) using the PASSWORD for LOG-IN as the PASSWORD (20) of the encryption device (100a), and uses a random number sequence (10) that is generated differently each time from the PASSWORD (20), and outputs the encrypted LOG-IN data (71) and the encrypted random number sequence (11).

[0137] The LOG-IN ID, the encrypted LOG-IN data (71), and the encrypted random number sequence (11) are encrypted using a public key (301) provided by the server in a public key data encryption device (300) to output “log-in data encrypted with a public key” (302) and transmit it to the server.

[0138] At this time, the LOG-IN data (302) encrypted with the public key can be transmitted by encrypting the LOG-IN ID, the encrypted LOG-IN data (71), and the encrypted random number sequence (11) individually or in groups of two or more using the public key.

[0139] When the server receives the above “LOG-IN data encrypted with public key” (302),

[0140] The server uses the private key (401) in the private key data decryption device (400) to decrypt the “LOG-IN data encrypted with the public key” (302) with the private key, and extracts “LOG-IN ID, encrypted LOG-IN data (71), and encrypted random number sequence (11)” from the “LOG-IN data decrypted with the private key” (402).

[0141] The LOG-IN PASSWORD assigned to the decrypted LOG-IN ID is used as the PASSWORD (20), and the encrypted random number sequence (11) and the PASSWORD (20) are used to decrypt the encrypted LOG-IN data (71) and the encrypted random number sequence (11) in the decryption device (100b) to output the decrypted LOG-IN data (70) and the decrypted random number sequence (10), and the 'LOG-IN data including the PASSWORD for LOG-IN' (70) is extracted from the decrypted LOG-IN data (70) and compared with the LOG-IN PASSWORD assigned to the LOG-IN ID held by the server and other various information to determine whether to connect.

[0142] If the server fails the above decryption process, it rejects the connection because the public key was not used or the LOG-IN PASSWORD assigned to the LOG-IN ID, i.e. PASSWORD (20), is not decrypted.

[0143] Even if the above decryption process is successful, if it is determined that the decrypted random number sequence (10) has been reused, access may be denied as it is considered that a third party has intercepted and reused the LOG-IN data transmitted and received over the network without authorization.

[0144] In addition, if the decrypted 'LOG-IN data including PASSWORD for LOG-IN' (70) includes other information required for LOG-IN, such as information on the client's computer, the server may review this and allow or deny access.

[0145] At this time, even if a third party decrypts the “log-in data encrypted with a public key” (302) by neutralizing the public key-private key encryption method using a quantum computing method and extracts the log-in ID, the encrypted random number sequence (11) cannot be decrypted unless the PASSWORD (20) is known, and thus the encrypted log-in data (71) cannot be decrypted. In addition, even if the log-in data is intercepted and reused by a third party, access can be denied, thereby providing a secure log-in between the server and client without an auxiliary device such as an OTP.

[0146] In addition, after successful LOG-IN, all network transmission and reception data between the server and client are encrypted and transmitted using the data processing device (100a, 100b) of the present invention, and the received data can be decrypted, so that a third party cannot know any data being transmitted over the network unless they directly hack the server or client, and if only encrypted communication according to the present invention is allowed, it is also impossible for a third party to hack the server-client.

[0147] Of course, if only encrypted communication is allowed between the server and client from the beginning by the data processing device (100a, 100b) of the present invention, there is no need to encrypt LOG-IN data separately.

[0148] The data processing device of the present invention can easily add a means for verifying whether the decrypted data (70) is identical to the original data, and a preferred embodiment is shown in FIGS. 6a and 6b.

[0149] First, referring to FIGS. 6a and / or 6b, in one example, the data processing device may further include a HASH module (80) that generates HASH data (70v). Although the HASH module (80) or the HASH module (80) and the verification module (90) are depicted separately from the data processing device (100a, 100b) in FIGS. 6a and 6b, they may be understood as part of the data processing device (100a, 100b). Alternatively, the data processing device (100a, 100b) depicted separately from the HASH module (80) or the HASH module (80) and the verification module (90) as depicted in FIGS. 6a and 6b may be understood as the data processing device (100a, 100b) in the embodiment according to FIGS. 1a to 4.

[0150] At this time, referring to FIG. 6a, when the data processing device performs encryption, the HASH module (80) can generate HASH data (70v) for all or one or more parts of the data (70) according to a predetermined algorithm. In addition, the XOR operation module (50) can output encrypted HASH data (71v) by performing an XOR operation on the HASH data (70v) using the first pseudo-random number sequence (31).

[0151] Alternatively, referring to FIG. 6b, when the data processing device (100b) performs decryption, the XOR operation module (50) may perform an XOR operation on the encrypted HASH data (71v) using the first pseudo-random number sequence (31) to output decrypted HASH data (70v). The HASH module (80) may generate HASH data (70v) for all or one or more parts of the decrypted data (70) according to a predetermined algorithm. In addition, when performing decryption, the data processing device (100b) may further include a verification module (90) that compares the HASH data (70v) generated by the HASH module (80) and the decrypted HASH data (70v) output from the XOR operation module (50), and if they do not match, deems the decryption to have failed and stops the decryption of the encrypted data (71).

[0152] At this time, when the data processing device performs encryption, the HASH module (80) generates HASH data (70v) using one or more of a random random number sequence (10) or a PASSWORD (20) as input values, and when the data processing device performs decryption, the HASH module (80) can generate HASH data (70v) using one or more of a decrypted random random number sequence (10) or a PASSWORD (20) as input values.

[0153] Let us look at this in more detail again with reference to Figures 6a and 6b.

[0154] According to FIG. 6a, the data processing device according to the present invention further includes a HASH module (80) as a verification means, wherein the HASH module (80) generates HASH data (70v) for all or one or more parts of data (70) according to a predetermined algorithm, and the data processing device (100a) outputs encrypted HASH data (71v).

[0155] Since the HASH module (80) can determine in various ways whether to derive a HASH value for all or a portion of the data (70) according to a predetermined algorithm, the HASH module (80) is expressed as generating HASH data (70v) for all or one or more portions of the data (70) according to a predetermined algorithm, and no explanation is provided for various cases.

[0156] Alternatively, as shown in FIG. 6a, the HASH module (80) can generate HASH data (70v) for all or one or more parts of data (70) according to a predetermined algorithm using one or more of a random number sequence (10) or a PASSWORD (20) as input values. However, if the random number sequence (10) or PASSWORD (20) used as an input value changes, the HASH data (70v) also changes.

[0157] According to FIG. 6b, the data processing device according to the present invention further includes a HASH module (80) and a verification module (90) as verification means, and when the decryption device (100b) according to the present invention decrypts encrypted data (71) and encrypted HASH data (71v) and outputs decrypted data (70) and decrypted HASH data (70v), the HASH module (80) generates HASH data (70v) for all or one or more parts of the decrypted data (70) according to a predetermined algorithm.

[0158] The above verification module (90) compares the decrypted HASH data (70v) with the HASH data (70v) to verify whether they match. If they match, the decrypted data (70) is considered to match the original data. If they do not match, the decryption can be stopped.

[0159] This is due to the characteristics of the HASH function. For data A and its HASH data AH, data AHR, which is the XOR of HASH data AH with a predetermined random number sequence R, does not become the HASH data of data AR, which is the XOR of data A with a predetermined random number sequence R.

[0160] In addition, the HASH module (80) of the data processing device (100b) must generate HASH data (70v) for all or one or more parts of the decrypted data (70) according to the same predetermined algorithm as the HASH module (80) of the data processing device (100a).

[0161] Accordingly, when the HASH module (80) that generated the encrypted HASH data (71v) uses one or more of the random number sequence (10) or PASSWORD (20) as an input value, the HASH device (50) of the data processing device (100b) must also use one or more of the random number sequence (10) or PASSWORD (20) decrypted by the data processing device (100b) as an input value of the HASH device (50).

[0162] Meanwhile, in the case where data (70) and one or more of a random number sequence (10) or a PASSWORD (20) are used as input values ​​of the HASH module (80), the ENCODING method can be modified to match the BYTE size of the input variable of the HASH module (80), or the HASH device can be manufactured to accommodate the BYTE size of the input value, but this is natural and will not be explained further.

[0163] As seen above, the present invention is a method and device for encrypting or decrypting data by performing an XOR operation with a pseudo-random number sequence of a predetermined BYTE size generated using a random random number sequence and a password (PASSWORD) as input values, and the used random random number sequence is protected by encrypting it again with a pseudo-random number sequence of a predetermined BYTE size generated using the PASSWORD, so that a third party who does not know the PASSWORD cannot decrypt it without permission, and therefore does not provide any other decryption method other than a method of attempting decryption one by one by substituting all available PASSWORDs.

[0164] In addition, the present invention uses a SIZE generator so that a third party who does not know the PASSWORD cannot even know the BYTE size of the pseudo-random number sequence used in the XOR operation, and therefore it is impossible to use the so-called latest 'divide-and-conquer strategy', and therefore does not provide any other decryption method other than a method of attempting decryption one by one by substituting all available PASSWORDs.

[0165] In addition, the present invention can protect data stored in volatile and non-volatile storage devices, and can protect server-client LOG-IN data or transmission-reception data and various network transmission data without auxiliary devices such as OTP, and can protect internal data and internal-external transmission data of personal, vehicle, large-scale computing devices, various smart devices, wired / wireless communication devices, and is therefore an industrially very useful invention.

[0166] Next, a data processing method for encrypting or decrypting data according to another aspect of the present invention will be specifically examined. Reference may be made to the embodiments of the data processing devices described above, as illustrated in FIGS. 1A to 6B. FIGS. 7A to 8B illustrate a schematic flowchart of a data processing method according to an example of the present invention.

[0167] First, referring to FIGS. 7a to 8b, a data processing method according to one example includes a first pseudo-random number sequence generation step (S100, S100', S1600, S1600'), a second pseudo-random number sequence generation step (S300, S1200), a random number sequence operation step (S500, S1400), and a data operation step (S700, S1800). At this time, referring to FIG. 7a or / and 8a, in the data processing method for encrypting data, a first pseudo-random number sequence (31) is generated using a random random number sequence (10) and PASSWORD (20) as input values ​​in a first pseudo-random number sequence generation step (S100, S100'), a second pseudo-random number sequence (41) of a predetermined size is generated using PASSWORD (20) as an input value in a second pseudo-random number sequence generation step (S300), an encrypted random number sequence (11) is output by performing an XOR operation on the random random number sequence (10) using the second pseudo-random number sequence (41) in a random number sequence operation step (S500), and an encrypted random number sequence (11) is generated by performing an XOR operation on data (70) using the first pseudo-random number sequence (31) in a data operation step (S700). Accordingly, encryption is performed on the random number sequence (10) and data (70).

[0168] Also, referring to FIGS. 7b and / or 8b, in the data processing method for decrypting data, in the second pseudo-random number sequence generation step (S1200), a second pseudo-random number sequence (41) of a predetermined size is generated using PASSWORD (20) as an input value, and in the random number sequence operation step (S1400), the second pseudo-random number sequence (41) is used to perform an XOR operation on an encrypted random number sequence (11) to output a decrypted random number sequence (10), and in the first pseudo-random number sequence generation step (S1600, S1600'), a first pseudo-random number sequence (31) is generated from the input values ​​of the decrypted random number sequence (10) and PASSWORD (20), and in the data operation step (S1800), the first pseudo-random number sequence (31) is used to perform an XOR operation on encrypted data (71) to generate decrypted data (70). Accordingly, decrypted data (70) is output.

[0169] Referring to FIGS. 8A and 8B, in one example, the data processing method may further include a SIZE sequence generation step (S50, S1500) for generating a SIZE sequence (61) composed of one or more integers. At this time, referring to FIG. 8A, in the data processing method for encrypting data: in the SIZE sequence generation step (S50), a SIZE sequence (61) composed of one or more integers is generated using at least one of a random random sequence (10) or a PASSWORD (20) as an input value; and in the first pseudo-random sequence generation step (S100'), one or more first pseudo-random sequences (31) having the same BYTE size as the integers constituting the SIZE sequence (61) according to the SIZE sequence (61) may be generated from the input values ​​of the random random sequence (10) and the PASSWORD (20).

[0170] Referring to FIG. 8b, in a data processing method for decrypting data, in a SIZE sequence generation step (S1500), a SIZE sequence (61) composed of one or more integers is generated as an input value using at least one of a decrypted random random sequence (10) or a PASSWORD (20); and in a first pseudo-random sequence generation step (S1600'), one or more first pseudo-random sequences (31) having the same BYTE size as the integers constituting the SIZE sequence (61) according to the SIZE sequence (61) can be generated from the input values ​​of the decrypted random random sequence (10) and the PASSWORD (20).

[0171] Also, referring to FIG. 5, in one example, the data processing method may further include a hashing step of generating HASH data (70v) and a HASH data operation step of encrypting or decrypting by performing an XOR operation on the HASH data. At this time, the hashing step may be performed by a HASH module (80) or a HASH device (80). Referring to FIG. 5, in the data processing method for encrypting data: in the hashing step, HASH data (70v) may be generated for all or one or more parts of the data (70) according to a predetermined algorithm; and in the HASH data operation step, the first pseudo-random number sequence (31) may be used to perform an XOR operation on the HASH data (70v) to output encrypted HASH data (71v).

[0172] Referring to FIG. 5, in the data processing method for decrypting data: in the HASH data operation step, the encrypted HASH data (71v) is XOR-operated using the first pseudo-random number sequence (31) to output the decrypted HASH data (70v); and in the hashing step, HASH data (70v) for all or one or more parts of the decrypted data (70) can be generated according to a predetermined algorithm. At this time, the data processing method for decrypting data may further include a verification step for comparing the HASH data (70v) generated in the hashing step with the HASH data (70v) decrypted in the HASH data decryption step, and if they match, the decryption process for the encrypted data (71) is performed, and if they do not match, the decryption is deemed to have failed and the decryption for the encrypted data (71) is stopped. The verification step may be performed by a verification module (90) or a verification device (90).

[0173] At this time, in one example, in a data processing method for encrypting data, in the hashing step, HASH data (70v) may be generated by using one or more of a random random number sequence (10) or a PASSWORD (20) as input values, and in a data processing method for decrypting data, in the hashing step, HASH data (70v) may be generated by using one or more of a decrypted random random number sequence (10) or a PASSWORD (20) as input values.

[0174] Also, in one example, a case will be examined where a first pseudo-random sequence (31) is generated in the first pseudo-random sequence generation step (S100, S100', S1600, S1600') and the size of data (70) or encrypted data (71) is larger than the first pseudo-random sequence (31). At this time, in the data processing method for encrypting data, the encrypted data (71) can be output by dividing the data (70) into two or more blocks in the size of the first pseudo-random sequence (31) in the data operation step (S700) and performing parallel operations on each block sequentially or in an arbitrary order or simultaneously in two or more blocks. Alternatively, in a data processing method for decrypting data, in a data operation step (S1800), encrypted data (71) may be divided into two or more blocks in the size of the first pseudo-random number sequence (31), and each block may be sequentially or randomly operated on, or may be parallel operated on two or more blocks simultaneously, to output decrypted data (70).

[0175] In another example, a first pseudo-random sequence (31) may be generated in the first pseudo-random sequence generation steps (S100, S100', S1600, S1600'). At this time, in the data processing method for encrypting data, in the data operation step (S700), a part of the data (70) is operated with the first pseudo-random sequence (31), and an internal operation process of XOR-operating a data block including a part of the XOR operation result and all or a part of the remainder of the data (70) again with the first pseudo-random sequence (31) is performed once or repeatedly several times according to a predetermined algorithm, and one or more large blocks are operated, but for two or more large blocks, the operations are performed sequentially or in an arbitrary order, or simultaneously in parallel, thereby encrypting the entire data (70) and outputting the encrypted data (71).

[0176] Alternatively, in a data processing method for decrypting data, in a data operation step (S1800), a part of the encrypted data (71) is operated with a first pseudo-random sequence (31), and an encrypted data block containing a part of the XOR operation result and all or part of the remainder of the encrypted data (71) is XOR-operated again with the first pseudo-random sequence (31) by performing an internal operation process once or repeatedly several times according to a predetermined algorithm as one large block, and the encrypted data (71) can be decrypted by operating one or more large blocks, but for two or more large blocks, the operation is performed sequentially or in an arbitrary order, or by performing parallel operation at the same time, thereby outputting the decrypted data (70).

[0177] Also, according to one example, two or more first pseudo-random number sequences (31) can be generated in the first pseudo-random number sequence generation step (S100, S100', S1600, S1600'). At this time, in the data processing method for encrypting data, in the data operation step (S700), when performing an XOR operation on the data (70) using two or more first pseudo-random number sequences (31), a part of the data (70) is operated with one first pseudo-random number sequence (31) according to a predetermined algorithm, and a data block including a part of the XOR operation result and all or part of the remainder of the data (70) is sequentially XOR-operated with another first pseudo-random number sequence (31), and the internal operation process is performed once or repeatedly several times as one large block, and one or more large blocks are operated, but for two or more large blocks, they are operated sequentially or in an arbitrary order, or operated in parallel at the same time, so that the entire data (70) can be encrypted.

[0178] Alternatively, in a data processing method for decrypting data, in the data operation step (S1800), when performing an XOR operation on encrypted data (71) using two or more first pseudo-random number sequences (31), a part of the encrypted data (71) is operated with one first pseudo-random number sequence (31) according to a predetermined algorithm, and an encrypted data block including a part of the XOR operation result and all or part of the remainder of the encrypted data (71) is XOR-operated with another first pseudo-random number sequence (31). This is performed once or repeatedly several times, and one or more large blocks are operated, but for two or more large blocks, the operations are performed sequentially or in an arbitrary order, or by performing parallel operations simultaneously, so that the entire encrypted data (71) can be decrypted.

[0179] In the above, the above-described embodiment(s) and / or attached drawing(s) have been described by way of example to help those skilled in the art understand the present invention, and various embodiments of the present invention can be implemented in various modified forms according to various combinations of the above-described components without departing from the essential characteristics of the present invention, and further, can be implemented in forms in which new components are added. Accordingly, the scope of the present invention should be interpreted to include not only the above-described embodiments but also various modifications, alternatives, and equivalent embodiments made by those skilled in the art.

[0180] The present invention relates to a technology related to encryption or decryption, and is useful in the fields of networks and communications.

Claims

1. In a data processing device that performs encryption or decryption of data, It includes a pseudo-random number sequence generation module (30) that generates first and second pseudo-random number sequences (31, 41) and an XOR operation module (50) that performs an XOR operation to encrypt or decrypt, When the data processing device performs the encryption: the pseudo-random number sequence generation module (30) generates the first pseudo-random number sequence (31) using the random random number sequence (10) and PASSWORD (20) as input values, and generates the second pseudo-random number sequence (41) of a predetermined size using the PASSWORD (20) as input value; the XOR operation module (50) outputs encrypted data (71) by performing an XOR operation on data (70) using the first pseudo-random number sequence (31), and outputs an encrypted random number sequence (11) by performing an XOR operation on the random random number sequence (10) using the second pseudo-random number sequence (41). When the data processing device performs the decryption: the pseudo-random number sequence generation module (30) generates a second pseudo-random number sequence (41) of a predetermined size using the PASSWORD (20) as an input value and generates a first pseudo-random number sequence (31) using the decrypted random number sequence (10) and the PASSWORD (20) as input values; the XOR operation module (50) performs an XOR operation on the encrypted random number sequence (11) using the second pseudo-random number sequence (41) to output the decrypted random number sequence (10), and decrypts the encrypted data (71) using the first pseudo-random number sequence (31) to perform an XOR operation. A data processing device characterized by:

2. In claim 1, It further includes a SIZE sequence generation module (60) that generates a SIZE sequence (61) consisting of one or more integers, When the data processing device performs the encryption: the SIZE sequence generation module (60) generates the SIZE sequence (61) composed of one or more integers as an input value of at least one of the random random sequence (10) or PASSWORD (20); the pseudo-random sequence generation module (30) generates at least one first pseudo-random sequence (31) having a BYTE size equal to an integer constituting the SIZE sequence (61) according to the SIZE sequence (61) from the input values ​​of the random random sequence (10) and PASSWORD (20); and the XOR operation module (50) performs an XOR operation on the data (70) using the at least one first pseudo-random sequence (31) to output the encrypted data (71). When the data processing device performs the decryption: the SIZE sequence generation module (60) generates a SIZE sequence (61) composed of one or more integers as an input value of one or more of the decrypted random random sequence (10) or the PASSWORD (20); the pseudo-random sequence generation module (30) generates one or more first pseudo-random sequences (31) having the same BYTE size as the integers constituting the SIZE sequence (61) according to the SIZE sequence (61) from the input values ​​of the decrypted random random sequence (10) and the PASSWORD (20); and the XOR operation module (50) performs an XOR operation on the encrypted data (71) using the one or more first pseudo-random sequences (31) to output decrypted data (70). A data processing device characterized by:

3. In claim 1, It further includes a HASH module (80) that generates HASH data (70v), When the data processing device performs the encryption: the HASH module (80) generates the HASH data (70v) for all or one or more parts of the data (70) according to a predetermined algorithm; the XOR operation module (50) performs an XOR operation on the HASH data (70v) using the first pseudo-random number sequence (31) to output encrypted HASH data (71v); When the data processing device performs the decryption: the XOR operation module (50) performs an XOR operation on the encrypted HASH data (71v) using the first pseudo-random number sequence (31) to output decrypted HASH data (70v); the HASH module (80) generates the HASH data (70v) for all or one or more parts of the decrypted data (70) according to a predetermined algorithm, When performing the above decryption, the data processing device further includes a verification module (90) that compares the HASH data (70v) generated by the HASH module (80) with the decrypted HASH data (70v) output from the XOR operation module (50), and if they do not match, decryption is deemed to have failed and decryption of the encrypted data (71) is stopped. A data processing device characterized by:

4. In claim 3, When the data processing device performs the encryption, the HASH module (80) generates the HASH data (70v) by using one or more of the random number sequence (10) or PASSWORD (20) as input values, When the data processing device performs the decryption, the HASH module (80) generates the HASH data (70v) by using one or more of the decrypted random number sequence (10) or the PASSWORD (20) as input values. A data processing device characterized by:

5. In any one of claims 1 to 4, A data processing device characterized in that the above pseudo-random number sequence generation module (30) comprises a first pseudo-random number sequence generation module (30a) that generates the first pseudo-random number sequence (31) and a second pseudo-random number sequence generation module (30b) that generates the second pseudo-random number sequence (41).

6. In any one of claims 1 to 4, The above pseudo-random number sequence generation module (30) generates one first pseudo-random number sequence (31), and in the case where the size of the data (70) or the encrypted data (71) is larger than the first pseudo-random number sequence (31), When the data processing device performs the encryption, the XOR operation module (50) divides the data (70) into two or more blocks with the size of the first pseudo-random number sequence (31) and outputs the encrypted data (71) by performing parallel operations on each block sequentially or in a random order or simultaneously in two or more blocks. When the data processing device performs the decryption, the XOR operation module (50) divides the encrypted data (71) into two or more blocks in the size of the first pseudo-random number sequence (31) and outputs the decrypted data (70) by performing parallel operations on each block sequentially or in a random order or simultaneously in two or more blocks. A data processing device characterized by:

7. In any one of claims 1 to 4, The above pseudo-random number sequence generation module (30) generates one first pseudo-random number sequence (31), When the data processing device performs the encryption, the XOR operation module (50) performs an internal operation process of calculating a part of the data (70) with the first pseudo-random number sequence (31), and performing an XOR operation on a data block containing a part of the XOR operation result and all or part of the remaining data (70) that has not been calculated again with the first pseudo-random number sequence (31) once or repeatedly several times according to a predetermined algorithm as one large block, and operates one or more large blocks, but for two or more large blocks, operates sequentially or in an arbitrary order, or operates in parallel at the same time, thereby encrypting the entire data (70) and outputting the encrypted data (71). When the data processing device performs the decryption, the XOR operation module (50) operates a part of the encrypted data (71) with the first pseudo-random number sequence (31), and repeats the internal operation process of XOR-operating an encrypted data block including a part of the XOR operation result and all or part of the remaining encrypted data (71) that has not been operated with the first pseudo-random number sequence (31) several times according to a predetermined algorithm as one large block, and operates one or more large blocks, but operates sequentially or in an arbitrary order for two or more large blocks, or operates in parallel at the same time, thereby decrypting the encrypted data (71) and outputting the decrypted data (70). A data processing device characterized by:

8. In any one of claims 1 to 4, The above pseudo-random number sequence generation module (30) generates two or more first pseudo-random number sequences (31), When the data processing device performs the encryption, the XOR operation module (50) performs an XOR operation on the data (70) using the two or more first pseudo-random number sequences (31), and performs an internal operation process of sequentially performing an XOR operation on a data block including a part of the XOR operation result and all or part of the remaining data (70) that has not been operated with another first pseudo-random number sequence (31) according to a predetermined algorithm, once or repeatedly several times, and operates one or more large blocks, and sequentially or in an arbitrary order for two or more large blocks, or simultaneously and in parallel, thereby encrypting the entire data (70). When the data processing device performs the decryption, the XOR operation module (50) performs an XOR operation on the encrypted data (71) using the two or more first pseudo-random number sequences (31), and performs an internal operation process of performing an XOR operation on a part of the encrypted data (71) with one first pseudo-random number sequence (31) according to a predetermined algorithm, and performing an XOR operation on an encrypted data block including a part of the XOR operation result and all or part of the remaining encrypted data (71) that has not been operated with another first pseudo-random number sequence (31) once or repeatedly several times, and decrypts the entire encrypted data (71) by performing an operation on one or more large blocks, but performing the operation sequentially or in an arbitrary order for two or more large blocks, or performing the operation in parallel at the same time. A data processing device characterized by:

9. In any one of claims 1 to 4, The above data processing device has one or more linked processors to perform the encryption or decryption, The above one or two or more linked processors include the pseudo-random number sequence generation module (30) and the XOR operation module (50) as basic modules, or additionally include one or more of the SIZE sequence generation module (60) and the HASH module (80) in addition to the basic module, or additionally include the HASH module (80) and the verification module (90) in addition to the basic module, or additionally include the SIZE sequence generation module (60), the HASH module (80) and the verification module (90). A data processing device characterized by:

10. In a data processing device having one or more processors that are linked to perform encryption or decryption of data, The processor that performs encryption of data (70) in the data processing device generates a first pseudo-random number sequence (31) using a random random number sequence (10) and a PASSWORD (20) as input values, generates a second pseudo-random number sequence (41) of a predetermined size using the PASSWORD (20) as an input value, generates encrypted data (71) by performing an XOR operation on data (70) using the first pseudo-random number sequence (31), generates an encrypted random number sequence (11) by performing an XOR operation on the random random number sequence (10) using the second pseudo-random number sequence (41), and outputs the encrypted data (71) and the encrypted random number sequence (11). The processor that performs decryption of encrypted data (71) in the data processing device generates a second pseudo-random number sequence (41) of a predetermined size using PASSWORD (20) as an input value, performs an XOR operation on the encrypted random number sequence (11) using the second pseudo-random number sequence (41) to generate a decrypted random random number sequence (10), generates a first pseudo-random number sequence (31) using the decrypted random random number sequence (10) and the PASSWORD (20) as input values, and performs an XOR operation on the encrypted data (71) using the first pseudo-random number sequence (31) to generate the decrypted data (70). A data processing device characterized by:

11. In a data processing method for encrypting or decrypting data, It includes a first pseudo-random number sequence generation step, a second pseudo-random number sequence generation step, a random number sequence operation step, and a data operation step, In the data processing method for encrypting the data, in the first pseudo-random number sequence generation step, a first pseudo-random number sequence (31) is generated using a random random number sequence (10) and a PASSWORD (20) as input values; in the second pseudo-random number sequence generation step, a second pseudo-random number sequence (41) of a predetermined size is generated using the PASSWORD (20) as an input value; in the random number sequence operation step, an encrypted random number sequence (11) is output by performing an XOR operation on the random random number sequence (10) using the second pseudo-random number sequence (41); in the data operation step, an XOR operation on data (70) using the first pseudo-random number sequence (31) is performed to generate encrypted data (71), and encryption is performed on the random random number sequence (10) and the data (70). In the data processing method for decrypting the data, in the second pseudo-random number sequence generation step, a second pseudo-random number sequence (41) of a predetermined size is generated using PASSWORD (20) as an input value; in the random number sequence operation step, an encrypted random number sequence (11) is XOR-operated using the second pseudo-random number sequence (41) to output a decrypted random random number sequence (10); in the first pseudo-random number sequence generation step, a first pseudo-random number sequence (31) is generated from the decrypted random random number sequence (10) and the input value of the PASSWORD (20); in the data operation step, decrypted data (70) is generated by XOR-operating encrypted data (71) using the first pseudo-random number sequence (31), and the decrypted data (70) is output. A data processing method characterized by:

12. In claim 11, It further includes a SIZE sequence generation step for generating a SIZE sequence (61) consisting of one or more integers, In the data processing method for encrypting the data, in the SIZE sequence generation step, the SIZE sequence (61) composed of one or more integers is generated using at least one of the random random number sequence (10) or the PASSWORD (20) as an input value; and in the first pseudo-random number sequence generation step, one or more of the first pseudo-random number sequences (31) having the same BYTE size as the integers constituting the SIZE sequence (61) according to the SIZE sequence (61) are generated from the input values ​​of the random random number sequence (10) and the PASSWORD (20). In the data processing method for decrypting the data, in the SIZE sequence generation step, one or more of the decrypted random random number sequence (10) or the PASSWORD (20) is used as an input value to generate the SIZE sequence (61) composed of one or more integers; and in the first pseudo-random number sequence generation step, one or more first pseudo-random number sequences (31) having the same BYTE size as the integers constituting the SIZE sequence (61) are generated from the input values ​​of the decrypted random random number sequence (10) and the PASSWORD (20). A data processing method characterized by:

13. In claim 11, The above data processing method further includes a hashing step for generating HASH data (70v) and a HASH data operation step for encrypting or decrypting by performing a HASH data XOR operation. In the data processing method for encrypting the data, in the hashing step, the HASH data (70v) is generated for all or one or more parts of the data (70) according to a predetermined algorithm; in the HASH data operation step, the first pseudo-random number sequence (31) is used to perform an XOR operation on the HASH data (70v) to output encrypted HASH data (71v); In the data processing method for decrypting the data, in the HASH data operation step, the encrypted HASH data (71v) is XOR-operated using the first pseudo-random number sequence (31) to output the decrypted HASH data (70v); and in the hashing step, the HASH data (70v) is generated for all or one or more parts of the decrypted data (70) according to a predetermined algorithm. The data processing method for decrypting the data further includes a verification step of comparing the HASH data (70v) generated in the hashing step with the decrypted HASH data (70v) in the HASH data decryption step, and if they match, the decryption process for the encrypted data (71) is performed, and if they do not match, the decryption is considered to have failed and the decryption for the encrypted data (71) is stopped. A data processing method characterized by:

14. In claim 13, In the data processing method for encrypting the data, in the hashing step, the HASH data (70v) is generated by using one or more of the random number sequence (10) or the PASSWORD (20) as input values, In the data processing method for decrypting the data, in the hashing step, the HASH data (70v) is generated by using one or more of the decrypted random number sequence (10) or the PASSWORD (20) as input values. A data processing method characterized by:

15. In any one of claims 11 to 14, In the above first pseudo-random number sequence generation step, when one first pseudo-random number sequence (31) is generated and the size of the data (70) or the encrypted data (71) is larger than the first pseudo-random number sequence (31), In the data processing method for encrypting the data, in the data operation step, the data (70) is divided into two or more blocks by the size of the first pseudo-random number sequence (31), and each block is sequentially or randomly operated or parallelly operated in two or more blocks simultaneously to output the encrypted data (71). In the data processing method for decrypting the data, the encrypted data (71) is divided into two or more blocks in the size of the first pseudo-random number sequence (31) in the data operation step, and each block is sequentially or randomly operated or parallelly operated in two or more blocks simultaneously to output the decrypted data (70). A data processing method characterized by:

16. In any one of claims 11 to 14, In the above first pseudo-random number sequence generation step, one first pseudo-random number sequence (31) is generated, In the data processing method for encrypting the data, in the data operation step, a part of the data (70) is operated with the first pseudo-random number sequence (31), and an internal operation process of XOR-operating a data block including a part of the XOR operation result and all or part of the remainder of the data (70) with the first pseudo-random number sequence (31) is performed once or repeatedly several times according to a predetermined algorithm as one large block, and one or more large blocks are operated, but for two or more large blocks, the operations are performed sequentially or in an arbitrary order or simultaneously in parallel, thereby encrypting the entire data (70) and outputting the encrypted data (71). In the data processing method for decrypting the data, in the data operation step, a part of the encrypted data (71) is operated with the first pseudo-random number sequence (31), and an encrypted data block including a part of the XOR operation result and all or part of the remainder of the encrypted data (71) is XOR-operated again with the first pseudo-random number sequence (31) according to a predetermined algorithm, and the internal operation process is performed once or repeatedly several times as one large block, and one or more large blocks are operated, but for two or more large blocks, the operations are performed sequentially or in an arbitrary order, or simultaneously in parallel, thereby decrypting the encrypted data (71) and outputting the decrypted data (70). A data processing method characterized by:

17. In any one of claims 11 to 14, In the above first pseudo-random number sequence generation step, two or more first pseudo-random number sequences (31) are generated, In the data processing method for encrypting the data, in the data operation step, when performing an XOR operation on the data (70) using the two or more first pseudo-random number sequences (31), a part of the data (70) is operated with one first pseudo-random number sequence (31) according to a predetermined algorithm, and a data block including a part of the XOR operation result and all or part of the remainder of the data (70) is sequentially XOR-operated with another first pseudo-random number sequence (31), and the internal operation process is performed once or repeatedly several times as one large block, and one or more large blocks are operated, but for two or more large blocks, the operations are performed sequentially or in an arbitrary order, or simultaneously in parallel, thereby encrypting the entire data (70). In the data processing method for decrypting the data, in the data operation step, when performing an XOR operation on the encrypted data (71) using the two or more first pseudo-random number sequences (31), a part of the encrypted data (71) is operated with one first pseudo-random number sequence (31) according to a predetermined algorithm, and an encrypted data block including a part of the XOR operation result and all or part of the remainder of the encrypted data (71) is XOR-operated with another first pseudo-random number sequence (31), and the internal operation process is performed once or repeatedly several times as one large block, and one or more large blocks are operated, but for two or more large blocks, they are operated sequentially or in an arbitrary order, or operated in parallel at the same time, thereby decrypting the entire encrypted data (71). A data processing method characterized by:

18. In a data processing method for encrypting or decrypting LOG-IN data in a connection between a client and a server, The process of encrypting the LOG-IN data to be transmitted by the client to the server includes a first encryption process and a second encryption process using a public key, The above first encryption process corresponds to a process of encrypting data in the data processing method according to any one of claims 11 to 14, In the above first encryption process, the random number sequence (10) is generated differently by the client each time, the PASSWORD (20) uses the PASSWORD for LOG-IN, the data (70) is LOG-IN data (70) including the PASSWORD for LOG-IN, and the encrypted data (71) is encrypted LOG-IN data (71) in which the LOG-IN data (70) is encrypted. In the second encryption process, the client encrypts the LOG-IN ID together with the encrypted LOG-IN data (71) and the encrypted random number sequence (11) using a public key (301) provided by the server, thereby generating public key encrypted data (302). A data processing method characterized by:

19. In a data processing method for encrypting or decrypting LOG-IN data in a connection between a client and a server, The process of the server receiving encrypted data from the client and decrypting the data includes a first decryption process of decrypting public key encrypted data and a second decryption process of decrypting the data decrypted in the first decryption process. In the above first decryption process, the server, which has received public key encrypted data (302) encrypted with the public key provided by the server to the client, decrypts the public key encrypted data (302) using the private key (401) corresponding to the public key to extract encrypted LOG-IN data (71), encrypted random number sequence (11), and LOG-IN ID. The above second decryption process corresponds to a process of decrypting data in the data processing method according to any one of claims 11 to 14, In the second decryption process, the LOG-IN PASSWORD assigned to the LOG-IN ID decrypted in the first decryption process is used as the PASSWORD (20), and the encrypted random number sequence (11) and the encrypted LOG-IN data (71) are decrypted using the PASSWORD (20) and the encrypted random number sequence (11), thereby outputting the decrypted random number sequence (10) and the decrypted LOG-IN data (70). If the above server fails in the process of decrypting the above data, the client's connection is denied. A data processing method characterized by:

20. In claim 19, If the server fails in the process of decrypting the data, it is because the data is not encrypted with the public key corresponding to the private key (401), and thus decryption fails in the first decryption process, or decryption using the PASSWORD (20) and the encrypted random number sequence (11) fails in the second decryption process. Even if the server succeeds in decrypting the data, if it is determined that the decrypted random number sequence (10) has been reused, the client's connection is denied. A data processing method characterized by:

Citation Information

Patent Citations

  • Authentication method using secret keys derived from user password

    KR1020090039451A

  • Transaction Protection System and Method using Connection of Certificate and OTP Generated by Keystream

    KR1020120093594A

  • Terminal device of invasion sensing system using improved impact sensor

    KR1020240008679A

  • Keystream encryption device, method, and program

    US20110216901A1