JP2009258973A - Information processor - Google Patents

Information processor Download PDF

Info

Publication number
JP2009258973A
JP2009258973A JP2008106955A JP2008106955A JP2009258973A JP 2009258973 A JP2009258973 A JP 2009258973A JP 2008106955 A JP2008106955 A JP 2008106955A JP 2008106955 A JP2008106955 A JP 2008106955A JP 2009258973 A JP2009258973 A JP 2009258973A
Authority
JP
Japan
Prior art keywords
data
input
processing
encryption
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008106955A
Other languages
Japanese (ja)
Inventor
Yasuhiro Yamada
泰弘 山田
Hiromasa Kawabuchi
広征 川渕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2008106955A priority Critical patent/JP2009258973A/en
Publication of JP2009258973A publication Critical patent/JP2009258973A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processor for protecting a database for personal information or the like, and for simplifying processing for the access. <P>SOLUTION: In a server 200, an encryption processing part 202 converts data corresponding to predetermined items among accepted data into binary data. Then, a bit inversion processing part 203 performs bit inversion, and an arithmetic processing part 204 adds a prescribed value to the data subjected to the bit inversion, to encrypt the data corresponding to the item. A database management application 201 causes a database 300 to store the encrypted data and the other input data in association with each other. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、データを暗号化する情報処理装置に関する。   The present invention relates to an information processing apparatus that encrypts data.

近年、個人情報の扱いが厳しくなり、個人情報を本来の目的を外れて使用することが禁じられている。そのために、個人情報を漏洩することがないように考えられている。例えば、特許文献1には、個人情報を記述するデータベースにおける所定の領域を暗号化し、その暗号化したデータを記憶させることが記載されている。
特開2005−309846号公報
In recent years, handling of personal information has become severe, and it is prohibited to use personal information outside its original purpose. Therefore, it is considered that personal information is not leaked. For example, Patent Document 1 describes that a predetermined area in a database describing personal information is encrypted and the encrypted data is stored.
JP 2005-309846 A

しかしながら、データベース全体または所定領域を暗号化すると、個人情報にアクセスするたびに、暗号化されたデータベースを復号することが必要となり、アクセス端末における処理負担が大きい。また、データベース全体を暗号化してしまうと、ソートなどのデータベース内での簡易な処理を行うことができない、という問題もある。   However, if the entire database or a predetermined area is encrypted, it is necessary to decrypt the encrypted database every time personal information is accessed, and the processing load on the access terminal is large. In addition, if the entire database is encrypted, there is a problem that simple processing such as sorting cannot be performed in the database.

そこで、本発明は、個人情報などのデータベースを保護することができるとともに、そのアクセスに対する処理を簡易なものにすることのできる情報処理装置を提供することを目的とする。   Accordingly, an object of the present invention is to provide an information processing apparatus that can protect a database of personal information and the like, and can simplify processing for the access.

上述の課題を解決するために、本発明は、所定の形式に従った項目ごとに区分けされたデータの入力をオペレータから受け付ける入力手段と、前記入力手段により受け付けられたデータのうち予め定められた項目に対するデータを2進数データに変換し、ビット反転処理を行い、ビット反転処理されたデータに対して所定値を加算することで、前記項目に対応するデータを暗号化する暗号化手段と、前記暗号化手段により暗号化された暗号化データを、前記入力手段により入力された他のデータと対応付けて記憶する記憶手段と、備えている。   In order to solve the above-described problem, the present invention provides an input unit that receives an input of data divided into items according to a predetermined format from an operator, and a predetermined one of the data received by the input unit Encrypting means for encrypting data corresponding to the item by converting data for the item into binary data, performing bit inversion processing, and adding a predetermined value to the bit-inverted data; And storage means for storing the encrypted data encrypted by the encryption means in association with the other data input by the input means.

この発明によれば、所定の形式に従った項目ごとに区分けされたデータの入力をオペレータから受け付け、受け付けられたデータのうち予め定められた項目に対するデータを2進数データに変換し、ビット反転処理を行い、ビット反転処理されたデータに対して所定値を加算することで、前記項目に対応するデータを暗号化し、暗号化された暗号化データを、入力された他のデータと対応付けて記憶することができる。これにより、項目単位で暗号化することができ、暗号化する際の処理および閲覧時における復号する際の処理負担を軽減することができる。また、項目単位に暗号化し、またビット反転処理、所定値加算処理を行うことで、暗号化されたデータでソート処理なども可能とし、使いやすいものとすることができる。   According to the present invention, input of data divided into items according to a predetermined format is received from an operator, data for a predetermined item among the received data is converted into binary data, and bit inversion processing is performed. The data corresponding to the item is encrypted by adding a predetermined value to the bit-inverted data, and the encrypted encrypted data is stored in association with other input data can do. Thereby, encryption can be performed on an item-by-item basis, and the processing load when encrypting and decrypting during browsing can be reduced. Further, by performing encryption in item units, performing bit inversion processing, and predetermined value addition processing, sorting processing can be performed on the encrypted data, which can be easily used.

また、本発明の情報処理装置における前記暗号化手段は、前記入力手段により入力された文字が2バイト系文字列である場合には、所定の1バイト分についてのみ暗号化処理を行うことが好ましい。   Moreover, it is preferable that the encryption means in the information processing apparatus of the present invention performs encryption processing only for a predetermined one byte when the character input by the input means is a 2-byte character string. .

この発明によれば、入力された文字が2バイト系文字列(例えば、漢字など)である場合には、所定の1バイト分についてのみ暗号化処理を行うことで、セキュリティを向上させることができる。すなわち、全てに対して暗号化することがないため、暗号化ルールを予測しにくくさせ、よってセキュリティを向上させることができる。   According to the present invention, when the input character is a 2-byte character string (for example, kanji), the security can be improved by performing the encryption process for only a predetermined one byte. . That is, since encryption is not performed for all, it is difficult to predict the encryption rule, and thus security can be improved.

また、本発明の情報処理装置における前記暗号化手段は、前記入力手段により入力された文字種別に応じて、加算する所定値を変えることが好ましい。   Moreover, it is preferable that the encryption means in the information processing apparatus of the present invention changes a predetermined value to be added according to the character type input by the input means.

この発明によれば、入力された文字種別に応じて、加算する所定値を変えることで、セキュリティを向上させることができる。   According to the present invention, it is possible to improve security by changing the predetermined value to be added according to the input character type.

本発明によれば、項目単位で暗号化することができ、暗号化する際の処理および閲覧時における復号する際の処理負担を軽減することができる。また、項目単位に暗号化し、またビット反転処理、所定値加算処理を行うことで、暗号化されたデータでソート処理なども可能とし、使いやすいものとすることができる。   ADVANTAGE OF THE INVENTION According to this invention, it can encrypt by an item unit and can reduce the process burden at the time of the process at the time of encryption, and the decoding at the time of browsing. Further, by performing encryption in item units, performing bit inversion processing, and predetermined value addition processing, sorting processing can be performed on the encrypted data, which can be easily used.

添付図面を参照しながら本発明の実施形態を説明する。可能な場合には、同一の部分には同一の符号を付して、重複する説明を省略する。   Embodiments of the present invention will be described with reference to the accompanying drawings. Where possible, the same parts are denoted by the same reference numerals, and redundant description is omitted.

図1は、本実施形態の入力端末であるPC100を用いた処理概念を示す概念図である。図1に示すように、PC100には、入力手段であるキーボードおよび出力部であるディスプレイが備えられている。このPC100は、データベース管理アプリケーション201および暗号化処理部202を備えるサーバ200とアクセス可能に構成されている。   FIG. 1 is a conceptual diagram showing a processing concept using a PC 100 that is an input terminal of the present embodiment. As shown in FIG. 1, the PC 100 includes a keyboard that is an input unit and a display that is an output unit. The PC 100 is configured to be accessible to a server 200 including a database management application 201 and an encryption processing unit 202.

ユーザUは、PC100を操作することで、ネットワーク上に配置されているサーバ200に保持されているデータベース管理アプリケーション201を操作することにより、当該データベース管理アプリケーション201の処理にしたがって氏名、フリガナ、アルファベット、生年月日、社内情報A、社内情報B・・・などの情報を入力する。一方、暗号化処理部202は、データベース管理アプリケーション201を介して入力されたデータを暗号化する。この暗号化処理部202は、氏名、フリガナ、アルファベットを暗号化するものであって、暗号化されたデータでもソート可能な形に暗号化する。そして、データベース管理アプリケーション201は、これら暗号化されたデータとともに、その他のデータである、生年月日、社内情報Aなどのデータを対応付けて、ネットワーク上に配置されているデータベース300に記憶する。   The user U operates the database management application 201 stored in the server 200 arranged on the network by operating the PC 100, so that the name, reading, alphabet, Enter information such as date of birth, company information A, company information B, etc. On the other hand, the encryption processing unit 202 encrypts data input via the database management application 201. The encryption processing unit 202 encrypts names, readings, and alphabets, and encrypts encrypted data in a sortable form. Then, the database management application 201 stores the encrypted data in association with other data such as the date of birth and company information A in the database 300 arranged on the network.

一方、ユーザUは、PC100およびデータベース管理アプリケーション201を用いて、データベース300からデータベースを閲覧することができる。この場合、暗号化された暗号化データを暗号化することなく、そのままソート処理などのデータベース処理を実行することができる。   On the other hand, the user U can browse the database from the database 300 using the PC 100 and the database management application 201. In this case, database processing such as sort processing can be executed as it is without encrypting the encrypted data.

このような処理を実現するためのPC100およびサーバ200について説明する。図2は、本実施形態のPC100およびサーバ200の機能を示すブロック図である。図2に示すようにPC100は、入力部101(入力手段)および出力部102を備えており、サーバ200は、情報処理装置であって、データベース管理アプリケーション201および暗号化処理部202(ビット反転処理部203、演算処理部204:暗号化手段)を含んで構成されている。このサーバ200は、さらにデータベース300(記憶手段)とアクセスするように構成されている。以下、各構成要素について説明する。   The PC 100 and the server 200 for realizing such processing will be described. FIG. 2 is a block diagram illustrating functions of the PC 100 and the server 200 according to the present embodiment. As shown in FIG. 2, the PC 100 includes an input unit 101 (input means) and an output unit 102, and the server 200 is an information processing apparatus, and includes a database management application 201 and an encryption processing unit 202 (bit inversion processing). Unit 203, arithmetic processing unit 204: encryption means). The server 200 is further configured to access a database 300 (storage means). Hereinafter, each component will be described.

入力部101は、キーボードなどのユーザにより操作され、各種情報の入力を受け付ける部分である。本実施形態においては、入力部101は、ユーザ操作により、社員情報としての情報である、氏名、フリガナ、アルファベット、生年月日、社内情報A、社内情報B等の入力を受け付ける。すなわち、この入力部101は、所定の形式に従った項目ごとに区分けされたデータの入力をオペレータから受け付ける。   The input unit 101 is a part that is operated by a user such as a keyboard and receives input of various types of information. In the present embodiment, the input unit 101 receives input of name, reading, alphabet, date of birth, in-house information A, in-house information B, and the like, which are information as employee information, by a user operation. That is, the input unit 101 receives an input of data divided into items according to a predetermined format from an operator.

出力部102は、ディスプレイなどの、データベース300に記憶されている社員情報を閲覧可能に表示する部分である。   The output unit 102 is a part such as a display that displays employee information stored in the database 300 so as to be viewable.

データベース管理アプリケーション201は、氏名、フリガナ、アルファベット、生年月日、社内情報A、社内情報B等の社員情報を、上記T入力部101からの入力を受け付け、データベースの管理処理を行う部分である。なお、データベース管理アプリケーション201は、入力項目の判定処理も行い、全角文字を対象とするか、半角文字を対象とするか、さらに半角文字のうち、半角カナ、半角英字、半角数字であるかを判定し、その項目の処理区分を管理している。これを用いて、暗号化処理部202では、その処理区分に従った暗号化処理を行うことができる。   The database management application 201 is a part that receives employee information such as name, reading, alphabet, date of birth, in-house information A, and in-house information B from the T input unit 101 and performs database management processing. The database management application 201 also performs input item determination processing to determine whether double-byte characters, single-byte characters, and half-width characters, half-width kana, half-width English characters, and half-width numbers. Judgment is made and the processing category of the item is managed. Using this, the encryption processing unit 202 can perform encryption processing according to the processing classification.

暗号化処理部202は、データベース管理アプリケーション201を介して入力された氏名等を暗号化する部分である。本実施形態では、氏名等については、全て二進数の文字コードとして扱われ、ビット反転処理部203がその2進数からなる文字コードに対してビット反転処理、すなわち1であれば0に、0であれば1に変換する処理を行い、これを16進数のデータに変換し、さらに10進数のデータに変換し、演算処理部204が10進数データに対して、SQL文における処理違反とならないように所定数加算する処理を行う。このように暗号化された暗号化文字をデータベース300に登録する。   The encryption processing unit 202 is a part that encrypts a name and the like input via the database management application 201. In this embodiment, names and the like are all handled as binary character codes, and the bit reversal processing unit 203 performs bit reversal processing on the binary character codes, that is, 0 if 1 and 0. If there is, processing for conversion to 1 is performed, this is converted into hexadecimal data, and further converted into decimal data so that the arithmetic processing unit 204 does not cause a processing violation in the SQL statement for decimal data. A process of adding a predetermined number is performed. The encrypted characters thus encrypted are registered in the database 300.

データベース300は、暗号化処理部202により暗号化されたデータおよび暗号化されていないデータを対応付けて記憶する部分である。これら情報のうち氏名、フリガナ、アルファベットについては、暗号化処理部202において暗号化処理されており、暗号化された情報が記憶されている。図3にデータベース300に記憶されている社員情報の具体例を示す。図3に示されているように、氏名、フリガナ(半角)、氏名アルファベット、生年月日、社内情報A、社内情報Bが対応付けて記憶されている。氏名については、“唾・”、フリガナについては“I.V”、氏名アルファベットについては“.A03−”などの暗号化された情報が記憶されている。ここでの暗号化処理についての詳細は後述する。   The database 300 is a part that stores the data encrypted by the encryption processing unit 202 and the unencrypted data in association with each other. Among these pieces of information, the name, reading, and alphabet are encrypted by the encryption processing unit 202, and the encrypted information is stored. FIG. 3 shows a specific example of employee information stored in the database 300. As shown in FIG. 3, the name, reading (half-width), name alphabet, date of birth, in-house information A, and in-house information B are stored in association with each other. Encrypted information such as “salmon” is stored for the name, “IV” for the reading, and “.A03-” for the name alphabet. Details of the encryption processing here will be described later.

なお、本実施形態では、サーバ200に、データベース管理アプリケーション201および暗号化処理部202を備えているが、これに限るものではなく、PC100にデータベース間Rにアプリケーション201および暗号化処理部202を備えるようにしてもよい。   In this embodiment, the server 200 includes the database management application 201 and the encryption processing unit 202. However, the present invention is not limited to this, and the PC 100 includes the application 201 and the encryption processing unit 202 between the databases R. You may do it.

つぎに、本実施形態のサーバ200の動作について説明する。図4は、サーバ200の動作を示すフローチャートである。   Next, the operation of the server 200 of this embodiment will be described. FIG. 4 is a flowchart showing the operation of the server 200.

データベース管理アプリケーション201により、PC100から入力された各種情報における引数(処理区分)のチェックが行われ(S101)、当該引数が全角漢字、半角英字、半角カナ、半角数字のいずれかであるか、すなわち入力可能文字であるか否かがデータベース管理アプリケーション201により判断される(S102)。ここで入力可能文字ではない、と判断されると、戻り値として“異常終了”の旨をセットし、処理は終了する。   The database management application 201 checks an argument (processing category) in various information input from the PC 100 (S101), and whether the argument is one of double-byte kanji, single-byte alphabet, single-byte kana, or single-byte numeric, It is judged by the database management application 201 whether or not it is an inputable character (S102). If it is determined that the character is not an inputable character, “abnormal end” is set as a return value, and the process ends.

つぎに、データベース管理アプリケーション201において、メモリ(図示せず)上における処理領域の確保が行われる(S103)。メモリ内に空き領域がなく、領域確保ができない場合には(S104)、戻り値として“異常終了”の旨がセットされ、処理は終了する。   Next, the database management application 201 secures a processing area on a memory (not shown) (S103). If there is no free area in the memory and the area cannot be secured (S104), "abnormal end" is set as the return value, and the process ends.

処理領域の確保が行われると、全ての文字列に対する処理が完了したか否かの判定処理がなされる(S105)。初回の場合には、この判定処理は、NOと判定される。そして、入力された文字が漢字などの全角文字か否か、また全角文字である場合には奇数番目の文字コードであるか否かの判定が行われる(S106)。なお、ここでは、入力時における入力対象文字が全角であるか、半角である可など文字種別が定められているため、それに基づいた判定が行われる。また、S105〜S110は、1バイトずつ処理されることになる。よって、S105において、全角文字については文字コードの前半部分と後半部分とに分けられることになる。すなわち、全角文字は、2バイトから構成されており、ここでは2バイト目の部分を“奇数番目”と称し、奇数番目と偶数番目とで区別して処理が行われる(通常、0から番号がふられているため)。例えば、“0000 0000 1111 1111”とする文字コードがあった場合、9桁〜16桁部分の“1111 1111”を奇数番目とし、この部分については、後述するとおり暗号化処理はスキップされる。   When the processing area is secured, it is determined whether or not the processing for all character strings has been completed (S105). In the first case, this determination process is determined to be NO. Then, it is determined whether or not the inputted character is a full-width character such as a Chinese character, and if it is a full-width character, whether or not it is an odd-numbered character code (S106). Here, since the character type is determined such that the input target character at the time of input is full-width or half-width, it is determined based on the character type. S105 to S110 are processed byte by byte. Therefore, in S105, double-byte characters are divided into the first half and the second half of the character code. That is, a double-byte character is composed of 2 bytes. Here, the portion of the second byte is referred to as an “odd number”, and processing is performed by distinguishing between the odd number and the even number (usually, numbers from 0 to 0). Because it is). For example, when there is a character code “0000 0000 1111 1111”, “1111 1111” of the 9th to 16th digits is set to an odd number, and the encryption processing is skipped as described later.

全角文字であり、処理対象部分が奇数番目であると判断されると(S107:NG)、その部分についてはビット反転処理などの暗号化処理を行うことなく、S105に戻り、次の文字コードに対する処理を進める。   If it is determined that the part to be processed is an odd-numbered character (S107: NG), the process returns to S105 without performing encryption processing such as bit inversion processing on the part, and the next character code is processed. Proceed with the process.

また、S107において、全角文字であり、偶数番目と判断されるか、または半角文字であると判断されると(S107:OK)、暗号化処理部202(ビット反転処理部203)において、引数で渡された2進数データをビット反転処理する(S108)。ここでは、半角文字であれば、全部の文字を対象にビット反転処理が行われ、全角文字であれば、上述したとおり文字コードにおける偶数番目の部分だけをビット反転処理が行われる。そして、演算処理部204において、ビット反転処理された2進数データを16進数に変換する(S111)。そして、演算処理部204において、16進数のデータを10進数に変換し、変換した値に所定値を加算する(S112)。これは、SQL文における処理違反を回避するために処理である。例えば、SQL文においては、半角の“!”などの文字は入力対象として認められていないためエラーとなる。このため、所定値を加算することにより文字コードの所定のエリアに規定されている文字に暗号化されないように所定値が加算される。そして、S105に戻り、全ての文字に対して処理がなされると、戻り値として正常終了がセットされ(S111)、暗号化処理の終了処理が行われ(S112)、暗号化されたデータがデータベース300に格納される(S113)。   In S107, when it is determined that the character is a full-width character and an even-numbered character or a half-width character (S107: OK), the encryption processing unit 202 (bit inversion processing unit 203) uses an argument. The passed binary data is subjected to bit inversion processing (S108). Here, if it is a half-width character, the bit inversion process is performed for all characters, and if it is a full-width character, the bit inversion process is performed only on the even-numbered portion of the character code as described above. Then, the arithmetic processing unit 204 converts the binary number data subjected to the bit inversion processing into a hexadecimal number (S111). Then, the arithmetic processing unit 204 converts the hexadecimal data into a decimal number, and adds a predetermined value to the converted value (S112). This is a process for avoiding a process violation in the SQL statement. For example, in an SQL sentence, a character such as a single-byte “!” Is not recognized as an input target, and an error occurs. For this reason, by adding a predetermined value, the predetermined value is added so that it is not encrypted to a character defined in a predetermined area of the character code. Then, returning to S105, when processing has been performed for all characters, normal termination is set as the return value (S111), the termination processing of the encryption processing is performed (S112), and the encrypted data is stored in the database. It is stored in 300 (S113).

ここでS108〜S109の処理のデータの変遷を、図5を用いて説明する。図5(a)は、半角文字を入力したときのデータ変遷を示し、図(b)は、全角文字(漢字)を入力したときのデータ変遷を示す。   Here, the transition of data in the processing of S108 to S109 will be described with reference to FIG. FIG. 5A shows a data transition when a half-width character is input, and FIG. 5B shows a data transition when a full-width character (kanji) is input.

図5(a)に示すように、半角の“ヤ”が入力されると、コンピュータは2進数データとして扱うために、“1101 0100”と認識する。そして、ビット反転処理が行われ、“0010 1011”に変換される。その後、16進数に変換し、“2B”が得られ、さらに10進数に変換し、“43”が得られる。さらにSQL文の処理違反を避けるために、所定値を加算する。ここではαとしており、任意の数字とするが、上述処理違反を避けることができる程度の大きさの数字であることが望まれる。図5では、例えばα=10とし、文字コード(JISコードX 0208)が53となる文字“S”が得られる。データベース300にはこの文字Sが暗号化された“ヤ”として記憶される。   As shown in FIG. 5A, when a half-width “Y” is input, the computer recognizes “1101 0100” in order to treat it as binary data. Then, bit inversion processing is performed and converted to “0010 1011”. Thereafter, it is converted to a hexadecimal number to obtain “2B”, and further converted to a decimal number to obtain “43”. Further, a predetermined value is added in order to avoid processing violation of the SQL sentence. Here, α is an arbitrary number, but it is desirable that the number be large enough to avoid the above-described processing violation. In FIG. 5, for example, α = 10, and the character “S” having the character code (JIS code X 0208) of 53 is obtained. In the database 300, this character S is stored as an encrypted “ya”.

図5(b)では、“山”が入力されると、“0011 1011 0011 0011”と認識する。上述したとおり、“0011 1011”が0番目(偶数版目)、“0011 0011”が1番目(奇数番目)として扱われる。そして、全角文字である場合には、上述S106、S107での処理のように、文字コードにおける偶数番目のみを反転処理をするため、“0110 1110 0110 0110”に変換される。本実施形態では、半角文字相当分の文字コード単位で処理を行うため、“0110 1110”と“0110 0110”とに分けて処理を行う。そして、それぞれ16進数データである“C4”“66”に変換され、その後10進数データである“196”“102”に変換される。さらに所定値を加算し、加算したものに基づいた文字コードに相当する文字をデータベース300に登録する。ここで加算される所定値は、文字種別(漢字、全角かな、半角カナなど)に応じて変えることで、セキュリティを向上させた暗号化処理とすることができる。   In FIG. 5B, when “mountain” is input, it is recognized as “0011 1011 0011 0011”. As described above, “0011 1011” is treated as 0th (even numbered version), and “0011 0011” is treated as 1st (odd number). If it is a double-byte character, it is converted to “0110 1110 0110 0110” in order to invert only the even number in the character code as in the processing in S106 and S107. In the present embodiment, since processing is performed in units of character codes corresponding to single-byte characters, processing is divided into “0110 1110” and “0110 0110”. Then, the data is converted into “C4” and “66” which are hexadecimal data, respectively, and then converted into “196” and “102” which are decimal data. Further, a predetermined value is added, and a character corresponding to the character code based on the added value is registered in the database 300. The predetermined value added here can be changed according to the character type (kanji, full-width kana, half-width kana, etc.), thereby enabling encryption processing with improved security.

このような暗号化処理を行うことにより、データベース上では暗号化された文字が記憶されることになり、ソートを行う場合には、その暗号化された文字にしたがってソート処理を可能とする。   By performing such encryption processing, encrypted characters are stored on the database. When sorting is performed, sorting processing can be performed according to the encrypted characters.

つぎに、このように暗号化されたデータを記憶するデータベースに対してアクセス処理を行うときの処理について説明する。図6は、復号処理を行うときのフローチャートである。   Next, a process when an access process is performed on a database that stores data encrypted in this way will be described. FIG. 6 is a flowchart when the decoding process is performed.

図に示すように、ユーザはデータベース管理アプリケーション201を用いてデータベース300に対してアクセス処理を行う(S201)。そして、データベース管理アプリケーション201を用いて閲覧指示を行うと、データベース300から所定のデータが読み出される(S202)。そして、データベース管理アプリケーション201により読み出されると、暗号化されている項目については、復号化処理が行われる(S203)。復号処理は上述の暗号化処理を逆にしたものであって、所定数を減算した後、16進数に変換し、さらに2進数に変換する。そして、ビット変換を行い、変換された2進数にしたがって文字を表示する。なお、全角文字については、暗号化時には奇数番目のみがビット反転されていることから、復号時においても偶数番目の部分のみをビット反転する処理を行う。そして、復号された文字が表示部(図示せず)に表示されることになる(S204)。   As shown in the figure, the user performs an access process on the database 300 using the database management application 201 (S201). When a browsing instruction is issued using the database management application 201, predetermined data is read from the database 300 (S202). Then, when read by the database management application 201, the encrypted item is decrypted (S203). The decryption process is the reverse of the above-described encryption process. After the predetermined number is subtracted, it is converted into a hexadecimal number and further converted into a binary number. Then, bit conversion is performed and characters are displayed according to the converted binary number. For full-width characters, only odd-numbered bits are inverted when encrypted, and therefore, even-numbered portions are bit-inverted when decrypted. Then, the decrypted character is displayed on a display unit (not shown) (S204).

このような処理を行うことで、復号機能を有していないアプリケーションから不正にデータベース300に対してアクセスした場合には、上述の復号処理を行うことができないため、正確なデータを不正ユーザは閲覧することはできない。   By performing such processing, when the database 300 is illegally accessed from an application that does not have a decryption function, the above-described decryption processing cannot be performed. I can't do it.

つぎに、本実施形態のサーバ200の作用効果について説明する。PC100において、所定の形式に従った項目ごとに区分けされたデータの入力をオペレータから受け付け、PC100からサーバ200は、当該データ入力を受け付ける。サーバ200では、暗号化処理部202が、受け付けられたデータのうち予め定められた項目に対するデータを2進数データに変換する。そして、ビット反転処理部203が、ビット反転処理を行い、演算処理部204はビット反転処理されたデータに対して所定値を加算することで、前記項目に対応するデータを暗号化する。データベース管理アプリケーション201は、暗号化データを、入力された他のデータと対応付けてデータベース300に記憶させる。これにより、項目単位で暗号化することができ、暗号化する際の処理および閲覧時における復号する際の処理負担を軽減することができる。また、項目単位に暗号化し、またビット反転処理、所定値加算処理を行うことで、暗号化されたデータでソート処理なども可能とし、使いやすいものとすることができる。   Next, operational effects of the server 200 of the present embodiment will be described. In PC 100, input of data divided for each item according to a predetermined format is received from an operator, and server 200 receives the data input from PC 100. In the server 200, the encryption processing unit 202 converts data for a predetermined item among the received data into binary data. Then, the bit inversion processing unit 203 performs bit inversion processing, and the arithmetic processing unit 204 encrypts the data corresponding to the item by adding a predetermined value to the data subjected to the bit inversion processing. The database management application 201 stores the encrypted data in the database 300 in association with the other input data. Thereby, encryption can be performed on an item-by-item basis, and the processing load when encrypting and decrypting during browsing can be reduced. Further, by performing encryption in item units, performing bit inversion processing, and predetermined value addition processing, sorting processing can be performed on the encrypted data, which can be easily used.

また、サーバ200において、暗号化処理部202は、入力された文字が2バイト系文字列である場合、例えば漢字、全角かななどの場合には、所定の1バイト分についてのみ暗号化処理を行うことでセキュリティを向上させることができる。すなわち、全てに対して暗号化することがないため、暗号化ルールを予測しにくくさせ、よってセキュリティを向上させることができる。   In the server 200, the encryption processing unit 202 performs the encryption process only for a predetermined one byte when the input character is a 2-byte character string, for example, a kanji or a double-byte kana. Security can be improved. That is, since encryption is not performed for all, it is difficult to predict the encryption rule, and thus security can be improved.

また、サーバ200において、暗号化処理部202は、入力された文字種別に応じて、例えば、漢字、全角かな、半角カナなどに応じて、加算する所定値を変えることで、セキュリティを向上させることができる。   Further, in the server 200, the encryption processing unit 202 improves the security by changing the predetermined value to be added according to the input character type, for example, kanji, full-width kana, half-width kana, etc. Can do.

本実施形態のPC100およびサーバ200を用いた処理概念を示す概念図である。It is a conceptual diagram which shows the processing concept using PC100 and the server 200 of this embodiment. 本実施形態のPC100およびサーバ200の機能を示すブロック図である。It is a block diagram which shows the function of PC100 and the server 200 of this embodiment. データベース300に記憶されている社員情報の具体例を示す図である。5 is a diagram showing a specific example of employee information stored in a database 300. FIG. 暗号化処理を行うときのサーバ200の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the server 200 when performing an encryption process. 半角文字、全角文字を入力したときのそれぞれのデータ変遷を示す図である。It is a figure which shows each data transition when a half-width character and a full-width character are input. 復号処理を行うときのサーバ200の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the server 200 when performing a decoding process.

符号の説明Explanation of symbols

100…情報処理装置、101…入力部、102…出力部、200…サーバ、201…データベース管理アプリケーション、202…暗号化処理部、203…ビット反転処理部、204…演算処理部、300…データベース。 DESCRIPTION OF SYMBOLS 100 ... Information processing apparatus 101 ... Input part 102 ... Output part 200 ... Server 201 ... Database management application 202 ... Encryption processing part 203 ... Bit inversion processing part 204 ... Arithmetic processing part 300 ... Database

Claims (3)

所定の形式に従った項目ごとに区分けされたデータの入力をオペレータから受け付ける入力手段と、
前記入力手段により受け付けられたデータのうち予め定められた項目に対するデータを2進数データに変換し、ビット反転処理を行い、ビット反転処理されたデータに対して所定値を加算することで、前記項目に対応するデータを暗号化する暗号化手段と、
前記暗号化手段により暗号化された暗号化データを、前記入力手段により入力された他のデータと対応付けて記憶するデータベースと、
を備える情報処理装置。
An input means for accepting input of data divided into items according to a predetermined format from an operator;
The data for a predetermined item among the data received by the input means is converted into binary data, bit-reversed, and a predetermined value is added to the bit-reversed data. Encryption means for encrypting data corresponding to
A database for storing the encrypted data encrypted by the encryption unit in association with other data input by the input unit;
An information processing apparatus comprising:
前記暗号化手段は、
前記入力手段により入力された文字が2バイト系文字列である場合には、所定の1バイト分についてのみ暗号化処理を行うことを特徴とする請求項1に記載の情報処理装置。
The encryption means includes
2. The information processing apparatus according to claim 1, wherein when the character input by the input means is a 2-byte character string, encryption processing is performed only for a predetermined one byte.
前記暗号化手段は、
前記入力手段により入力された文字種別に応じて、加算する所定値を変えることを特徴とする請求項1または2に記載の情報処理装置。
The encryption means includes
The information processing apparatus according to claim 1, wherein a predetermined value to be added is changed according to a character type input by the input unit.
JP2008106955A 2008-04-16 2008-04-16 Information processor Pending JP2009258973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008106955A JP2009258973A (en) 2008-04-16 2008-04-16 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008106955A JP2009258973A (en) 2008-04-16 2008-04-16 Information processor

Publications (1)

Publication Number Publication Date
JP2009258973A true JP2009258973A (en) 2009-11-05

Family

ID=41386315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008106955A Pending JP2009258973A (en) 2008-04-16 2008-04-16 Information processor

Country Status (1)

Country Link
JP (1) JP2009258973A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6372813B1 (en) * 2017-12-20 2018-08-15 株式会社イスプリ Data management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6372813B1 (en) * 2017-12-20 2018-08-15 株式会社イスプリ Data management system
JP2019109857A (en) * 2017-12-20 2019-07-04 株式会社イスプリ Data management system

Similar Documents

Publication Publication Date Title
US10467420B2 (en) Systems for embedding information in data strings
US8855296B2 (en) Data processing systems with format-preserving encryption and decryption engines
US7864952B2 (en) Data processing systems with format-preserving encryption and decryption engines
CN108463968B (en) Fast format-preserving encryption of variable length data
US8874932B2 (en) Method for order invariant correlated encrypting of data and SQL queries for maintaining data privacy and securely resolving customer defects
US8949625B2 (en) Systems for structured encryption using embedded information in data strings
US8600048B1 (en) Format-translating encryption systems
CN108009440A (en) Date storage method, querying method, device, storage medium and computer equipment
WO2004084483A1 (en) Information management system
CN102782692A (en) System, apparatus and method for encryption and decryption of data transmitted over a network
CN101894244A (en) System and method for enciphering electronic data
US7599492B1 (en) Fast cryptographic key recovery system and method
CN112035857A (en) Data protection method, device, equipment and medium
JP6089998B2 (en) Cryptographic processing apparatus and information processing apparatus
JP2009258973A (en) Information processor
RU2259639C2 (en) Method for complex protection of distributed information processing in computer systems and system for realization of said method
Manikandasaran et al. MONcrypt: a technique to ensure the confidentiality of outsourced data in cloud storage
CN107533617B (en) Server device, information management system, information management method, and computer program
US7505586B2 (en) Method for computer-based encryption and decryption of data
JPS63205745A (en) Encipherment processing system for documentation processor
KR101428650B1 (en) Method of encryption and method of decryption
US9547777B2 (en) Validating compressed archive keys
Friederes Breaking Enigma Ciphertext in 2023
JP6094255B2 (en) Cryptographic processing apparatus and information processing apparatus
Gómez Pardo et al. Classical ciphers and their cryptanalysis

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110323

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110412