JPH05324485A - ファイル圧縮暗号処理装置 - Google Patents
ファイル圧縮暗号処理装置Info
- Publication number
- JPH05324485A JPH05324485A JP4126917A JP12691792A JPH05324485A JP H05324485 A JPH05324485 A JP H05324485A JP 4126917 A JP4126917 A JP 4126917A JP 12691792 A JP12691792 A JP 12691792A JP H05324485 A JPH05324485 A JP H05324485A
- Authority
- JP
- Japan
- Prior art keywords
- record
- file
- compression
- processing
- records
- 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.)
- Granted
Links
Landscapes
- Storage Device Security (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
理に関し、データ圧縮を行った後、そのレコード列を適
当に暗号化することにより、データを縮小すると共に、
暗号の秘匿強度を増強できるようにしたファイル圧縮暗
号処理装置を目的とする。 【構成】 圧縮処理部1と、暗号処理部2とを有し、圧
縮処理部1は、所与のファイル3の各レコードを、所定
の順序で読み出して、続いて読み出す両該レコードの対
応するビット位置のビット間の排他的論理和からなるビ
ット列を差分レコードとし、次に該差分レコードについ
て、0のビットが所定個数以上連続する各ビット列を、
各所定の記号に置き換える所定の圧縮処理を実行して、
圧縮レコードの列4とし、暗号処理部2は、圧縮レコー
ドの列4に変換されたファイル1について、所定の暗号
化処理による変換を行って、暗号化ファイル5を生成す
るように構成する。
Description
ルの暗号化/復号化処理を行うファイル圧縮暗号処理装
置に関する。
を含む大量のデータを蓄積したデータベースにおいて、
データの保全と効率よい蓄積が望まれている。
イルのデータを暗号化して保管することが行われ、公知
のブロック暗号方式とストリーム暗号方式に大別される
各種の暗号方式が考えられている。
めに、いわゆるランレングス方式に代表されるデータ圧
縮方式も使用されている。従来それらの暗号化とデータ
圧縮は個別に適用されているが、本発明は一定の形式の
レコードからなるファイルについて特に好適なデータ圧
縮を行った後、そのレコード列を適当に暗号化すること
により、データを縮小すると共に、暗号の秘匿強度を増
強できるようにしたファイル圧縮暗号処理装置を目的と
する。
示すブロック図である。図はファイル圧縮暗号処理装置
の構成であって、圧縮処理部1と、暗号処理部2とを有
する。
コードを、所定の順序で読み出して、続いて読み出す両
該レコードの対応するビット位置のビット間の排他的論
理和からなるビット列を差分レコードとする。
が所定個数以上連続する各ビット列を、各所定の記号に
置き換える所定の圧縮処理を実行して、圧縮レコードの
列4とする。
換されたファイル1について、所定の暗号化処理による
変換を行って、暗号化ファイル5を生成する。
て、一般に隣接するレコードの対応位置の情報には類似
性がおおいので、両レコードの排他的論理和は0ビット
の多い差分レコードがとなることが期待でき、圧縮率を
高めることができる。
当な一定長ブロックに分割して、適当なブロック暗号化
処理により暗号化すると、圧縮レコードは、元のレコー
ドの内容が同一であっても前のレコード内容との関係
で、一般に異なる内容となり、レコード長も異なってく
るので、同一平文でも暗号化結果で同一パターンとなる
可能性が減少され、暗号の秘匿強度を向上できる。
を示す処理の流れ図であり、圧縮処理部1は処理ステッ
プ10で予め与えられた、レコード長の初期値を差分バッ
ファに設定する。
ードをレコードバッファに読み込み、処理ステップ12で
レコードバッファの各ビットと差分バッファの対応ビッ
トとの排他的論理和を全ビットについてとり、結果の差
分レコードを差分バッファに置く。
レコードを圧縮するものとし、先ず処理ステップ13で桁
指示のための桁カウンタを0に設定し、処理ステップ14
で桁カウンタを1進めて、その指示する差分レコードの
バイトが0(全ビット0)か識別する。
ンタを1に設定し、処理ステップ16で桁カウンタを1進
めて、その指示する差分レコードのバイトが0バイトか
識別する。
ンタを+1し、処理ステップ18で桁カウンタの値によ
り、レコードの最後のバイトまで処理したか識別し、最
後なら処理ステップ19で、そのときの圧縮カウンタの値
を1バイトの圧縮データとして出力する。
21で圧縮カウンタが127 になったか識別し、127 より小
さければ処理ステップ16に戻り、以上のようにして、連
続する0バイトの個数をカウントする。
ると、処理ステップ20で、そのときの圧縮カウンタの値
を1バイトの圧縮データとして出力し、処理ステップ26
に進んで、非0バイトの処理に移る。
っていた場合には、処理ステップ22でカウント値を圧縮
データとして出力し、処理ステップ23でレコードの終わ
りか識別して、終わりでなければ、処理ステップ14に戻
る。
24でファイルの終わりか識別し、未処理レコードがあれ
ば処理ステップ25でレコードバッファに読み込んだレコ
ードを差分バッファに移した後、処理ステップ11に戻り
次のレコードの処理を開始する。
は処理ステップ16で非0バイトを検出して圧縮データを
出力すると、処理ステップ26以降の非0バイトの処理を
開始し、先ず処理ステップ26で、圧縮カウンタを−1に
設定する。
その指示する差分レコードのバイトが0か識別し、非0
の場合には、処理ステップ28で圧縮カウンタを−1し、
処理ステップ29でレコードの最後か識別する。
カウンタの値1バイトと、その桁位置までのバイト数の
差分レコードの非0のバイトデータとを圧縮データとし
て出力した後、前記の処理ステップ24へ進む。
32で圧縮カウンタが127 になったか識別し、127 より小
さければ処理ステップ27に戻り、以上のようにして、連
続する非0バイトの個数をカウントする。
処理ステップ31でそのときの圧縮カウンタの値と非0バ
イトデータとを圧縮データとして出力し、処理ステップ
15に分岐して、0バイトの処理に移る。
っていた場合には、処理ステップ33で圧縮カウンタの値
と非0バイトデータとを圧縮データとして出力し、前記
の処理ステップ23へ進んでレコードの終わりか識別す
る。
る0バイトはそのバイト数を表す1バイトのみに圧縮さ
れ、非0バイトは圧縮しないで、連続した非0バイトご
と、非0データバイトの列と、そのバイト数を絶対値と
する負数とで表すようにした圧縮データを得る。
り、(a)が前のレコード、(b)が圧縮対象のレコードとす
ると、(a)と(b)との排他的論理和として(c)を得、これ
を前記の処理によって圧縮すると(d)に示す圧縮データ
となる。
よく、例えば同じバイトが3個以上連続するとき、それ
を1バイトの所定の圧縮指示文字(図の例では「FF」と
する)と、1バイトのバイト個数と、1バイトのデータ
とで表すようにすれば、(e)のように圧縮される。
一般に長さは異なるので、暗号処理部2はそれ等を先頭
から順に連結して、公知の適当なブロック暗号化処理で
定まる一定長のブロックに分割し、各ブロックを順次暗
号化して、暗号化ファイル5を作成する。
復元する場合には、暗号処理部2が暗号化ファイルの各
暗号ブロックを復号して圧縮データに復元する。圧縮処
理部1は、先ずその圧縮データを元の差分レコードの列
に復元し、次に先頭の差分レコードから順に、前記の差
分レコードの生成と全く同様の排他的論理和により差分
を求める処理を実行することにより、差分として元のレ
コードを得ることができる。
よれば、計算機におけるファイルの暗号化/復号化処理
において、データ圧縮を行った後、そのレコード列を適
当に暗号化することにより、データを縮小すると共に、
暗号の秘匿強度を増強できるという著しい工業的効果が
ある。
Claims (1)
- 【請求項1】 圧縮処理部(1)と、暗号処理部(2)とを有
し、 該圧縮処理部(1)は、所与のファイル(3)の各レコード
を、所定の順序で読み出して、続いて読み出す両該レコ
ードの対応するビット位置のビット間の排他的論理和か
らなるビット列を差分レコードとし、 該差分レコードについて、0のビットが所定個数以上連
続する各ビット列を、各所定の記号に置き換える所定の
圧縮処理を実行して、圧縮レコードとし、 該暗号処理部(2)は、該圧縮レコードの列(4)に変換され
た該ファイルについて、所定の暗号化処理による変換を
行って、暗号化ファイル(5)を生成するように構成され
ていることを特徴とするファイル圧縮暗号処理装置。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4126917A JP2863370B2 (ja) | 1992-05-20 | 1992-05-20 | ファイル圧縮暗号処理装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4126917A JP2863370B2 (ja) | 1992-05-20 | 1992-05-20 | ファイル圧縮暗号処理装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH05324485A true JPH05324485A (ja) | 1993-12-07 |
JP2863370B2 JP2863370B2 (ja) | 1999-03-03 |
Family
ID=14947100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4126917A Expired - Lifetime JP2863370B2 (ja) | 1992-05-20 | 1992-05-20 | ファイル圧縮暗号処理装置 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2863370B2 (ja) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002055608A (ja) * | 2000-08-10 | 2002-02-20 | Japan Information Technology Co Ltd | 暗号化装置、復号化装置、暗号化方法、復号化方法、暗号化プログラムを記録した記録媒体及び復号化プログラムを記録した記録媒体 |
JP2002232415A (ja) * | 2001-01-19 | 2002-08-16 | Santiku Shijin Kofun Yugenkoshi | 行動商務wap情報伝送段の端末対端末の内密化モジュール |
GB2387457A (en) * | 2002-04-09 | 2003-10-15 | Solarsoft Ltd | Computer security system and method |
JP2012034272A (ja) * | 2010-08-02 | 2012-02-16 | Nec System Technologies Ltd | 文字列データ圧縮装置及びその方法並びに文字列データ復元装置及びその方法 |
JP2013101672A (ja) * | 2006-05-31 | 2013-05-23 | Internatl Business Mach Corp <Ibm> | ストレージ用論理データオブジェクトの変換方法およびシステム |
JP2013532853A (ja) * | 2010-10-26 | 2013-08-19 | 株式会社日立製作所 | ストレージ装置及びデータ制御方法 |
US8769311B2 (en) | 2006-05-31 | 2014-07-01 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
WO2015128955A1 (ja) * | 2014-02-26 | 2015-09-03 | 株式会社日立製作所 | 記憶デバイス、記憶デバイスを有する装置、及び記憶制御方法 |
-
1992
- 1992-05-20 JP JP4126917A patent/JP2863370B2/ja not_active Expired - Lifetime
Cited By (39)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002055608A (ja) * | 2000-08-10 | 2002-02-20 | Japan Information Technology Co Ltd | 暗号化装置、復号化装置、暗号化方法、復号化方法、暗号化プログラムを記録した記録媒体及び復号化プログラムを記録した記録媒体 |
JP2002232415A (ja) * | 2001-01-19 | 2002-08-16 | Santiku Shijin Kofun Yugenkoshi | 行動商務wap情報伝送段の端末対端末の内密化モジュール |
GB2387457A (en) * | 2002-04-09 | 2003-10-15 | Solarsoft Ltd | Computer security system and method |
US8959064B2 (en) | 2006-05-31 | 2015-02-17 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9262427B2 (en) | 2006-05-31 | 2016-02-16 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US8958482B2 (en) | 2006-05-31 | 2015-02-17 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9104688B2 (en) | 2006-05-31 | 2015-08-11 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US8769311B2 (en) | 2006-05-31 | 2014-07-01 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US8782436B2 (en) | 2006-05-31 | 2014-07-15 | International Business Machines Corporation | Method and system for transformation of logical data objects for storage |
US8788467B2 (en) | 2006-05-31 | 2014-07-22 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US8793510B2 (en) | 2006-05-31 | 2014-07-29 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US8819454B2 (en) | 2006-05-31 | 2014-08-26 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US8832043B2 (en) | 2006-05-31 | 2014-09-09 | International Business Machines Corporation | Method and system for transformation of logical data objects for storage |
US8868930B2 (en) | 2006-05-31 | 2014-10-21 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US8924367B2 (en) | 2006-05-31 | 2014-12-30 | International Business Machines Corporation | Method and system for transformation of logical data objects for storage |
US8930329B2 (en) | 2006-05-31 | 2015-01-06 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US8954756B2 (en) | 2006-05-31 | 2015-02-10 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US8954403B2 (en) | 2006-05-31 | 2015-02-10 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US10380071B2 (en) | 2006-05-31 | 2019-08-13 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
JP2013127802A (ja) * | 2006-05-31 | 2013-06-27 | Internatl Business Mach Corp <Ibm> | ストレージ用論理データオブジェクトの変換方法およびシステム |
US10372680B2 (en) | 2006-05-31 | 2019-08-06 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
JP2013101672A (ja) * | 2006-05-31 | 2013-05-23 | Internatl Business Mach Corp <Ibm> | ストレージ用論理データオブジェクトの変換方法およびシステム |
US10268696B2 (en) | 2006-05-31 | 2019-04-23 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9176976B2 (en) | 2006-05-31 | 2015-11-03 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9176975B2 (en) | 2006-05-31 | 2015-11-03 | International Business Machines Corporation | Method and system for transformation of logical data objects for storage |
US9218297B2 (en) | 2006-05-31 | 2015-12-22 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9218355B2 (en) | 2006-05-31 | 2015-12-22 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9251158B2 (en) | 2006-05-31 | 2016-02-02 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9110913B2 (en) | 2006-05-31 | 2015-08-18 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9311320B2 (en) | 2006-05-31 | 2016-04-12 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9317516B2 (en) | 2006-05-31 | 2016-04-19 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9323773B2 (en) | 2006-05-31 | 2016-04-26 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9367555B2 (en) | 2006-05-31 | 2016-06-14 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
US9479616B2 (en) | 2006-05-31 | 2016-10-25 | International Business Machines Corporation | Systems and methods for transformation of logical data objects for storage |
JP2012034272A (ja) * | 2010-08-02 | 2012-02-16 | Nec System Technologies Ltd | 文字列データ圧縮装置及びその方法並びに文字列データ復元装置及びその方法 |
JP2013532853A (ja) * | 2010-10-26 | 2013-08-19 | 株式会社日立製作所 | ストレージ装置及びデータ制御方法 |
JPWO2015128955A1 (ja) * | 2014-02-26 | 2017-03-30 | 株式会社日立製作所 | 記憶デバイス、記憶デバイスを有する装置、及び記憶制御方法 |
WO2015128955A1 (ja) * | 2014-02-26 | 2015-09-03 | 株式会社日立製作所 | 記憶デバイス、記憶デバイスを有する装置、及び記憶制御方法 |
US10444992B2 (en) | 2014-02-26 | 2019-10-15 | Hitachi, Ltd. | Storage device, apparatus having storage device, and storage control method |
Also Published As
Publication number | Publication date |
---|---|
JP2863370B2 (ja) | 1999-03-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0793366B1 (en) | Method and apparatus for encrypting data | |
JP3229148B2 (ja) | 暗号化方法およびシステム | |
CA2449672C (en) | Block encryption device using auxiliary conversion | |
JP4823904B2 (ja) | データ暗号化装置及びデータ暗号化方法 | |
JP5060119B2 (ja) | 暗号処理プログラム、暗号処理方法および暗号処理装置 | |
EP0725511A2 (en) | Method for data encryption/decryption using cipher block chaining (CBC) and message authetication codes (MAC) | |
JPH04365240A (ja) | 暗号化方式 | |
WO2010055658A1 (ja) | コンテンツ復号処理装置、コンテンツ復号処理方法及び集積回路 | |
JP2001274786A (ja) | コンテンツ情報伝送方法、コンテンツ情報記録方法、コンテンツ情報伝送装置、コンテンツ情報記録装置、伝送媒体、及び記録媒体 | |
US10505715B2 (en) | Method and system of synchronous encryption to render computer files and messages impervious to pattern recognition and brute force attacks | |
JPH05324485A (ja) | ファイル圧縮暗号処理装置 | |
US8677123B1 (en) | Method for accelerating security and management operations on data segments | |
US6128386A (en) | Multiple number base encoder/decoder using a corresponding exclusive or function | |
JP3012732B2 (ja) | ブロック暗号処理装置 | |
JP4703805B2 (ja) | 暗号化装置、暗号化方法、復号化装置、復号化方法および通信システム | |
JP3302086B2 (ja) | 圧縮暗号化装置 | |
CN112887800A (zh) | 一种用于机顶盒pvr加密保护的方法 | |
EP1043863B1 (en) | Method for the cryptographic conversion of L-bit input blocks of digital data info into L-bit output blocks | |
KR960006386A (ko) | 디지틀 정보의 암호화 및 복호화 방법 | |
JP2003044459A (ja) | 構造化データに対するデータ圧縮方法およびデータ交換方法 | |
AU716807B2 (en) | Method and apparatus for encrypting data | |
JP2954172B1 (ja) | データ暗号化及び復号化装置、データ暗号化及び復号化プログラムを記録した記録媒体 | |
JP4335374B2 (ja) | データ変換装置及びデータ変換方法 | |
JP2007134860A (ja) | 暗号化プログラムおよび復号化プログラム | |
HANDRIZAL et al. | SECURING AND COMPRESSING TEXT FILES USING THE AES 256 ALGORITHM AND LEVENSTEIN CODE |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071211 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101211 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101211 Year of fee payment: 12 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101211 Year of fee payment: 12 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111211 Year of fee payment: 13 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111211 Year of fee payment: 13 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 14 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 14 |