JP2012129920A - Compression and encryption apparatus, decoding and decompression apparatus, method therefor, and program - Google Patents
Compression and encryption apparatus, decoding and decompression apparatus, method therefor, and program Download PDFInfo
- Publication number
- JP2012129920A JP2012129920A JP2010281669A JP2010281669A JP2012129920A JP 2012129920 A JP2012129920 A JP 2012129920A JP 2010281669 A JP2010281669 A JP 2010281669A JP 2010281669 A JP2010281669 A JP 2010281669A JP 2012129920 A JP2012129920 A JP 2012129920A
- Authority
- JP
- Japan
- Prior art keywords
- compressed data
- data
- length
- compression
- padded
- 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
Links
Images
Abstract
【課題】秘匿性が高い圧縮データの暗号文を生成する。
【解決手段】圧縮暗号化装置10が、データを圧縮した圧縮データを生成し、圧縮データに秘密の長さのパディングデータを連結したパディング済み圧縮データを生成し、パディング済み圧縮データを暗号化した暗号文を生成する。復号伸長装置20が、この暗号文を復号してパディング済み圧縮データを得、パディング済み圧縮データの一部を圧縮データとして取り出し、圧縮データを伸長する。
【選択図】図1A ciphertext of compressed data with high confidentiality is generated.
A compression encryption apparatus generates compressed data obtained by compressing data, generates padded compressed data obtained by concatenating padding data having a secret length to the compressed data, and encrypts the padded compressed data. Generate ciphertext. The decryption / decompression apparatus 20 decrypts the ciphertext to obtain padded compressed data, extracts a part of the padded compressed data as compressed data, and decompresses the compressed data.
[Selection] Figure 1
Description
本発明は、データの圧縮・暗号化技術及びそれによって得られた暗号文の復号・伸長技術に関する。 The present invention relates to a data compression / encryption technique and a ciphertext decryption / decompression technique obtained thereby.
データの意味を保ったまま、データ量を削減するデータ圧縮処理が知られている(例えば、特許文献1〜3、非特許文献1等参照)。データ圧縮方式は可逆圧縮処理と不可逆圧縮処理とに大別され、それぞれ様々な方式が存在する。多くのデータ圧縮方式では、データの繰り返し回数、出現頻度、データ間の相関などのデータ内容に依存する情報(すなわち、データ内容から特定される情報)を用いてデータ量を削減する手法がとられる。この場合、データ圧縮処理による圧縮率はデータ内容に応じて相違し、圧縮されたデータ(圧縮データ)の長さ(データ長)から圧縮前のデータの情報が得られる場合がある。 Data compression processing that reduces the amount of data while maintaining the meaning of the data is known (see, for example, Patent Documents 1 to 3, Non-Patent Document 1, etc.). Data compression methods are roughly classified into lossless compression processing and lossy compression processing, and there are various methods. Many data compression methods take a method of reducing the amount of data by using information that depends on the data content (that is, information specified from the data content) such as the number of repetitions of data, appearance frequency, and correlation between data. . In this case, the compression rate according to the data compression process differs depending on the data content, and the information of the data before compression may be obtained from the length (data length) of the compressed data (compressed data).
また、データ(平文)を暗号化し、データを秘匿した暗号文を生成する暗号化処理が知られている(例えば、非特許文献2等参照)。暗号化方式には様々な方式が存在し、暗号化方式によっては、暗号文の長さからデータ(平文)の長さの情報が得られる場合がある。 In addition, an encryption process for encrypting data (plain text) and generating a cipher text in which the data is concealed is known (see, for example, Non-Patent Document 2). There are various encryption methods, and depending on the encryption method, information on the length of data (plaintext) may be obtained from the length of the ciphertext.
データ量を削減しつつデータを秘匿する方法として、データ(平文)に対するデータ圧縮処理を行って得られた圧縮データに対し、さらに、暗号化処理を行う圧縮・暗号化方法がある。しかし、従来の圧縮・暗号化方法では、暗号化処理によって得られた暗号文の長さから圧縮前のデータに関する情報が知られてしまう場合がある。なぜなら、暗号文の長さから圧縮データの長さの情報が得られる場合があり、圧縮データの長さから圧縮前のデータの情報が得られる場合があるからである。 As a method of concealing data while reducing the amount of data, there is a compression / encryption method that further performs encryption processing on compressed data obtained by performing data compression processing on data (plain text). However, in the conventional compression / encryption method, information on data before compression may be known from the length of the ciphertext obtained by the encryption process. This is because information on the length of the compressed data may be obtained from the length of the ciphertext, and information on the data before compression may be obtained from the length of the compressed data.
本発明はこのような点に鑑みてなされたものであり、秘匿性が高い圧縮データの暗号文を生成可能な技術を提供することを目的とする。 The present invention has been made in view of these points, and an object of the present invention is to provide a technique capable of generating a ciphertext of compressed data with high confidentiality.
本発明の圧縮・暗号化技術では、データを圧縮した圧縮データを生成し、圧縮データに秘密の長さのパディングデータを連結したパディング済み圧縮データを生成し、パディング済み圧縮データを暗号化した暗号文を生成する。 The compression / encryption technology of the present invention generates compressed data obtained by compressing data, generates padded compressed data obtained by concatenating padding data of a secret length to the compressed data, and encrypts the padded compressed data. Generate a statement.
本発明の復号・伸長技術では、この暗号文を復号してパディング済み圧縮データを得、パディング済み圧縮データの一部を圧縮データとして取り出し、圧縮データを伸長する。 In the decryption / decompression technique of the present invention, the ciphertext is decrypted to obtain padded compressed data, a part of the padded compressed data is extracted as compressed data, and the compressed data is decompressed.
本発明のパディングデータの長さは秘密とされるため、攻撃者はパディング済み圧縮データの長さから圧縮前のデータの情報を得ることはできない。そのため、パディング済み圧縮データを暗号化した暗号文の長さから圧縮前のデータの情報を得ることもできない。このように本発明では、秘匿性が高い圧縮データの暗号文を生成できる。 Since the length of the padding data of the present invention is kept secret, the attacker cannot obtain the data information before compression from the length of the padded compressed data. Therefore, it is also impossible to obtain data information before compression from the length of ciphertext obtained by encrypting padded compressed data. As described above, in the present invention, it is possible to generate a ciphertext of compressed data with high confidentiality.
以下、図面を参照して本発明の実施形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<構成>
図1は、本実施形態の圧縮暗号化装置及び復号伸長装置の機能構成を説明するためのブロック図である。
<Configuration>
FIG. 1 is a block diagram for explaining the functional configuration of the compression / encryption device and the decryption / decompression device of this embodiment.
図1に例示するように、本実施形態の圧縮暗号化装置10は、鍵メモリ11とメモリ12と制御部13と圧縮部14とパディング部15と暗号化部16と正整数入力部17とデータ入力部18とを有する。図1に例示するように、本実施形態の復号伸長装置20は、鍵メモリ21とメモリ22と制御部23と復号部24と圧縮データ取り出し部25と伸長部26とを有する。
As illustrated in FIG. 1, the compression /
圧縮暗号化装置10や復号伸長装置20は、例えば、CPU(central processing unit)、RAM(random-access memory)、ROM(read-only memory)等からなる公知又は専用のコンピュータに所定のプログラムが読み込まれて実行されることで構成される特別な装置である。制御部13、圧縮部14、パディング部15、暗号化部16、制御部23、復号部24、圧縮データ取り出し部25、及び伸長部26などの処理部は、例えば、所定のプログラムを実行するCPUや集積回路である。鍵メモリ11,21、及びメモリ12,22は、例えば、補助記憶装置、RAM、キャッシュメモリ、レジスタ若しくは集積回路の一部又はそれらの少なくとも一部を結合した記憶領域である。正整数入力部17、及びデータ入力部18は、例えば、入力端子、入力インタフェース、データ読み取り装置、所定のプログラムを実行するCPUや集積回路などである。以下では説明を省略するが、圧縮暗号化装置10は、制御部13の制御のもと各処理を実行し、復号伸長装置20は、制御部23の制御のもと各処理を実行する。各処理部から出力されたデータは、逐一、メモリ12,22に格納され、必要に応じて他の処理部から読み出されて使用される。
The compression /
<事前処理>
本形態の圧縮暗号化処理や復号伸長処理の前処理として、圧縮暗号化装置10の鍵メモリ11に暗号化のための鍵が格納され、復号伸長装置20の鍵メモリ21に復号のための鍵が格納される。これらの鍵は圧縮暗号化装置10及び復号伸長装置20で使用される暗号化方式に対応する。例えば、使用される暗号化方式がRSAやElGamal暗号などの公開鍵暗号方式である場合には、圧縮暗号化装置10の鍵メモリ11には公開鍵が格納され、復号伸長装置20の鍵メモリ21には当該公開鍵に対応する秘密鍵が格納される。例えば、使用される暗号化方式がCamellia(登録商標)やAESなどの共通鍵暗号方式である場合には、圧縮暗号化装置10の鍵メモリ11と復号伸長装置20の鍵メモリ21には同一の共通鍵が格納される。
<Pre-processing>
As pre-processing for compression encryption processing and decryption / decompression processing of the present embodiment, a key for encryption is stored in the
<圧縮暗号化処理>
図3Aを用いて本実施形態の圧縮暗号化処理を説明する。
<Compression encryption processing>
The compression / encryption processing of this embodiment will be described with reference to FIG. 3A.
圧縮暗号化装置10(図1)の正整数入力部17に任意の正整数Nが入力される。例えば、正整数Nは圧縮暗号化処理が行われるたびにランダムに選択される値であってもよいし、複数回の圧縮暗号化処理に対して共通して用いられる値であってもよいし、すべての圧縮暗号化処理に共通する固定値であってもよい。安全性の観点からは正整数Nが固定値であることが望ましい。さらに、安全性の観点からは正整数Nが後述するデータMやその圧縮データと独立した秘密値であり、正整数NがデータMやその圧縮データの情報を含まないことが望ましい。このように正整数入力部17に与えられた任意の正整数Nはパディング部15に送られる(ステップS11)。
An arbitrary positive integer N is input to the positive
データ入力部18に処理対象のデータMが入力され、圧縮部14に送られる(ステップS12)。
Data M to be processed is input to the
圧縮部14はデータMを圧縮して圧縮データを生成する。用いられる圧縮方式は、非可逆圧縮符号化方式であってもよいし、可逆圧縮符号化方式であってもよい。圧縮データはパディング部15に送られる(ステップS13)。
The compressing
パディング部15は、圧縮データに秘密の長さのパディングデータを連結したパディング済み圧縮データを生成する。「秘密の長さのパディングデータ」とは、長さが圧縮暗号化装置10の外部に秘匿されたパディングデータを意味する。本形態では、圧縮データの長さとパディングデータの長さとの合計が任意な正整数の倍数であるものとする(ステップS14)。
The
[ステップS14の具体例]
パディング部15は、送られた圧縮データの長さCを計算し、この長さCを表すデータを固定長符号化し、圧縮データの長さデータとする。圧縮データの長さデータは固定長L(Lは正整数)のデータであり、当該固定長Lは予め定められている。また、データの長さの例は、データのビット長やオクテット長などである。
[Specific example of step S14]
The
次にパディング部15は、正整数Nと圧縮データの長さCとを用い、パディングデータの長さP(Pは正整数)を計算する。パディングデータの長さPは、P+Cが正整数Nの倍数N・A(Aは正整数)となるように定められる(P+C=N・A)。P+CがデータMの長さ以上となったのではステップS13でデータMを圧縮する意義がなくなるため、PはP+CがデータMの長さ未満となるように定められることが望ましい。例えば、パディング部15は以下の式に従ってパディングデータの長さPを計算する。
Next, the
P=N−{C mod N} …(1)
ここで、modは剰余演算であり、Nは2以上である。式(1)の場合にはNの値が大きいほど安全性が高くなる。
P = N− {C mod N} (1)
Here, mod is a remainder operation, and N is 2 or more. In the case of equation (1), the greater the value of N, the higher the safety.
次にパディング部15は、長さPのパディングデータを生成する。パディングデータは任意のデータであってもよい。パディングデータの例は、連続する「0」ビットからなる長さPのデータ、連続する「1」ビットからなる長さPのデータ、「0」ビットと「1」ビットとが混在した長さPのデータなどである。
Next, the
パディング部15は、上述した圧縮データの長さデータと圧縮データとパディングデータとを予め定められた順序で連結し、パディング済み圧縮データを生成する。本形態では、例えば、圧縮データの長さデータの後に圧縮データを連結し、圧縮データの後にパディングデータを連結する。図2は、このように生成したパディング済み圧縮データの例である。この例のパディング済み圧縮データ100は、長さLの圧縮データの長さデータ101と、長さCの圧縮データ102と、長さPのパディングデータ103とを連結したデータである。圧縮データ102とパディングデータ103とを連結したデータの長さはN・Aである([ステップS14の具体例]の説明終わり)。
The
パディング済み圧縮データは暗号化部16に送られる。暗号化部16は、鍵メモリ11から暗号化のための鍵を抽出し、それを用いてパディング済み圧縮データを暗号化し、暗号文E(M)を生成する。暗号化部16は、暗号文E(M)を出力する(ステップS15)。
The padded compressed data is sent to the
<復号伸長処理>
図3Bを用いて本実施形態の復号伸長処理を説明する。
<Decryption / decompression process>
The decryption / decompression process of this embodiment will be described with reference to FIG. 3B.
暗号文E(M)が復号伸長装置20(図1)の復号部24に入力される。復号部24は鍵メモリ21から復号のための鍵を抽出し、それを用いて暗号文E(M)を復号してパディング済み圧縮データを得る。パディング済み圧縮データは圧縮データ取り出し部25に送られる(ステップS21)。
The ciphertext E (M) is input to the
圧縮データ取り出し部25は、パディング済み圧縮データの一部を圧縮データとして取り出す(ステップS22)。
The compressed
[ステップS22の具体例]
圧縮データ取り出し部25は、パディング済み圧縮データが含む圧縮データの長さデータを復号して圧縮データの長さCを得る。本形態では、圧縮データの長さデータと圧縮データとパディングデータとを連結する順序が予め定められており、圧縮データの長さデータが固定長(長さL)である。そのため、パディング済み圧縮データから圧縮データの長さデータを抽出し、それを復号して圧縮データの長さCを得ることができる。例えば、図2のパディング済み圧縮データ100の場合、圧縮データ取り出し部25は、パディング済み圧縮データ100の先頭から長さLのデータを、圧縮データの長さデータ101として抽出し、それを復号することで圧縮データの長さCを得ることができる。
[Specific example of step S22]
The compressed
次に圧縮データ取り出し部25は、圧縮データの長さCを用い、パディング済み圧縮データが含む圧縮データを抽出する。本形態では、圧縮データの長さデータと圧縮データとパディングデータとを連結する順序が予め定められているため、圧縮データの長さCを用いて圧縮データを抽出できる。例えば、図2のパディング済み圧縮データ100の場合、圧縮データ取り出し部25は、圧縮データの長さデータ101に続く長さCのデータを、圧縮データ102として抽出できる([ステップS22の具体例]の説明終わり)。
Next, the compressed
圧縮データ102は伸長部26に送られる。伸長部26は、圧縮データを伸長してデータM’を得、それを出力する。
The
<本実施形態の特徴>
本実施形態では圧縮データに長さが秘密のパディングデータを追加するため、暗号文の長さからパディング済み圧縮データの長さの情報が得られても、圧縮データの長さの情報が得られることを抑制でき、圧縮前のデータの内容に関する情報が得られることを抑制できる。これにより、本実施形態では、秘匿性が高い暗号文を生成できる。
<Features of this embodiment>
In this embodiment, padding data whose length is secret is added to the compressed data, so even if the length information of the padded compressed data is obtained from the length of the ciphertext, the length information of the compressed data is obtained. This can be suppressed, and it can be suppressed that information relating to the content of the data before compression is obtained. Thereby, in this embodiment, a highly confidential ciphertext can be generated.
特に、式(1)のようにパディングデータの長さPを定めた場合、パディングデータの長さPをN以下に制限することができる。一方、この場合にはNの値が大きいほど安全性が高くなる。すなわち、式(1)のようにパディングデータの長さPを定めた場合、正整数Nの大きさを調整することで、安全性とパディング済み圧縮データの長さとのバランスを調整することができる。 In particular, when the length P of the padding data is determined as in Expression (1), the length P of the padding data can be limited to N or less. On the other hand, in this case, the greater the value of N, the higher the safety. That is, when the length P of the padding data is determined as in the expression (1), the balance between the safety and the length of the padded compressed data can be adjusted by adjusting the size of the positive integer N. .
なお、本発明は上述の実施の形態に限定されるものではない。例えば、上記では圧縮暗号化処理ごとにステップS11が実行されることとしたが、複数の圧縮暗号化処理ごとにステップS11が実行されてもよいし、事前処理でステップS11が実行されてもよい。また、ステップS11がステップS12とS13との間や、ステップS13とS14との間に実行されてもよい。また、暗号化対象データがその他のデータを含んでもよい。 The present invention is not limited to the embodiment described above. For example, in the above description, step S11 is executed for each compression / encryption process. However, step S11 may be executed for each of a plurality of compression / encryption processes, or step S11 may be executed in advance processing. . Further, step S11 may be executed between steps S12 and S13, or between steps S13 and S14. Further, the encryption target data may include other data.
正整数Nを固定値とし、式(1)のようにパディングデータの長さPを定める場合には、データMごとにパディングデータの長さPが定まる。そのため、同一のデータMを複数回処理する場合などには、データMとそれに対して計算したパディングデータの長さPとを対応付けて記憶部に格納しておき、再びデータMを処理する際には式(1)を計算することなく記憶領域に格納されたパディングデータの長さPを用いて処理を行ってもよい。一方、毎回、式(1)のようにパディングデータの長さPを定める場合には、このような記憶領域は不要となる。 When the positive integer N is a fixed value and the length P of the padding data is determined as in equation (1), the length P of the padding data is determined for each data M. Therefore, when the same data M is processed a plurality of times, the data M and the length P of the padding data calculated for the data M are stored in the storage unit in association with each other, and the data M is processed again. May be processed using the length P of the padding data stored in the storage area without calculating equation (1). On the other hand, when the length P of the padding data is determined every time as shown in Expression (1), such a storage area is not necessary.
上記では圧縮データの長さとパディングデータの長さとの合計が任意な正整数の倍数である例を示したが、パディングデータの長さが圧縮暗号化装置10の外部に秘匿されるのであれば、どのような長さのパディングデータであってもよい。その他、本発明の趣旨を逸脱しない範囲で適宜変更が可能であることはいうまでもない。
In the above example, the sum of the length of the compressed data and the length of the padding data is an arbitrary multiple of a positive integer. However, if the length of the padding data is concealed outside the
また、上述の構成をコンピュータによって実現する場合、各装置が有すべき機能の処理内容はプログラムによって記述される。そして、このプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。 Further, when the above-described configuration is realized by a computer, processing contents of functions that each device should have are described by a program. The processing functions are realized on the computer by executing the program on the computer.
この処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体は、非一時的(non-transitory)な記録媒体である。このような記録媒体の例は、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリ等である。 The program describing the processing contents can be recorded on a computer-readable recording medium. A computer-readable recording medium is a non-transitory recording medium. Examples of such a recording medium are a magnetic recording device, an optical disk, a magneto-optical recording medium, a semiconductor memory, and the like.
また、このプログラムの流通は、例えば、そのプログラムを記録したDVD、CD−ROM等の可搬型記録媒体を販売、譲渡、貸与等することによって行う。さらに、このプログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することにより、このプログラムを流通させる構成としてもよい。 The program is distributed by selling, transferring, or lending a portable recording medium such as a DVD or CD-ROM in which the program is recorded. Furthermore, the program may be distributed by storing the program in a storage device of the server computer and transferring the program from the server computer to another computer via a network.
このようなプログラムを実行するコンピュータは、例えば、まず、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、一旦、自己の記憶装置に格納する。そして、処理の実行時、このコンピュータは、自己の記録装置に格納されたプログラムを読み取り、読み取ったプログラムに従った処理を実行する。また、このプログラムの別の実行形態として、コンピュータが可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することとしてもよく、さらに、このコンピュータにサーバコンピュータからプログラムが転送されるたびに、逐次、受け取ったプログラムに従った処理を実行することとしてもよい。また、サーバコンピュータから、このコンピュータへのプログラムの転送は行わず、その実行指示と結果取得のみによって処理機能を実現する、いわゆるASP(Application Service Provider)型のサービスによって、上述の処理を実行する構成としてもよい。なお、本形態におけるプログラムには、電子計算機による処理の用に供する情報であってプログラムに準ずるもの(コンピュータに対する直接の指令ではないがコンピュータの処理を規定する性質を有するデータ等)を含むものとする。 A computer that executes such a program first stores, for example, a program recorded on a portable recording medium or a program transferred from a server computer in its own storage device. When executing the process, this computer reads the program stored in its own recording device and executes the process according to the read program. As another execution form of the program, the computer may directly read the program from a portable recording medium and execute processing according to the program, and the program is transferred from the server computer to the computer. Each time, the processing according to the received program may be executed sequentially. Also, the program is not transferred from the server computer to the computer, and the above-described processing is executed by a so-called ASP (Application Service Provider) type service that realizes the processing function only by the execution instruction and result acquisition. It is good. Note that the program in this embodiment includes information that is used for processing by an electronic computer and that conforms to the program (data that is not a direct command to the computer but has a property that defines the processing of the computer).
また、この形態では、コンピュータ上で所定のプログラムを実行させることにより、本装置を構成することとしたが、これらの処理内容の少なくとも一部をハードウェア的に実現することとしてもよい。 In this embodiment, the present apparatus is configured by executing a predetermined program on a computer. However, at least a part of these processing contents may be realized by hardware.
10 圧縮暗号化装置
20 復号伸長装置
10 Compression /
Claims (7)
前記圧縮データに秘密の長さのパディングデータを連結したパディング済み圧縮データを生成するパディング部と、
前記パディング済み圧縮データを暗号化した暗号文を生成する暗号化部と、
を有する圧縮暗号化装置。 A compression unit that generates compressed data obtained by compressing data;
A padding unit for generating padded compressed data obtained by concatenating padding data of a secret length to the compressed data;
An encryption unit for generating ciphertext obtained by encrypting the padded compressed data;
A compression encryption apparatus.
前記パディングデータの長さをPとし、前記圧縮データの長さをCとし、任意の正整数をNとした場合に、P=N−{C mod N}を満たす、
ことを特徴とする圧縮暗号化装置。 The compression encryption device according to claim 1,
When the length of the padding data is P, the length of the compressed data is C, and an arbitrary positive integer is N, P = N− {C mod N} is satisfied.
The compression encryption apparatus characterized by the above-mentioned.
前記パディング済み圧縮データの一部を圧縮データとして取り出す圧縮データ取り出し部と、
前記圧縮データを伸長する伸長部と、
を有する復号伸長装置。 A decryption unit that decrypts the ciphertext and obtains padded compressed data;
A compressed data extraction unit that extracts a part of the padded compressed data as compressed data;
A decompression unit for decompressing the compressed data;
A decoding and decompressing apparatus.
前記圧縮データに秘密の長さのパディングデータを連結したパディング済み圧縮データを生成するパディングステップと、
前記パディング済み圧縮データを暗号化した暗号文を生成する暗号化ステップと、
を有する圧縮暗号化方法。 A compression step for generating compressed data obtained by compressing the data;
A padding step for generating padded compressed data obtained by concatenating padding data of a secret length to the compressed data;
An encryption step for generating a ciphertext obtained by encrypting the padded compressed data;
A compression encryption method.
前記パディング済み圧縮データの一部を圧縮データとして取り出す圧縮データ取り出しステップと、
前記圧縮データを伸長する伸長ステップと、
を有する復号伸長方法。 Decrypting the ciphertext to obtain padded compressed data;
A compressed data extraction step of extracting a part of the padded compressed data as compressed data;
A decompressing step for decompressing the compressed data;
A decoding / decompressing method comprising:
前記圧縮データに秘密の長さのパディングデータを連結したパディング済み圧縮データを生成するパディングステップと、
前記パディング済み圧縮データを暗号化した暗号文を生成する暗号化ステップと、
をコンピュータに実行させるためのプログラム。 A compression step for generating compressed data obtained by compressing the data;
A padding step for generating padded compressed data obtained by concatenating padding data of a secret length to the compressed data;
An encryption step for generating a ciphertext obtained by encrypting the padded compressed data;
A program that causes a computer to execute.
前記パディング済み圧縮データの一部を圧縮データとして取り出す圧縮データ取り出しステップと、
前記圧縮データを伸長する伸長ステップと、
をコンピュータに実行させるためのプログラム。 Decrypting the ciphertext to obtain padded compressed data;
A compressed data extraction step of extracting a part of the padded compressed data as compressed data;
A decompressing step for decompressing the compressed data;
A program that causes a computer to execute.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010281669A JP2012129920A (en) | 2010-12-17 | 2010-12-17 | Compression and encryption apparatus, decoding and decompression apparatus, method therefor, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010281669A JP2012129920A (en) | 2010-12-17 | 2010-12-17 | Compression and encryption apparatus, decoding and decompression apparatus, method therefor, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2012129920A true JP2012129920A (en) | 2012-07-05 |
Family
ID=46646442
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010281669A Pending JP2012129920A (en) | 2010-12-17 | 2010-12-17 | Compression and encryption apparatus, decoding and decompression apparatus, method therefor, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2012129920A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015528681A (en) * | 2012-09-14 | 2015-09-28 | クアルコム,インコーポレイテッド | Apparatus and method for protecting message data |
-
2010
- 2010-12-17 JP JP2010281669A patent/JP2012129920A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015528681A (en) * | 2012-09-14 | 2015-09-28 | クアルコム,インコーポレイテッド | Apparatus and method for protecting message data |
| US9660811B2 (en) | 2012-09-14 | 2017-05-23 | Qualcomm Incorporated | Apparatus and method for protecting message data |
| US9673983B2 (en) | 2012-09-14 | 2017-06-06 | Qualcomm Incorporated | Apparatus and method for protecting message data |
| US9729325B2 (en) | 2012-09-14 | 2017-08-08 | Qualcomm Incorporated | Apparatus and method for protecting message data |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4893750B2 (en) | Data compression apparatus and data decompression apparatus | |
| US8645713B2 (en) | Encrypting method, recording medium of encrypting program, decrypting method, and recording medium of decrypting program | |
| JP6608436B2 (en) | Encoder, decoder and method using partial data encryption | |
| EP2352251A1 (en) | Content decoding apparatus, content decoding method and integrated circuit | |
| US9305171B2 (en) | Encryption apparatus, encryption method, decryption apparatus, decryption method and system | |
| KR20150073753A (en) | Apparatus and methdo for giving the compressed encryption functionality to integer-based homomorphic encryption schemes | |
| US8054967B2 (en) | Computer system and computer program executing encryption or decryption | |
| US7751556B2 (en) | Apparatus and method of generating falsification detecting data of encrypted data in the course of process | |
| CN108737353B (en) | Data encryption method and device based on data analysis system | |
| CN117675189A (en) | Data encryption method, decryption method, device and electronic equipment | |
| CN112491832A (en) | File transmission method and device | |
| US7965841B2 (en) | Method and apparatus for compressing and decompressing data, and computer product | |
| JP2004198760A (en) | Compression enciphering device and expansion decoding device | |
| JP2015114771A (en) | Data encryption device, data restoration device, data encryption method, data restoration method, data encryption program, and data restoration program | |
| US20130117576A1 (en) | Converting apparatus, converting method, and recording medium of converting program | |
| JP6273226B2 (en) | Encryption system, authentication system, encryption device, decryption device, authenticator generation device, verification device, encryption method, authentication method | |
| JP2001142396A (en) | Encryption device and method, encryption / decryption device and method, and communication system | |
| JP4784260B2 (en) | Distributed data storage method, terminal, and program | |
| JP2012129920A (en) | Compression and encryption apparatus, decoding and decompression apparatus, method therefor, and program | |
| JP2011041102A (en) | Compression/encryption apparatus, decoding/decompression apparatus, methods thereof and programs | |
| JP6980158B2 (en) | Data processing device, decoding device, data processing method, decoding method, data processing program and decoding program | |
| KR101315683B1 (en) | Encrypting and decrypting method without causing change of data size and type | |
| JP5403708B2 (en) | Information processing apparatus, data processing method, and program | |
| JP2010049214A (en) | Encryption device, decryption device, cryptography verifying device, encryption method, decryption method and program | |
| JP2000078023A (en) | Data processing method and data processor |