JP3133734B2 - Code conversion method - Google Patents
Code conversion methodInfo
- Publication number
- JP3133734B2 JP3133734B2 JP11028312A JP2831299A JP3133734B2 JP 3133734 B2 JP3133734 B2 JP 3133734B2 JP 11028312 A JP11028312 A JP 11028312A JP 2831299 A JP2831299 A JP 2831299A JP 3133734 B2 JP3133734 B2 JP 3133734B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- code
- selection
- latin
- conversion
- 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.)
- Expired - Lifetime
Links
- 238000006243 chemical reaction Methods 0.000 title claims description 50
- 238000000034 method Methods 0.000 title claims description 13
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000009466 transformation Effects 0.000 claims description 2
- 235000015115 caffè latte Nutrition 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001747 exhibiting effect Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
Description
【0001】[0001]
【発明の属する技術分野】本発明は、デジタル情報化さ
れた平文の内容の秘密を保持して伝送あるいは保存をお
こなうための復号化を含めた符号変換方式に関するもの
で、符号化鍵および復号化鍵としてラテン方体を変換表
として使用し、入力データである平文の所定ビット数
(1ビットでも良い)の平文信号を単位ブロックとして
フィードバック符号化およびフィードフォワード復号化
を行う連鎖式符号変換方式に係わるものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a code conversion method including a decoding method for transmitting or storing the contents of digitalized plaintext while keeping secret, and relates to an encoding key and a decoding method. A chain code conversion system that uses a Latin block as a key as a conversion table and performs feedback coding and feedforward decoding using a plaintext signal of a predetermined number of bits (or 1 bit) of plaintext as input data as a unit block. It is concerned.
【0002】[0002]
【従来の技術】データの機密保持のための手段として、
これまでにも様々な符号変換方式が提案されているが、
その代表的なものに米国の標準暗号であるDES(Da
taEncryption Standard)および
NTTの暗号であるFEAL−8がある。2. Description of the Related Art As a means for keeping data confidential,
Various code conversion methods have been proposed so far,
A typical example is DES (Da
taEncryption Standard) and NTT's cipher FEAL-8.
【0003】これらは、秘密の符号化鍵の制御のもと
で、入力データをブロック単位に符号化または復号化す
るブロック暗号の一つであり、変換を繰り返し行うこと
によって強固な符号(暗号)を得ている。[0003] These are one of the block ciphers that encode or decode input data in block units under the control of a secret encoding key. A strong code (encryption) is obtained by repeatedly performing conversion. Have gained.
【0004】しかし、この(ブロック)符号には、同じ
鍵を使用する限り、同じ平文ブロック(以下、単に平文
信号と記す)からは同じ符号ブロック(以下、符号信号
と記す)しか生成されないと云う欠点があった。However, as for this (block) code, as long as the same key is used, only the same code block (hereinafter referred to as a code signal) is generated from the same plaintext block (hereinafter simply referred to as a plaintext signal). There were drawbacks.
【0005】この欠点から、直ちに符号の解析が容易に
なると云うわけではないが、例えば大量の入力データを
符号化したとき、その中に多数の同じ符号信号が散在し
ていると、解読を企てる者に何らかのヒントを与えるこ
とにもなりかねない。[0005] This drawback does not necessarily mean that code analysis is easy, but it is attempted to decode a large amount of input data if a large number of the same code signals are scattered in the data. Could give some hints to the people.
【0006】そこで、この欠点を解消すべく、図2に示
したフィードバック符号変換方式が採用されているが、
このフィードバック符号変換方式は、符号化装置A側で
は、鍵を用いて平文信号Pi (ブロック番号i=1、
2、・・)から符号信号Ci を生成するに際して、先行
の符号信号Ci-1 をフィードバック信号Cb として一時
記憶部8に記憶しておき、このフィードバック信号Cb
と平文信号Pi とを演算xor部9で演算したものを符
号信号Ci とし、復号化装置B側では、同じ鍵を用いて
符号信号Ci から平文信号Pi を復号生成するに際し
て、先行の符号信号Ci-1 をフィードフォワード信号C
f とし一時記憶部8に記憶しておき、このフィードフォ
ワード信号Cf と符号信号Ci とを演算xor部9で演
算したものを平文信号Pi として復号化を行っている。In order to solve this drawback, a feedback code conversion system shown in FIG. 2 has been adopted.
In this feedback code conversion method, the encoding device A uses a key to transmit a plaintext signal P i (block number i = 1,
2, when generating a code signal C i from ...) is stored in the temporary storage unit 8 the code signal C i-1 of the preceding as a feedback signal C b, the feedback signal C b
In the those calculates the plaintext signal P i at operation xor unit 9 and a code signal C i, the decoding apparatus B side, decoding generates a plaintext signal P i from the code signal C i by using the same key, prior code signal C i-1 feedforward signal C
f and then is stored in the temporary storage unit 8, and performs decoding those calculated and the feedforward signal C f and the code signal C i by computing xor section 9 as clear text signal P i.
【0007】IVは初期値信号で、最初の平文信号Pi
の符号化と符号信号Ci の復号化に用い、予め用意した
値(初期値信号IVは、符号化装置A側と復号化装置B
側の双方のために予め配布しておくか、あるいは平文信
号Pi と一緒に配布する)を用いる。[0007] IV is an initial value signal, the first plaintext signal P i
Of use in decoding the coding and code signal C i, are prepared in advance value (initial value signal IV, the encoding apparatus A side and the decoding apparatus B
Or advance distributed for both sides, or distributed with the plain text signal P i) is used.
【0008】上記した従来の技術においては、演算xo
rは、平文信号Pi と先行の符号信号Ci-1 の入力され
た値に、あるいは符号信号Ci と先行の符号信号Ci-1
の入力された値に対して、排他的論理和(モデユロ2の
加算)と云う固定の常に決まった演算値を結果として返
すものとなる。In the above-mentioned conventional technique, the operation xo
r is the input value of the plaintext signal P i and the preceding code signal C i−1 , or the code signal C i and the preceding code signal C i−1
, A fixed and always calculated value called exclusive OR (addition of modulo 2) is returned as a result.
【0009】このため、フィードバック符号化方式で符
号化/復号化の演算xor、すなわち排他的論理和(モ
デユロ2の加算)を用いるに際して、演算結果が入力値
とフィードバック値とで常にモデユロ2の加算の値で変
換結果が固定になる、すなわち入力値とフィードバック
値と出力値のブロック(1桁の2進数)において、入力
値とフィードバック値がいずれも0あるいは1のとき出
力値は0で、また入力値とフィードバック値が0と1ま
たは1と0のとき出力値は1となるため、出力結果がビ
ット毎に固定的に決定されてしまい、データの解読のヒ
ントを与える可能性があると云う欠点があった。Therefore, when the encoding / decoding operation xor, that is, the exclusive OR (addition of modulo 2) is used in the feedback encoding method, the result of the operation is always the addition of modulo 2 between the input value and the feedback value. , The conversion result is fixed. That is, in a block of input value, feedback value and output value (one digit binary number), the output value is 0 when both the input value and the feedback value are 0 or 1, and Since the output value is 1 when the input value and the feedback value are 0 and 1 or 1 and 0, the output result is fixedly determined for each bit, which may give a hint for data decoding. There were drawbacks.
【0010】この従来技術の欠点を解消すべく、本件出
願人は、先に、フィードバック符号化方式で符号化/復
号化の演算xor、すなわち排他的論理和(モデユロ2
の加算)の演算結果の値を自在とし、符号化されたデー
タから入力データを不正に解読することがきわめて困難
となるようにするため、演算xor部9に代えてラテン
方陣を変換表とした変換部を用いた発明を、平成8年特
許願第162152号として出願している。In order to solve the drawbacks of the prior art, the applicant of the present invention has previously described an operation xor of encoding / decoding in a feedback encoding system, that is, an exclusive OR (modulo 2).
In order to make the value of the operation result of the operation of the present invention freely and to make it extremely difficult to illicitly decode the input data from the encoded data, a Latin square is used as a conversion table instead of the operation xor unit 9. An application using a conversion unit has been filed as Japanese Patent Application No. 162152/1996.
【0011】[0011]
【発明が解決しようとする課題】この本件出願人の先の
特許出願は、優れた秘匿性およびランダム性を発揮し、
容易に実施できるものとなっているのであるが、さらに
高い秘匿性およびランダム性の要求、またより安全で簡
単な実施の要求に応じることが難しいと云う問題があっ
た。SUMMARY OF THE INVENTION The applicant's earlier patent application exhibits excellent confidentiality and randomness,
Although it can be easily implemented, there has been a problem that it is difficult to meet the demand for higher confidentiality and randomness, and the demand for safer and simpler implementation.
【0012】そこで、本発明は、本件出願人の先の特許
出願に対する要望を満たすべく創案されたもので、確実
にかつ簡単に秘匿性およびランダム性を高めると共に、
正確にかつ簡単に実施できるようにすることを目的とす
る。The present invention has been made in order to satisfy the applicant's request for the earlier patent application, and it is possible to surely and easily increase the confidentiality and randomness.
It is intended to be able to be implemented accurately and easily.
【0013】[0013]
【課題を解決するための手段】 以下の説明では、ラテ
ン方体の行、列、奥行きの各要素の値として自然数を用い
た場合を示すが、ラテン方体の行、列、奥行きの各要素と
しては、ラテンアルファベットの文字であってもよい。上
記の目的を達成する第1の発明は 、 フィードバック符号
化方式の符号化部により 、 所定ビット数の平文信号を単
位ブロックとする符号化を行って得た符号信号を生成し
て伝送し 、 フィードバック復号化方式の復号化部により 、
符号信号を単位ブロックとする復号化を行って値が復号
された平文信号を出力する符号変換方式において、符号
化部は 、 n個の記号からなる集合の各元を、行 、 列及び奥
行きの3方向の各n個の要素にそれぞれ一つずつ使用
し 、 かつ、同じ方向には同一の元を配置しないようにし
た、全部でn 3 個の要素からなる立方体で表されるラテ
ン方体を変換表として使用し 、 最初の変換では、所定ビ
ット数の平文信号と初期値信号と第1の選択系列発生部
からの選択信号とにより 、 変換表の行方向 、 列方向及び奥
行き方向のポインタをそれぞれ指定して決定した該変換
表の要素の値を符号信号として出力し 、 2回目以降の変
換では、平文信号と直前に入力された平文信号から変換
された符号信号であるフィードバック信号と第1の選択
系列発生部からの選択信号とにより、変換表の行方向 、
列方向及び奥行き方向のポインタをそれぞれ指定して決
定した該変換表の要素の値を符号信号として出力する構
成としたものである 。 また、復号化部は、符号化部の変
換表として用いたラテン方体に対応した逆変換を行う復
号化ラテン方体を使用し 、 最初の変換では、入力された
符号信号と符号化に用いたと同じ初期値信号と第2の選
択系列発生部からの選択信号とにより 、 復号化ラテン方
体の行方向 、 列方向及び奥行き方向のポインタをそれぞ
れ指定し、2回目以降の変換では、符号信号と直前に入
力された符号信号であるフィードフォワード信号と第2
の選択系列発生部からの選択信号とにより 、 復号化ラテ
ン方体の行方向 、 列方向及び奥行き方向のポインタをそ
れぞれ指定することにより決定される 、 復号化ラテン方
体の要素の値を復号された平文信号として出力すること
を特徴とする。 Means for Solving the Problems In the following description, a case where natural numbers are used as the values of the row, column, and depth elements of the Latin box is shown. However, the row, column, and depth elements of the Latin box are shown. May be letters of the Latin alphabet. Up
A first invention for achieving the above object is a feedback code.
A plaintext signal of a predetermined number of bits is simply
Generates a code signal obtained by performing encoding as a
Transmission, and the decoding unit of the feedback decoding scheme Te,
The value is decoded by performing decoding with the code signal as the unit block.
In a code conversion method of outputting a plaintext signal
Unit has a respective original set of n symbols, row, column and back
One for each of the n elements in the three directions going
And, and, in the same direction so as not to place the same source
A latte represented by a cube consisting of a total of n 3 elements
Is used as a conversion table, and the first conversion
-Unit plaintext signal, initial value signal, and first selection sequence generator
The row direction , column direction , and depth of the conversion table
The conversion determined by specifying each of the pointers for the directions
The value of the table element and outputs a code signal, the second and subsequent odd
In other words, conversion is performed from the plaintext signal and the plaintext signal input immediately before.
Feedback signal which is the encoded signal and the first selection
According to the selection signal from the sequence generator, the row direction of the conversion table ,
Specify the row direction and depth direction pointers
Output the value of the element of the conversion table thus specified as a code signal.
It was a good thing . Also, the decoding unit is a modification of the encoding unit.
Perform inverse transformation corresponding to the Latin box used as the permutation table.
Using the No. of Latin rectangular parallelepiped, the first conversion, is input
The same initial value signal as used for encoding and the second selection
By the selection signal from択系train generator unit, decryption Latin
Pointers in the row , column, and depth directions of the body
In the second and subsequent conversions, the
The feedforward signal, which is the input sign signal, and the second
Selection signal and by decoding latte from the selection sequence generation unit
Pointers in the row , column, and depth directions of the
Decoded Latin , determined by specifying each
Output the values of the body elements as decoded plaintext signals
It is characterized by.
【0014】請求項1記載の発明を式で表すと(以下、
図1参照)、 符号化; Ci =L (Pi ,Ci-1 ,Si ) 復号化; Pi =L-1(Ci ,Ci-1 ,Si ) となる。ただし、Pi は平文信号(信号番号i=1,
2,・・・)、Ci は符号信号(信号番号i=0,1,
2,・・・、但しC0 =IVは初期値として先に用意し
た値を用いる)、Si は選択信号(信号番号i=1,
2,・・・)。Lは符号化に用いるラテン方体、L-1は
復号化に用いるラテン方体である。The invention of claim 1 can be represented by the following formula (hereinafter, referred to as
See FIG. 1), the encoding; C i = L (P i , C i-1, S i) decoding; P i = L -1 (C i, a C i-1, S i) . Here, P i is a plaintext signal (signal number i = 1,
2, ···), C i the code signal (signal number i = 0, 1,
2,... Where C 0 = IV uses a previously prepared value as an initial value), and S i is a selection signal (signal number i = 1,
2, ...). L is a Latin box used for encoding, and L -1 is a Latin box used for decoding.
【0015】平文信号Pi の値と先行する符号信号C
i-1 の値と選択信号Si の値とが、それぞれ符号化ラテ
ン方体Lの行と列と奥行きの位置を示す値(ポインタ)
とすると、符号信号Ci は、行ポインタと列ポインタと
奥行きポインタの示した符号化ラテン方体Lの要素の値
である。復号化ラテン方体L-1は、符号化ラテン方体L
の行または列または奥行きに関して可逆となる逆関数の
ラテン方体として考えた場合、符号信号Ci を行ポイン
タとすると、符号化ラテン方体Lは行に関する逆関数で
ある。The code signal C and a preceding value of the plain text signal P i
The value of i-1 and the value of the selection signal S i are values (pointers) indicating the row and column and depth positions of the coded Latin box L, respectively.
Then, the code signal C i is the value of the element of the coded Latin box L indicated by the row pointer, the column pointer, and the depth pointer. The decoded Latin cube L -1 is the encoded Latin cube L
When considering as a row or column or Latin of inverse functions that are reversible with respect to depth, when the code signal C i and row pointer, an inverse function related to the coding Latin body L rows.
【0016】平文信号Pi と先行する符号信号Ci-1 と
選択信号Si とを符号化ラテン方体Lに入力すると、符
号信号Ci が出力として得られ、符号信号Ci と先行す
る符号信号Ci-1 と選択信号Si とを逆関数の復号化ラ
テン方体L-1に入力すると、平文信号Pi が出力として
得られる。When the plaintext signal P i , the preceding code signal C i−1 and the selection signal S i are input to the coded Latin box L, the code signal C i is obtained as an output, and the code signal C i precedes the code signal C i . When the code signal C i-1 and the selection signal S i are input to the inverse function decoding Latin box L -1 , a plaintext signal P i is obtained as an output.
【0017】符号化は、変換表の値=Ci =L(行ポイ
ンタの値=Pi 、列ポインタの値=Ci-1 、奥行きポイ
ンタの値=Si ) と表され、復号化は、復号化ラテン方体L-1が符号化ラ
テン方体Lの逆関数である場合は、 変換表の値=Pi =L-1(行ポインタの値=Ci 、列ポ
インタの値=Ci-1 、奥行きポインタの値=Si ) と表され、また復号化ラテン方体L-1が符号化ラテン方
体Lと同じラテン方体である場合は、 行ポインタの値=Pi =L-1(変換表の値=Ci 、列ポ
インタの値=Ci-1 、奥行きポインタの値=Si ) と表せる。The encoding is represented by a conversion table value = C i = L (row pointer value = P i , column pointer value = C i−1 , depth pointer value = S i ). If the decoded Latin box L -1 is an inverse function of the encoded Latin box L, the value of the conversion table = P i = L −1 (the value of the row pointer = C i , the value of the column pointer = C i−1 , the value of the depth pointer = S i ), and when the decoded Latin cube L −1 is the same Latin cube as the encoded Latin cube L, the value of the row pointer = P i = L -1 (conversion table value = C i , column pointer value = C i−1 , depth pointer value = S i ).
【0018】ラテン方体は、n個の記号から成る集合A
={a1 ,a2 ,・・,an }の各元をn回づつ使っ
て、合計n3 個を3っの方向〔行(縦)方向、列(横)
方向、奥行き(前後)方向〕にそれぞれn個の要素を持
つ立方体に配列し、各方向において、集合Aの各元が一
度づつ現れるもの、すなわち互いの同じ位置に同じ値を
持たないn次ラテン方陣をn個重ねたものを、A上のラ
テン方体、あるいはn次ラテン方体と云う。A Latin cube is a set A consisting of n symbols.
= {A 1 , a 2 ,..., A n } is used n times, and a total of n 3 elements are arranged in three directions (row (vertical) direction, column (horizontal)
Direction, depth (front-back) direction], and each element of the set A appears once in each direction in each direction, that is, an nth-order Latin that does not have the same value at the same position in each other A stack of n squares is called a Latin cube on A or an nth-order Latin cube.
【0019】このように、ラテン方体を符号変換に用い
ることにより、複数ビット単位で変換が行われて非線形
となり、また行の値、列の値、奥行きの値、要素の値の
何れか三つが決まれば、残りの一つが必然的に決定され
るので、変換が正確かつ簡単に行われる。As described above, by using the Latin cube for code conversion, the conversion is performed in units of a plurality of bits and becomes non-linear, and any one of the row value, the column value, the depth value, and the element value is used. Once one is determined, the other one is inevitably determined, so the conversion is accurate and simple.
【0020】ラテン方体の各要素の値は、行、列、奥行
きの各方向に同じものがない、すなわち重複がないの
で、一様性が保証され、これにより乱数性すなわちラン
ダム性がきわめて良くなる。Since the values of the elements of the Latin box are not the same in the row, column, and depth directions, that is, there is no overlap, uniformity is ensured, and the randomness, that is, the randomness is extremely good. Become.
【0021】変換表としてラテン方陣を使用した場合と
比べると、選択信号Si が鍵信号として追加されるの
で、その分、入力パラメーターが増えて複雑性が増大す
ることになる。As compared with the case where the Latin square is used as the conversion table, the selection signal S i is added as a key signal, and accordingly, the input parameters increase and the complexity increases.
【0022】 請求項2記載の第2の発明は 、 第1の発
明における第1及び第2の選択系列発生部を、シフトレ
ジスタと 、 シフトレジスタの出力をシフトレジスタにフ
ィードバックするフィードバック結合回路からなる線形
フィードバックシフトレジスタで構成したことを特徴と
する。 A second invention according to a second aspect is the first invention.
The first and second selection sequence generators in
And register, off the output of the shift register to the shift register
Linear consisting of feedback coupled circuit with feedback
The feature is that it consists of a feedback shift register
I do.
【0023】この請求項2記載の発明にあっては、発生
される選択信号Si の系列が長い周期を持ち、また統計
的にランダムであり、さらに容易に発生させることがで
きて実用的である。[0023] In the invention of claim 2 wherein has a sequence longer period of the selection signal S i to be generated, also a statistically random, practical and can be more easily generated is there.
【0024】[0024]
【発明の実施の形態】以下、本発明の実施例を、図1を
参照しながら説明する。図1は、本発明の最も基本的な
構成例を示すもので、(a)は符号化装置Aを示し、
(b)は復号化装置Bを示しており、両装置は、4次の
ラテン方体を変換表として有する変換部1と、行ポイン
タを指定する行指定部2と、列ポインタを一時的に記憶
して指定する列指定部3と、奥行きポインタを指定する
奥行き指定部4と、選択系列発生部5とから構成した一
つの符号化部aおよび復号化部bで構成されており、選
択系列発生部5は、シフトレジスタ6とフィードバック
結合回路7とから成る線形フィードバックシフトレジス
タで構成されている。Embodiments of the present invention will be described below with reference to FIG. FIG. 1 shows the most basic configuration example of the present invention, in which (a) shows an encoding device A,
(B) shows a decoding device B, which comprises a conversion unit 1 having a quaternary Latin cube as a conversion table, a row specification unit 2 for specifying a row pointer, and a column pointer for temporarily storing a column pointer. It is composed of one encoding unit a and one decoding unit b composed of a column designation unit 3 for storing and designating, a depth designating unit 4 for designating a depth pointer, and a selection sequence generating unit 5. The generator 5 is constituted by a linear feedback shift register including a shift register 6 and a feedback coupling circuit 7.
【0025】復号化部bの復号化ラテン方体L-1は、符
号化部aの符号化ラテン方体Lの逆関数となっていて、
符号化部aの行指定部2には平文信号Pi が行ポインタ
として、また列指定部3には初期値信号IVおよびフィ
ードバック信号Cb が列ポインタとして、そして奥行き
指定部4には選択信号Si が奥行きポインタとして入力
されているので、復号化部bでは、行指定部2に符号信
号Ci が行ポインタとして、また列指定部3に初期値信
号IVおよびフィードフォワード信号Cf が列ポインタ
として、そして奥行き指定部4には選択信号Si が奥行
きポインタとして入力されることになる。The decoded Latin box L -1 of the decoding unit b is an inverse function of the encoded Latin box L of the encoding unit a, and
The plain text signal Pi is used as a row pointer in the row specifying unit 2 of the encoding unit a, the initial value signal IV and the feedback signal Cb are used as the column pointer in the column specifying unit 3, and the selection signal is supplied to the depth specifying unit 4. because S i is input as the depth pointer, the decoding section b, as the code signal C i is the row pointer in the row designation unit 2, also the initial value signal IV and feedforward signal C f the column specification section 3 columns The selection signal S i is input to the depth specifying unit 4 as a pointer and as a depth pointer.
【0026】符号化ラテン方体Lおよび復号化ラテン方
体L-1は、4次の3次元配列表であるので、信号の変換
処理を2ビット単位で行い、この変換処理動作を繰り返
すことにより、任意の長さの符号の発生が可能となる。Since the encoded Latin box L and the decoded Latin box L -1 are a four-dimensional three-dimensional array table, signal conversion processing is performed in units of 2 bits, and this conversion processing operation is repeated. , A code of an arbitrary length can be generated.
【0027】図1は、本発明の基本構成を示すものであ
るが、変換部1を、符号化ラテン方体Lまたは復号化ラ
テン方体L-1だけで構成するのではなく、所定の符号化
アルゴリズムである符号化関数を符号化ラテン方体Lま
たは復号化ラテン方体L-1に組合せて構成しても良く、
また符号化装置Aおよび復号化装置Bを、複数の符号化
部aおよび復号化部bを直列または並列さらには直並列
に接続して構成しても良い。FIG. 1 shows the basic configuration of the present invention. The conversion unit 1 is not composed of only the encoded Latin box L or the decoded Latin box L- 1. May be configured by combining an encoding function, which is an encoding algorithm, with the encoded Latin box L or the decoded Latin box L −1 ,
Further, the encoding device A and the decoding device B may be configured by connecting a plurality of encoding units a and decoding units b in series or in parallel, or in series or in parallel.
【0028】また、符号化装置Aおよび復号化装置B
を、複数の符号化部aおよび復号化部bで構成した場合
には、フィードバック信号Cb およびフィードフォワー
ド信号Cf を自己からもしくは自己への符号信号Ci で
はなく、他の変換部1に対する符号信号Ci を利用する
ようにしても良い。An encoding device A and a decoding device B
The, when composed of a plurality of encoding unit a and the decoding unit b is a feedback signal C b and feedforward signal C f instead sign signal C i from autologous or to self, for other conversion section 1 may be utilized code signal C i.
【0029】[0029]
【発明の効果】本発明は、上記した構成となっているの
で、以下に示す効果を奏する。ブロック符号化方式の符
号化/復号化を行う演算部分である変換部にラテン方体
を用いたので、演算結果の値を複数の自然数とすること
ができ、また複数ビットの暗号化が行われ、これにより
符号化が非線形となり、変換単位のビット数が多くなる
ので複雑度が増加し、各要素の値の重複がないので一様
性が保証され、これによりランダム性がきわめて良いの
で、きわめて高い秘匿性を発揮する暗号を簡単に得るこ
とができる。Since the present invention has the above-described structure, the following effects can be obtained. Since a Latin cube is used for the conversion unit, which is an operation part for performing encoding / decoding in the block encoding method, the value of the operation result can be a plurality of natural numbers, and encryption of a plurality of bits is performed. This makes the encoding non-linear, increases the number of bits in the transform unit, increases complexity, and guarantees uniformity because there is no duplication of the values of each element, thereby providing extremely good randomness. It is possible to easily obtain a cipher exhibiting high secrecy.
【0030】ラテン方体の行の値、列の値、奥行きの
値、要素の値のいずれか三つから残りの一つを決定して
符号化および復号化を行うので、符号化部および復号化
部のおける変換が正確で簡単のものとすることができる
だけでなく、使用される鍵信号が二つあるので、秘匿性
が高められている。Since encoding and decoding are performed by determining the remaining one out of three of the row value, column value, depth value, and element value of the Latin cube, the encoding unit and the decoding unit Not only can the conversion in the conversion unit be accurate and simple, but the confidentiality is enhanced because there are two key signals to be used.
【0031】請求項2記載の発明にあっては、符号変換
において線形フィードバック・シフトレジスタが発揮す
る優れた特性、すなわち発生される符号の系列が長い周
期をもつこと、統計的にランダムであること、容易に発
生できて実用的であること等の特性をそのまま維持し
て、その最大の欠点である、難解度が低いと云う問題点
を、ラテン方体との組合せにより、全く解消することが
できるので、符号変換を実施するに際して、優れた特性
を発揮する。According to the second aspect of the present invention, excellent characteristics exhibited by the linear feedback shift register in code conversion, that is, a sequence of generated codes has a long period and is statistically random. By maintaining the characteristics that it can be easily generated and practical, it is possible to completely eliminate the problem of low difficulty, which is the greatest drawback, by combining it with a Latin cube. Therefore, when performing code conversion, excellent characteristics are exhibited.
【図1】本発明の基本構成を示す、ブロック回路図。FIG. 1 is a block circuit diagram showing a basic configuration of the present invention.
【図2】従来例を示す、ブロック回路図。FIG. 2 is a block circuit diagram showing a conventional example.
A ; 符号化装置 a ; 符号化部 B ; 復号化装置 b ; 復号化部 1 ; 変換部 2 ; 行指定部 3 ; 列指定部 4 ; 奥行き指定部 5 ; 選択系列発生部 6 ; シフトレジスタ 7 ; フィードバック結合回路 8 ; 一時記憶部 9 ; 演算xor部 Pi ; 平文信号 Ci ; 符号信号 IV; 初期値信号 L ; 符号化ラテン方体 L-1; 復号化ラテン方体 Cb ; フィードバック信号 Cf ; フィードフォワード信号 Si ; 選択信号A: Encoding device a; Encoding unit B; Decoding device b; Decoding unit 1; Conversion unit 2; Row designation unit 3; Column designation unit 4; Depth designation unit 5; Selection sequence generation unit 6; Shift register 7 Feedback coupling circuit 8; Temporary storage unit 9; Operation xor unit P i ; Plain text signal C i ; Code signal IV; Initial value signal L; Encoded Latin cube L -1 ; Decoded Latin cube C b ; C f ; feed forward signal S i ; selection signal
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 9/00 G09C 1/00 - 1/14 ──────────────────────────────────────────────────続 き Continuation of front page (58) Field surveyed (Int.Cl. 7 , DB name) H04L 9/00 G09C 1/00-1/14
Claims (2)
より 、 所定ビット数の平文信号を単位ブロックとする符
号化を行って得た符号信号を生成して伝送し 、 フィード
バック復号化方式の復号化部により 、 前記符号信号を単
位ブロックとする復号化を行って値が復号された前記平
文信号を出力する符号変換方式において、 前記符号化部は 、 n個の記号からなる集合の各元を、行 、
列及び奥行きの3方向の各n個の要素にそれぞれ一つず
つ使用し 、 かつ、同じ方向には同一の元を配置しないよ
うにした、全部でn 3 個の要素からなる立方体で表され
るラテン方体を変換表として使用し 、 最初の変換では、
前記所定ビット数の平文信号と初期値信号と第1の選択
系列発生部からの選択信号とにより 、 前記変換表の前記
行方向 、 列方向及び奥行き方向のポインタをそれぞれ指
定して決定した該変換表の要素の値を前記符号信号とし
て出力し 、 2回目以降の変換では、前記平文信号と直前
に入力された平文信号から変換された符号信号であるフ
ィードバック信号と前記第1の選択系列発生部からの選
択信号とにより、前記変換表の前記行方向 、 列方向及び
奥行き方向のポインタをそれぞれ指定して決定した該変
換表の要素の値を前記符号信号として出力し 、 前記復号化部は、前記符号化部の変換表として用いた前
記ラテン方体に対応した逆変換を行う復号化ラテン方体
を使用し 、 最初の変換では、入力された前記符号信号と
符号化に用いたと同じ初期値信号と第2の選択系列発生
部からの選択信号とにより 、 前記復号化ラテン方体の前
記行方向 、 列方向及び奥行き方向のポインタをそれぞれ
指定し、2回目以降の変換では、前記符号信号と直前に
入力された符号信号であるフィードフォワード信号と第
2の選択系列発生部からの選択信号とにより 、 前記復号
化ラテン方体の前記行方向 、 列方向及び奥行き方向のポ
インタをそれぞれ指定することにより決定される 、 前記
復号化ラテン方体の要素の値を復号された平文信号とし
て出力することを特徴とする 符号変換方式。1. A feedback encoding system comprising :
More, marks the unit block plaintext signal of a predetermined bit number
It generates a code signal obtained by performing-coding and transmission, feed
The code signal is simply converted by a decoding unit of the back decoding system.
The flat block whose value has been decoded by decoding
In the code conversion method for outputting Bunshingo, the encoding unit, each original set of n symbols, lines,
One for each of the n elements in each of the three directions of row and depth
One uses, and does not place the same source in the same direction
Represented by a cube consisting of n 3 elements in total
Latin cubes are used as the conversion table, and in the first conversion,
The predetermined number of bits of plaintext signal, initial value signal and first selection
With the selection signal from the sequence generator , the conversion table
Point the pointer in the row , column, and depth directions, respectively.
The value of the element of the conversion table determined and determined as the code signal
Outputs Te, the second and subsequent conversion, the plaintext signal and the previous
Is a code signal converted from the plaintext signal input to
Feedback signal and selection from the first selection sequence generator.
With the selection signal , the row direction , column direction and
The change determined by designating the pointer in the depth direction.
The values of the elements of the permutation table are output as the code signals, and the decoding unit uses
Decoded Latin box that performs inverse transformation corresponding to the Latin box
In the first conversion, the input code signal and
Generating the same initial value signal and second selection sequence as used for encoding
By the selection signal from the parts, before the decoding Latin body
Pointers in the writing direction , column direction and depth direction are respectively
In the second and subsequent conversions,
The feedforward signal, which is the input code signal, and the
By the selection signal from the second selection sequence generating unit, said decoding
In the row direction , column direction and depth direction
It is determined by specifying the interface, respectively, wherein
The value of the element in the decoded Latin box is used as the decoded plaintext signal.
A code conversion method characterized in that the code is output .
シフトレジスタと 、 該シフトレジスタの出力を前記シフ
トレジスタにフィードバックするフィードバック結合回
路からなる線形フィードバックシフトレジスタで構成し
たことを特徴 とする請求項1記載の符号変換方式。2. The method according to claim 1, wherein the first and second selection sequence generators include:
A shift register, the output of the shift register said shift
Feedback loop that feeds back to the register
And a linear feedback shift register
Code conversion method according to claim 1, wherein the a.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11028312A JP3133734B2 (en) | 1999-02-05 | 1999-02-05 | Code conversion method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11028312A JP3133734B2 (en) | 1999-02-05 | 1999-02-05 | Code conversion method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000227753A JP2000227753A (en) | 2000-08-15 |
| JP3133734B2 true JP3133734B2 (en) | 2001-02-13 |
Family
ID=12245110
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11028312A Expired - Lifetime JP3133734B2 (en) | 1999-02-05 | 1999-02-05 | Code conversion method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3133734B2 (en) |
-
1999
- 1999-02-05 JP JP11028312A patent/JP3133734B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000227753A (en) | 2000-08-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Wang et al. | Chaotic color image encryption based on 4D chaotic maps and DNA sequence | |
| US9975037B2 (en) | Sudoku arrays | |
| US5295188A (en) | Public key encryption and decryption circuitry and method | |
| US20080080709A1 (en) | Method for encrypting information and device for realization of the method | |
| CN112202545A (en) | Image encryption method based on Y-shaped filling curve and variable step size Joseph traversal | |
| CN115659409B (en) | A method for securely storing financial asset transaction data | |
| JP3044565B2 (en) | Encryption device | |
| JPH08179690A (en) | Product encoding device | |
| US20020114451A1 (en) | Variable width block cipher | |
| US8130956B2 (en) | Efficient and low power encrypting and decrypting of data | |
| Alhassan et al. | Enhancing image security during transmission using residue number system and k-shuffle | |
| WO1999036942A1 (en) | Method for the cryptographic conversion of binary data blocks | |
| CN116436589A (en) | Image Encryption Method and Decryption Method Based on Optical Chaos and DNA Rubik's Cube Scrambling | |
| CN115987490A (en) | A white-box construction method of lightweight block cipher algorithm suitable for ARX structure | |
| JP3133734B2 (en) | Code conversion method | |
| US5764771A (en) | Method for processing a digital signal in a so-called secure communication system and use of this method for access control and/or binary signature | |
| Yadav et al. | A novel visual cryptography scheme based on substitution cipher | |
| Rajput et al. | An improved cryptographic technique to encrypt images using extended hill cipher | |
| Yu et al. | Reducing Share Size in JPEG Image Sharing over GF (2 m) and GF (p) Galois Fields | |
| JP3474058B2 (en) | Coding method | |
| Pandey et al. | A Modified Circular Version of Playfair Cipher | |
| JP3701782B2 (en) | Code generator | |
| Farkaš | On adding security to RLL-LDPC CCSDS codes without additional redundancy | |
| JP3882900B2 (en) | Code conversion method and conversion apparatus | |
| JPH10326076A (en) | Code conversion system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| 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: 20071124 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081124 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081124 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091124 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101124 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111124 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111124 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121124 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121124 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131124 Year of fee payment: 13 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| EXPY | Cancellation because of completion of term |