JPH0591101A - Ciphering device and decoding device - Google Patents

Ciphering device and decoding device

Info

Publication number
JPH0591101A
JPH0591101A JP3274855A JP27485591A JPH0591101A JP H0591101 A JPH0591101 A JP H0591101A JP 3274855 A JP3274855 A JP 3274855A JP 27485591 A JP27485591 A JP 27485591A JP H0591101 A JPH0591101 A JP H0591101A
Authority
JP
Japan
Prior art keywords
output
numerical value
information
circuit
input
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
Application number
JP3274855A
Other languages
Japanese (ja)
Other versions
JP2864813B2 (en
Inventor
Michio Shimada
道雄 島田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3274855A priority Critical patent/JP2864813B2/en
Publication of JPH0591101A publication Critical patent/JPH0591101A/en
Application granted granted Critical
Publication of JP2864813B2 publication Critical patent/JP2864813B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a bit length of ciphering information from being longer than a bit length of input information. CONSTITUTION:A code converter 11 applies predetermined code conversion to information inputted from an input terminal 10. A comparator 12 compares the relation of quantity between a numeral A subject to code conversion and a numeral N given in advance and gives the result of comparison to a changeover device 14 as a control signal. On the other hand, a ciphering circuit 13 applies ciphering to an output of the code converter by a well-known method and gives the result to the changeover device 14. The changeover device 14 selects an output of the ciphering circuit 13 when the numeral A is smaller than the numeral N as the result of comparison and selects an output of the code converter 11 when the numeral A is not smaller than the numeral N as the result of comparison conversely and the selected output is outputted as ciphered information with respect to the inputted information.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、通信システムや計算機
システムにおいて採用される暗号化装置及び復号化装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encryption device and a decryption device used in communication systems and computer systems.

【0002】[0002]

【従来の技術】通信システムや計算機システムでは、許
可されていない者が不正に情報を取得する等を防止する
ため、情報を暗号に変換(暗号化)し、それを元の情報
に復元(復号化)することが行われているが、この暗号
化・復号化法は、端的に言えば入力された「暗号化する
情報(元情報)」または「暗号化されている情報(暗
号)」に予め決められた演算を施し、その演算結果を予
め与えられた数値で割り算したときの余りを「暗号」ま
たは「元情報」とする方式である。
2. Description of the Related Art In a communication system or a computer system, in order to prevent unauthorized persons from obtaining information illegally, the information is converted into encryption (encryption) and restored (decryption) to the original information. In other words, this encryption / decryption method is basically the same as the input "information to be encrypted (source information)" or "encrypted information (encryption)". This is a method in which a remainder when the predetermined calculation is performed and the calculation result is divided by a predetermined numerical value is “encryption” or “original information”.

【0003】この種の暗号化・復号化法として従来広く
知られ利用されている代表的なものにRSA法がある。
これは、1978年にリベスト、シャミア、エイデルマ
ンの3人が提案したもので(R.L.Rivest,A.Shamirand
L.Addleman,“A Method forObtaining Digital Signat
ures and Public-key Cryptosystems ,”Comm.ACM,Vo
l.21,No.2,pp.120-126,1978)、提案者の頭文字を取って
RSA法と命名されたものである。なお、このRSA法
に関しては、例えば書籍「情報と符号の理論」(宮川、
原島、今井共著、岩波書店発刊、昭和58年)の第10
章に平易な解説がある。
As a typical encryption / decryption method of this type, the RSA method has been widely known and used.
This was proposed by Rivest, Shamir, and Adelmann in 1978 (RLRivest, A.Shamirand
L. Addleman, “A Method forObtaining Digital Signat
ures and Public-key Cryptosystems, “Comm.ACM, Vo
L.21, No.2, pp.120-126, 1978), the acronym of the proposer was taken and it was named RSA method. Regarding the RSA method, for example, the book “Theory of Information and Code” (Miyakawa,
Harashima and Imai, published by Iwanami Shoten, 1983, 10th
There is a plain explanation in the chapter.

【0004】前記文献によれば、RSA法を含む一般の
暗号化・複号化法による暗号化装置及び複号化装置は、
許可されていない者が情報をのぞき見できないような暗
号に暗号化する目的だけでなく、情報を発信した者が後
でその情報を発信したことを否定して詐欺を働くことを
防止したり、許可されていない者が許可されている者の
ふりをして偽りの情報を発信することを防止する目的に
も使用できるが、以下の説明では便宜上、許可されてい
ない者が情報をのぞき見するのを防止する目的で情報を
暗号化する場合をRSA法を例に挙げて解説する。
According to the above-mentioned document, an encryption device and a decryption device by a general encryption / decryption method including the RSA method are
Not only for the purpose of encrypting the information so that unauthorized persons can not peep at the information, but also to prevent fraud by denying that the person who sent the information later sent the information, It can also be used to prevent unauthorized persons from pretending to be false persons and transmitting false information, but for the sake of convenience in the following description, unauthorized persons will peek at the information. The case of encrypting information for the purpose of preventing the above will be explained by taking the RSA method as an example.

【0005】RSA法における暗号化・復号化法では、
暗号化鍵として数値eを、復号化鍵として数値dを、暗
号化と復号化の共通鍵として数値Nを予め用意する。こ
れらの数値(e、d、N)は整数であり、前記書籍に詳
記されている方法で決定してあるとする。また、暗号化
する情報の数値表現Pを、“1”、“0”のビット系列
で表現される情報を有限の長さのビット列に区分したそ
れぞれとして得る。従って、以下の説明では混乱のない
限り「情報」と「情報の数値表現」を区別しないものと
する。
In the RSA encryption / decryption method,
A numerical value e is prepared in advance as an encryption key, a numerical value d is prepared as a decryption key, and a numerical value N is prepared in advance as a common key for encryption and decryption. These numerical values (e, d, N) are integers and are determined by the method described in detail in the book. In addition, the numerical representation P of the information to be encrypted is obtained by dividing the information represented by the bit sequence of "1" and "0" into bit strings of finite length. Therefore, in the following description, "information" and "numerical expression of information" are not distinguished unless there is confusion.

【0006】さて、暗号化は、次の数式1に示すよう
に、情報Pをe乗したものをNで割り算しその余りCを
暗号Cとして求める操作によって行われる。
The encryption is performed by the operation of dividing the information P raised to the power of e by N and obtaining the remainder C as the encryption C, as shown in the following formula 1.

【0007】[0007]

【数1】 [Equation 1]

【0008】また、復号化は、次の数式2に示すよう
に、上記のように暗号化した暗号Cをd乗したものをN
で割り算しその余りPを元の情報Pとして復元する操作
によって行われる。
Decryption is performed by multiplying the cipher C encrypted as described above to the d-th power by N, as shown in the following formula 2.
It is performed by an operation of dividing by and restoring the remainder P as the original information P.

【0009】[0009]

【数2】 [Equation 2]

【0010】[0010]

【発明が解決しようとする課題】上述したように暗号化
・復号化法、即ち、入力された情報Pに予め決められた
演算を施し、その演算結果を予め与えられた数値Nで割
り算したときの余りを暗号または元の情報とする方式で
は、暗号化の過程で共通鍵Nで割ったときの余りを算出
するが、その際数値表現がPの情報と数値表現がP+N
の情報との区別ができるようにする必要がある。しか
し、共通鍵Nは任意の整数であるが、都合の良い2の冪
乗値とすることができない。また、通信や計算機では2
進法が用いられる。
As described above, when the encryption / decryption method, that is, the input information P is subjected to a predetermined operation and the operation result is divided by a predetermined numerical value N. In the method in which the remainder is encrypted or the original information, the remainder when divided by the common key N in the encryption process is calculated. At that time, the information whose numerical expression is P and the numerical expression is P + N
It is necessary to be able to distinguish it from the information of. However, the common key N is an arbitrary integer, but cannot be a convenient power of 2. In communication and computer, 2
The base system is used.

【0011】そのため、従来の暗号化・復号化法では、
情報Pを共通鍵Nよりも小さい値に設定し、上記区別を
可能としている。また、共通鍵Nが都合の良い2の冪乗
値とならないので、情報Pと共通鍵Nとのビット長が同
一だと情報Pが共通鍵Nよりも大きな値となることがあ
る。従って、通常、情報Pのビット長は、共通鍵Nのビ
ット長よりも1ビットだけ短くなるように、入力された
暗号化する情報を区切って形成するようにしている。
Therefore, in the conventional encryption / decryption method,
The information P is set to a value smaller than the common key N to enable the above distinction. Further, since the common key N does not take a convenient power of 2, the information P may be larger than the common key N if the bit lengths of the information P and the common key N are the same. Therefore, usually, the input information to be encrypted is divided and formed so that the bit length of the information P is shorter than the bit length of the common key N by 1 bit.

【0012】そうすると、暗号のビット長は共通鍵Nの
ビット長と同一であるので、暗号が情報よりも1ビット
だけ長くなり、情報の伝送効率や記憶効率が劣化すると
いう問題がある。
Then, since the bit length of the cipher is the same as the bit length of the common key N, the cipher becomes one bit longer than the information, and there is a problem that the transmission efficiency and storage efficiency of the information deteriorate.

【0013】本発明の目的は、情報の伝送効率や記憶効
率の向上が図れる暗号化装置及び復号化装置を提供する
ことにある。
An object of the present invention is to provide an encryption device and a decryption device which can improve the transmission efficiency and storage efficiency of information.

【0014】[0014]

【課題を解決するための手段】前記目的を達成するた
め、本発明の暗号化装置及び復号化装置は次の如き構成
を有する。即ち、第1発明の暗号化装置は、入力された
情報に予め決められたコード変換を施して出力するコー
ド変換器と; 前記コード変換器の出力について暗号化
処理をする暗号化回路と; 前記コード変換器の出力の
値と予め与えられた数値との大小関係を比較する比較器
と; 前記比較器の比較結果に応じて前記コード変換器
の出力と前記暗号化回路の出力との何れか一方を前記入
力された情報に対する暗号化情報として選択出力する切
換器と; を備えたことを特徴とするものである。
In order to achieve the above object, the encryption device and the decryption device of the present invention have the following configurations. That is, the encryption device of the first invention is a code converter that performs a predetermined code conversion on the input information and outputs the coded information; an encryption circuit that performs an encryption process on the output of the code converter; A comparator that compares the magnitude relationship between the output value of the code converter and a predetermined value; either the output of the code converter or the output of the encryption circuit, depending on the comparison result of the comparator And a switch for selectively outputting one of the input information as encrypted information with respect to the input information.

【0015】第2発明の復号化装置は、入力された情報
について復号化処理をする復号化回路と; 前記入力さ
れた情報の値と予め与えられた数値との大小関係を比較
する比較器と; 前記比較器の比較結果に応じて前記入
力された情報と前記復号化回路の出力との何れか一方を
選択出力する切換器と; 前記切換器の出力に予め決め
られた逆コード変換を施しそれを前記入力された情報に
対する復号化情報として出力する逆コード変換器と;
を備えたことを特徴とするものである。
A decoding device according to a second aspect of the present invention includes a decoding circuit for performing a decoding process on input information; a comparator for comparing the value of the input information with a numerical value given in advance. A switch for selectively outputting either the input information or the output of the decoding circuit according to the comparison result of the comparator; and a predetermined inverse code conversion for the output of the switch. An inverse code converter that outputs it as decoded information for the input information;
It is characterized by having.

【0016】第3発明の暗号化装置は、外部から与えら
れる制御信号に従って、まず入力された元情報を選択出
力し、その後一定の暗号化処理がなされた情報を選択出
力する第1切換器と; 前記第1切換器の出力に予め決
められたコード変換を施して出力するコード変換器と;
前記コード変換器の出力について暗号化処理をする暗
号化回路と; 前記コード変換器の出力の値と予め与え
られた数値との大小関係を比較する比較器と; 前記比
較器の比較結果に応じて前記コード変換器の出力と前記
暗号化回路の出力との何れか一方を前記一定の暗号化処
理がなされた情報として選択出力する第2切換器と;
を備えたことを特徴とするものである。
The encryption device according to the third aspect of the present invention includes a first switching device that first selects and outputs the input original information according to a control signal given from the outside, and then selectively outputs information that has been subjected to a certain encryption process. A code converter that performs a predetermined code conversion on the output of the first switching device and outputs the converted code;
An encryption circuit for performing encryption processing on the output of the code converter; a comparator for comparing the magnitude relationship between the value of the output of the code converter and a predetermined numerical value; and a comparison result of the comparator. A second switch for selectively outputting either one of the output of the code converter and the output of the encryption circuit as the information subjected to the certain encryption processing;
It is characterized by having.

【0017】第4発明の復号化装置は、外部から与えら
れる制御信号に従って、まず入力された元情報を選択出
力し、その後一定の復号化処理のなされた情報を選択出
力する第1切換器と; 前記第1切換器の出力について
復号化処理をする復号化回路と; 前記第1切換器の出
力の値と予め与えられた数値との大小関係を比較する比
較器と; 前記比較器の比較結果に応じて前記第1切換
器の出力と前記復号化回路の出力との何れか一方を選択
出力する第2切換器と; 前記第2切換器の出力に予め
決められた逆コード変換を施しそれを前記一定の復号化
処理のなされた情報として出力する逆コード変換器と;
を備えたことを特徴とするものである。
A decoding device according to a fourth aspect of the present invention includes a first switching device which, according to a control signal given from the outside, first selects and outputs the input original information, and then selectively outputs the information subjected to a certain decoding process. A decoding circuit that performs a decoding process on the output of the first switching device; a comparator that compares the value of the output of the first switching device with a predetermined value; a comparison of the comparators; A second switch that selectively outputs either the output of the first switch or the output of the decoding circuit according to the result; and a predetermined inverse code conversion for the output of the second switch. An inverse code converter which outputs it as the information subjected to the constant decoding processing;
It is characterized by having.

【0018】第5発明の暗号化装置は、第1発明または
第3発明の暗号化装置において;コード変換器は、入力
された数値をその最上位ビットを反転した形で出力す
る;ことを特徴とするものである。
The encryption device of the fifth invention is the encryption device of the first invention or the third invention; the code converter outputs the input numerical value in a form in which the most significant bit thereof is inverted. It is what

【0019】第6発明の復号化装置は、第2発明または
第4発明の復号化装置において;逆コード変換器は、入
力された数値をその最上位ビットを反転した形で出力す
る; ことを特徴とするものである。
The decoding device of the sixth invention is the decoding device of the second invention or the fourth invention; the inverse code converter outputs the input numerical value in a form in which the most significant bit thereof is inverted. It is a feature.

【0020】第7発明の暗号化装置は、第1発明または
第3発明の暗号化装置において;コード変換器は、入力
された数値の中の最上位ビットを反転する否定回路と;
入力された数値の中の複数下位ビットからなる数値を所
定ビット長からなる数値へ変換する回路と; 入力され
た数値の中の最上位ビットを除く複数上位ビットであっ
て前記所定ビット長と同ビット長の複数上位ビットから
なる数値と前記所定ビット長からなる数値との排他的論
理和をとる排他的論理和回路と; を備え、前記否定回
路の出力と前記排他的論理和回路の出力と前記複数下位
ビットと前記入力された数値の中の残余のビットとを当
該コード変換器の出力とする;ことを特徴とするもので
ある。
The encryption device of the seventh invention is the encryption device of the first invention or the third invention; the code converter has a negation circuit for inverting the most significant bit in the inputted numerical value;
A circuit for converting a numerical value composed of a plurality of lower bits in the input numerical value into a numerical value having a predetermined bit length; a plurality of upper bits excluding the most significant bit of the input numerical value, which are the same as the predetermined bit length An exclusive OR circuit that takes an exclusive OR of a numerical value consisting of a plurality of upper bits of a bit length and a numerical value consisting of the predetermined bit length; and an output of the NOT circuit and an output of the exclusive OR circuit. The plurality of lower-order bits and the remaining bits in the input numerical value are output from the code converter.

【0021】第8発明の復号化装置は、第2発明または
第4発明の復号化装置において;逆コード変換器は、入
力された数値の中の最上位ビットを反転する否定回路
と;入力された数値の中の複数下位ビットからなる数値
を所定ビット長からなる数値へ変換する回路と; 入力
された数値の中の最上位ビットを除く複数上位ビットで
あって前記所定ビット長と同ビット長の複数上位ビット
からなる数値と前記所定ビット長からなる数値との排他
的論理和をとる排他的論理和回路と;を備え、前記否定
回路の出力と前記排他的論理和回路の出力と前記複数下
位ビットと前記入力された数値の中の残余のビットとを
当該逆コード変換器の出力とする;ことを特徴とするも
のである。
The decoding device of the eighth invention is the decoding device of the second invention or the fourth invention; the inverse code converter is a negation circuit for inverting the most significant bit in the inputted numerical values; A circuit for converting a numerical value consisting of a plurality of lower bits in the numerical value into a numerical value having a predetermined bit length; a plurality of upper bits excluding the most significant bit of the input numerical value and having the same bit length as the predetermined bit length An exclusive OR circuit that takes an exclusive OR of a numerical value composed of a plurality of upper bits and a numerical value having the predetermined bit length; and an output of the NOT circuit, an output of the exclusive OR circuit and the plurality of The lower bits and the remaining bits in the input numerical value are output from the inverse code converter.

【0022】[0022]

【作用】次に、前記の如く構成される本発明の暗号化装
置及び復号化装置の作用を説明する。なお、本発明の暗
号化装置及び復号化装置は、許可されていない者が情
報をのぞき見るのを防止する目的、情報を発信した者
が後でその情報を発信したことを否定して詐欺を働くの
を防止する目的、許可されていない者が許可されてい
る者のふりをして偽りの情報を発信するのを防止する目
的、の何れにも適用できるが、以下、の「許可されて
いない者が情報をのぞき見るのを防止する目的」で使用
する場合を例に説明する。
Next, the operation of the encryption device and the decryption device of the present invention configured as described above will be described. The encryption device and the decryption device of the present invention are intended to prevent unauthorized persons from peeping at the information, and deny that the person who has transmitted the information later transmitted the information, and thus fraud. It can be applied to both the purpose of preventing work and the purpose of preventing unauthorized persons from pretending to be false persons and transmitting false information. An example is used for the purpose of “preventing unauthorized persons from peeping at information”.

【0023】第1発明の暗号化装置では、入力された暗
号化する情報(便宜上Pとする)に所定のコード変換を
施す。そして、コード変換によって得られた数値Aが予
め与えられた数値(共通鍵Nに相当する)よりも小さけ
れば、従来の暗号化法(前記数式1とは限らない公知の
暗号化法)で暗号化しその結果を暗号として出力する一
方、数値Aが共通鍵Nよりも小さくなければ、その数値
Aをそのまま暗号として出力する。
In the encryption device of the first aspect of the invention, the input information to be encrypted (P for convenience) is subjected to a predetermined code conversion. Then, if the numerical value A obtained by the code conversion is smaller than a predetermined numerical value (corresponding to the common key N), the encryption is performed by the conventional encryption method (a known encryption method which is not limited to Equation 1). Then, the result is encrypted and output as a cipher. On the other hand, if the numerical value A is not smaller than the common key N, the numerical value A is directly output as a cipher.

【0024】ここで、比較器において数値Aと共通鍵N
との大小関係を比較するので、暗号化する情報Pは共通
鍵Nと同一のビット長である。そして、本発明における
暗号化法はRSA法に限定されないが、RSA法の1つ
の性質、即ち、鍵(e、d、N)を巧く選べば、共通鍵
Nよりも小さい値をとる情報と暗号とを1対1に対応さ
せ得るという性質に着目し、以上のように処理すれば、
共通鍵Nよりも有効ビット長の長くない全ての情報と暗
号とを1対1に対応させ得るので、暗号Cのビット長が
情報Pのビット長よりも長くならないように暗号化でき
る。つまり、情報の伝送効率及び記憶効率を向上させ得
る。
Here, in the comparator, the numerical value A and the common key N
The information P to be encrypted has the same bit length as that of the common key N, since the size relationship between and is compared. The encryption method in the present invention is not limited to the RSA method, but if one property of the RSA method, that is, the key (e, d, N) is properly selected, the information that takes a value smaller than the common key N is obtained. Paying attention to the property that encryption can correspond to one-to-one, and processing as described above,
Since all the information whose effective bit length is not longer than the common key N and the cipher can be made to correspond one-to-one, the bit length of the cipher C can be encrypted so as not to be longer than the bit length of the information P. That is, the transmission efficiency and storage efficiency of information can be improved.

【0025】また、第2発明の復号化装置では、上記の
ようにして得られた暗号(便宜上Cとする)について従
来の復号化法(前記数式2とは限らない公知の復号化
法)で復元するのと並行して暗号Cと共通鍵Nとの大小
関係を比較する。そして、暗号Cが共通鍵Nよりも小さ
ければ復元した数値Bについて、逆に暗号Cが共通鍵N
よりも小さくなければその暗号Cについて、それぞれ前
記コード変換の逆コード変換を施し、それを復元情報と
する。
Further, in the decrypting apparatus of the second invention, the conventional decryption method (known decryption method not limited to the equation 2) is applied to the cipher obtained as described above (referred to as C for convenience). In parallel with the restoration, the magnitude relation between the cipher C and the common key N is compared. If the cipher C is smaller than the common key N, the cipher C is the common key N for the restored numerical value B.
If it is not smaller than the above, the code C is subjected to the inverse code conversion of the code conversion, and the code is used as the restoration information.

【0026】そして、第3発明の暗号化装置では、まず
情報Pについて第1発明の暗号化を施し、次いでこのよ
うにして得られた暗号を新たに情報P′としてこれに第
1発明の暗号化を施し、以下これを所定回数繰り返し実
行し、所望の暗号を得る。第4発明の復号化装置では、
同様の手法で復号化する。第1及び第2発明の暗号化・
復号化法では機密保持が充分でない用途に有効である。
In the encrypting device of the third invention, the information P is first encrypted according to the first invention, and the cipher thus obtained is newly used as the information P '. Then, this is repeated a predetermined number of times to obtain a desired cipher. In the decoding device of the fourth invention,
Decrypt by the same method. Encryption of the first and second inventions
The decryption method is effective for applications where confidentiality is not sufficiently maintained.

【0027】なお、コード変換器及び逆コード変換器
は、入力と出力とを1対1に対応させるため、「入力さ
れた数値をその最上位ビットを反転した形で出力する」
ように(第5及び第6の発明)、或は、「入力された数
値の中の最上位ビットを反転したものと、入力された数
値の中の複数下位ビットと、その複数下位ビットからな
る数値を所定ビット長からなる数値へ変換したものと入
力された数値の中の最上位ビットを除く複数上位ビット
であって前記所定ビット長と同ビット長の複数上位ビッ
トからなる数値との排他的論理和をとって変換したもの
と、入力された数値の中の残余のビットと、を出力とす
る」ように(第7及び第8の発明)構成する。
The code converter and the inverse code converter "output the input numerical value in the form in which the most significant bit is inverted" so that the input and the output are in one-to-one correspondence.
Like (fifth and sixth inventions), or "inverted most significant bit in input numerical value, plural lower bits in input numerical value, and plural lower bits Exclusive of a value converted from a numerical value with a predetermined bit length and a plurality of high-order bits excluding the most significant bit in the input numerical value and having the predetermined bit length and a plurality of high-order bits of the same bit length The outputs obtained by taking the logical sum and converting and the remaining bits in the input numerical value "are configured (the seventh and eighth inventions).

【0028】[0028]

【実施例】以下、本発明の実施例を図面を参照して説明
する。図1は、本発明の第1実施例に係る暗号化装置を
示す。この暗号化装置は、コード変換器11と比較器1
2と暗号化回路13と切換器14とで基本的に構成され
る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows an encryption device according to the first embodiment of the present invention. This encryption device includes a code converter 11 and a comparator 1.
2, the encryption circuit 13, and the switch 14 are basically configured.

【0029】図1において、コード変換器11は、入力
端子10から入力された暗号化する情報(前述した情報
P)に対して予め決められたコード変換を施し、その結
果を比較器12と暗号化回路13と切換器14とに出力
する。
In FIG. 1, the code converter 11 performs a predetermined code conversion on the information to be encrypted (the above-mentioned information P) inputted from the input terminal 10, and the result is encrypted with the comparator 12. It outputs to the conversion circuit 13 and the switching device 14.

【0030】比較器12は、コード変換器11の出力情
報の値(これをAとする)と予め与えられた数値(前述
した共通鍵N)との大小関係を比較し、数値Aが共通鍵
Nよりも小さければ“1”を、数値Aが共通鍵Nよりも
小さくなければ“0”を、それぞれ制御信号として切換
器14に与える。
The comparator 12 compares the value of the output information of the code converter 11 (this is A) with a predetermined numerical value (the above-mentioned common key N), and the numerical value A is the common key. If it is smaller than N, "1" is given to the switch 14 as a control signal, and if the numerical value A is not smaller than the common key N, "0" is given.

【0031】一方、暗号化回路13は、コード変換器1
1の出力に対して従来公知方法による予め決められた暗
号化を施し、その結果を切換器14に与える。
On the other hand, the encryption circuit 13 includes the code converter 1
The output of 1 is subjected to a predetermined encryption by a conventionally known method, and the result is given to the switch 14.

【0032】その結果、切換器14は、比較器12の出
力が“1”であれば暗号化回路13の出力を選択し、逆
に比較器12の出力が“0”であればコード変換器11
の出力を選択し、それを暗号として出力端子15から出
力する。コード変換器11の出力を暗号として出力する
場合は極めて少ないので問題とはならない。
As a result, the switcher 14 selects the output of the encryption circuit 13 if the output of the comparator 12 is "1", and conversely if the output of the comparator 12 is "0". 11
Output is output from the output terminal 15 as a code. When the output of the code converter 11 is output as a cipher, it is extremely small and does not pose a problem.

【0033】次に、図2は、本発明の第2実施例に係る
復号化装置を示す。この復号化装置は、比較器22と復
号化回路23と切換器24と逆コード変換器21とを基
本的に備える。
Next, FIG. 2 shows a decoding apparatus according to the second embodiment of the present invention. This decoding device basically includes a comparator 22, a decoding circuit 23, a switch 24, and an inverse code converter 21.

【0034】図2において、入力端子25から入力され
た暗号化されている情報、つまり、暗号は、比較器22
と復号化回路23と切換器24とに供給される。比較器
22は、入力された暗号の値と予め与えられた数値(共
通鍵N)との大小関係を比較し、入力された暗号の値が
共通鍵Nよりも小さければ“1”を、入力された暗号の
値が共通鍵Nよりも小さくなければ“0”を、それぞれ
制御信号として切換器24に与える。
In FIG. 2, the encrypted information input from the input terminal 25, that is, the encryption, is the comparator 22.
Is supplied to the decoding circuit 23 and the switch 24. The comparator 22 compares the input cryptographic value with the numerical value (common key N) given in advance, and inputs “1” if the input cryptographic value is smaller than the common key N. If the value of the encrypted code is not smaller than the common key N, "0" is given to the switch 24 as a control signal.

【0035】一方、復号化回路23は、入力された暗号
に対して従来公知方法による予め決められた復号化を施
し、その結果を切換器24に与える。
On the other hand, the decryption circuit 23 performs a predetermined decryption on the input cipher by a conventionally known method, and supplies the result to the switch 24.

【0036】その結果、切換器24は、比較器22の出
力が“1”であれば復号化回路23の出力を選択し、逆
に比較器22の出力が“0”であれば入力端子25から
供給された暗号を選択し、それを逆コード変換器21に
出力する。
As a result, the switch 24 selects the output of the decoding circuit 23 if the output of the comparator 22 is "1", and conversely, if the output of the comparator 22 is "0", the input terminal 25. Selects the cipher supplied from and outputs it to the inverse code converter 21.

【0037】そして、逆コード変換器21は、切換器2
4の出力に対して前記コード変換器11とは逆のコード
変換を施し、それを入力端子25から供給された暗号に
対する復元情報として出力端子20から出力する。つま
り、逆コード変換器21は、前記コード変換器11と同
一の構成である。
The inverse code converter 21 is the switching device 2
4 is subjected to code conversion reverse to that of the code converter 11 and output from the output terminal 20 as restoration information for the cipher supplied from the input terminal 25. That is, the inverse code converter 21 has the same configuration as the code converter 11.

【0038】また、図3は、本発明の第3実施例に係る
暗号化装置を示す。この暗号化装置は、前記第1実施例
装置において、(第1)切換器31をコード変換器11
に前置したものである。以下、本第3実施例に係る部分
を中心に説明する。
FIG. 3 shows an encryption device according to the third embodiment of the present invention. This encryption apparatus is the same as the first embodiment except that the (first) switch 31 is replaced by the code converter 11.
In front of. Hereinafter, description will be made focusing on the portion according to the third embodiment.

【0039】図3において、切換器31は、入力端子1
0から入力された暗号化する情報と(第2)切換器14
の出力とが与えられ、外部からの制御信号30に従って
両入力の何れか一方を選択し、それをコード変換器11
に与える。
In FIG. 3, the switching device 31 has an input terminal 1
The information to be encrypted input from 0 and the (second) switch 14
Of the two inputs are selected in accordance with a control signal 30 from the outside, and the selected one is selected by the code converter 11
Give to.

【0040】具体的に言えば、制御信号30は、入力端
子10から暗号化する情報が入力するタイミングで例え
ば“1”となり、切換器31に入力端子10からの暗号
化する情報を選択出力させ、次いで、切換器14が出力
するタイミングで“0”となり、切換器31に切換器1
4の出力を選択させ、その後切換器14が所定回数出力
するまでの間“0”の状態を維持し、その後新たな暗号
化する情報が入力するタイミングで“1”となり、これ
を繰り返す信号である。
Specifically, the control signal 30 becomes, for example, "1" at the timing when the information to be encrypted is input from the input terminal 10, and causes the switch 31 to selectively output the information to be encrypted from the input terminal 10. Then, at the timing when the switching device 14 outputs, it becomes "0", and the switching device 1 is switched to the switching device 1.
4 is selected, and thereafter, the state of “0” is maintained until the switch 14 outputs a predetermined number of times, and then becomes “1” at the timing when new information to be encrypted is input. is there.

【0041】要するに、この第3実施例装置は、各暗号
化する情報について複数回の暗号化処理を施しその各複
数回の最終値を暗号として出力する装置でり、充分な機
密保持を可能とするものである。この第3実施例に係る
暗号化装置に対する復号化装置は、図4に示すように構
成される。
In short, the apparatus of the third embodiment is an apparatus which performs the encryption process on the information to be encrypted a plurality of times and outputs the final value of each of the plurality of times as an encryption, and is capable of sufficiently maintaining confidentiality. To do. The decrypting device for the encrypting device according to the third embodiment is configured as shown in FIG.

【0042】即ち、図4において、この第4実施例装置
は、前記第2実施例装置の入力段に(第1)切換器41
を前置したものである。切換器41は、前記切換器31
と同様に、外部から与えられる制御信号40に従って、
入力端子25から入力された復号化する情報と逆コード
変換器21の出力との何れか一方を選択し、それを比較
器22と復号化回路23と(第2)切換器24とに与え
る。制御信号40は、前記制御信号30と同様の信号で
あるから、複数回の復号化処理の最終回の値を復元情報
として出力することになる。
That is, in FIG. 4, this fourth embodiment device has a (first) switch 41 at the input stage of the second embodiment device.
In front of. The switch 41 is the switch 31.
Similarly, according to the control signal 40 given from the outside,
Either one of the information to be decoded inputted from the input terminal 25 and the output of the inverse code converter 21 is selected and given to the comparator 22, the decoding circuit 23 and the (second) switch 24. Since the control signal 40 is a signal similar to the control signal 30, the final value of the decoding process of a plurality of times is output as the restoration information.

【0043】次に、コード変換器及び逆コード変換器に
ついて説明する。これらは同一構成であるので、以下単
に「変換器」と称する。この変換器は、入力と出力とが
1対1に対応させる構成とし、本実施例では、次の2つ
の構成を採用した。
Next, the code converter and the inverse code converter will be described. Since they have the same configuration, they will be simply referred to as "converters" hereinafter. This converter has a configuration in which the input and the output are in one-to-one correspondence, and in this embodiment, the following two configurations were adopted.

【0044】第1の構成は、「入力された数値をその最
上位ビットを反転した形で出力する」ようにしたもので
ある。最上位ビットを反転すると、共通鍵Nよりも大き
な数値は必ず共通鍵Nよりも小さい数値に変換される。
従って、第3実施例装置において、コード変換器11に
このような構成のものを用いて暗号化を繰り返し行う場
合、切換器14は、j回目の繰り返しでは暗号化回路1
3の出力を選択しなくとも、j+1回目の繰り返しでは
必ず暗号化回路13の出力を選択するので、入力端子1
0から入力された暗号化する情報は少なくとも1回以上
暗号化回路13によって暗号化される。従って、第3者
による解読の危険性が少なくなる。
The first configuration is such that "the input numerical value is output with its most significant bit inverted". When the most significant bit is inverted, a numerical value larger than the common key N is always converted into a smaller numerical value than the common key N.
Therefore, in the apparatus of the third embodiment, when encryption is repeatedly performed by using the code converter 11 having such a configuration, the switcher 14 causes the encryption circuit 1 to repeat the j-th time.
Even if the output of 3 is not selected, the output of the encryption circuit 13 is always selected in the (j + 1) th iteration.
The information to be encrypted input from 0 is encrypted by the encryption circuit 13 at least once. Therefore, the risk of decryption by a third party is reduced.

【0045】また、第2の構成は、図5に示してある。
図5において、入力端子50から入力される数値をLビ
ットとすると、この変換器は、入力された数値の中の最
上位ビットの1ビツトを反転する否定回路51と、入力
された数値の中の下位aビットからなる数値をbビット
長からなる数値へ変換するハッシュ関数器53と、この
ハッシュ関数器53の出力bビットからなる数値と入力
された数値の中の最上位ビットを除く上位bビットから
なる数値との排他的論理和をとる排他的論理和回路52
とを備え、否定回路51の出力(1ビット)と排他的論
理和回路52の出力(bビット)と下位aビットと残余
のビット(L−a−b−1)とを当該変換器の出力とし
て出力端子54から送出するように構成される。
The second configuration is shown in FIG.
In FIG. 5, assuming that the numerical value input from the input terminal 50 is L bits, this converter uses a negation circuit 51 that inverts one bit of the most significant bit in the input numerical value, and the input numerical value. Of the hash function unit 53 for converting the numerical value consisting of the lower a bits of b to the numerical value of the b bit length, and the upper b excluding the most significant bit of the numerical value consisting of the output b bits of this hash function unit 53 and the input numerical value. Exclusive-OR circuit 52 that takes an exclusive-OR with a numerical value consisting of bits
And the output of the NOT circuit 51 (1 bit), the output of the exclusive OR circuit 52 (b bits), the lower a bits, and the remaining bits (L-a-b-1) of the converter. Is output from the output terminal 54.

【0046】なお、本実施例では、ハッシュ関数を用い
るので、出力される数値のビット長bは入力される数値
のビット長aよりも短いが、本発明はこれに限定される
ものではなく、回路53におけるビット長の変換は任意
であることは勿論である。
Since the hash function is used in this embodiment, the bit length b of the output numerical value is shorter than the bit length a of the input numerical value, but the present invention is not limited to this. Of course, the conversion of the bit length in the circuit 53 is arbitrary.

【0047】また、以上の説明では、許可されていない
者が情報を得るのを防止する目的での使用を念頭に説明
したが、本発明装置はその他、情報を発信した者が後で
その情報を発信したことを否定して詐欺を働くことを防
止する目的にも、また許可されていない者が許可されて
いる者のふりをして偽りの情報を発信するのを防止する
目的にも適用できることは前記文献からも明らかであ
る。
In the above description, the use for the purpose of preventing unauthorized persons from obtaining the information was explained, but in the device of the present invention, in addition, the person who has transmitted the information can later obtain the information. It is also applied for the purpose of preventing fraud by denying that the sender has sent, and for preventing unauthorized persons from pretending to be false persons and transmitting false information. What can be done is apparent from the above-mentioned literature.

【0048】[0048]

【発明の効果】以上説明したように、本発明の暗号化装
置及び復号化装置によれば、入力される情報を共通鍵と
同一のビット長とするとともに、共通鍵よりも有効ビッ
ト長の長くない全ての入力情報と暗号化情報とを1対1
に対応させるようにしたので、暗号化情報のビット長が
入力情報のビット長よりも長くならないように暗号化で
き、情報の伝送効率及び記憶効率を向上させ得る効果が
ある。
As described above, according to the encryption device and the decryption device of the present invention, the input information has the same bit length as the common key, and the effective bit length is longer than that of the common key. One-to-one with all missing input information and encrypted information
In this case, since the encryption information can be encrypted so that the bit length of the encrypted information does not become longer than the bit length of the input information, the information transmission efficiency and the storage efficiency can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1実施例に係る暗号化装置の構成ブ
ロック図である。
FIG. 1 is a configuration block diagram of an encryption device according to a first embodiment of the present invention.

【図2】本発明の第2実施例に係る復号化装置の構成ブ
ロック図である。
FIG. 2 is a configuration block diagram of a decoding device according to a second embodiment of the present invention.

【図3】本発明の第3実施例に係る暗号化装置の構成ブ
ロック図である。
FIG. 3 is a configuration block diagram of an encryption device according to a third embodiment of the present invention.

【図4】本発明の第4実施例に係る復号化装置の構成ブ
ロック図である。
FIG. 4 is a configuration block diagram of a decoding device according to a fourth embodiment of the present invention.

【図5】コード変換器及び逆コード変換器の構成ブロッ
ク図である。
FIG. 5 is a configuration block diagram of a code converter and an inverse code converter.

【符号の説明】[Explanation of symbols]

11 コード変換器 12 比較器 13 暗号化回路 14 切換器 21 逆コード変換器 22 比較器 23 復号化回路 24 切換器 31 切換器 51 否定回路 52 排他的論理和回路 53 ハッシュ関数器 11 Code Converter 12 Comparator 13 Encryption Circuit 14 Switcher 21 Inverse Code Converter 22 Comparator 23 Decoding Circuit 24 Switcher 31 Switcher 51 Negative Circuit 52 Exclusive OR Circuit 53 Hash Function Unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04L 9/10 9/12 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H04L 9/10 9/12

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 入力された情報に予め決められたコード
変換を施して出力するコード変換器と; 前記コード変
換器の出力について暗号化処理をする暗号化回路と;
前記コード変換器の出力の値と予め与えられた数値との
大小関係を比較する比較器と; 前記比較器の比較結果
に応じて前記コード変換器の出力と前記暗号化回路の出
力との何れか一方を前記入力された情報に対する暗号化
情報として選択出力する切換器と; を備えたことを特
徴とする暗号化装置。
1. A code converter that performs predetermined code conversion on input information and outputs the coded information; an encryption circuit that performs encryption processing on the output of the code converter;
A comparator for comparing the magnitude relationship between the output value of the code converter and a predetermined numerical value; either the output of the code converter or the output of the encryption circuit according to the comparison result of the comparator A switching device for selectively outputting one of them as encrypted information for the input information, and an encryption device.
【請求項2】 入力された情報について復号化処理をす
る復号化回路と;前記入力された情報の値と予め与えら
れた数値との大小関係を比較する比較器と; 前記比較
器の比較結果に応じて前記入力された情報と前記復号化
回路の出力との何れか一方を選択出力する切換器と;
前記切換器の出力に予め決められた逆コード変換を施し
それを前記入力された情報に対する復号化情報として出
力する逆コード変換器と; を備えたことを特徴とする
復号化装置。
2. A decoding circuit for decoding input information; a comparator for comparing the value of the input information with a predetermined numerical value; a comparison result of the comparator A switch that selectively outputs either one of the input information and the output of the decoding circuit according to
And a reverse code converter for performing a predetermined reverse code conversion on the output of the switch and outputting the reverse code conversion as decoded information for the input information.
【請求項3】 外部から与えられる制御信号に従って、
まず入力された元情報を選択出力し、その後一定の暗号
化処理がなされた情報を選択出力する第1切換器と;
前記第1切換器の出力に予め決められたコード変換を施
して出力するコード変換器と; 前記コード変換器の出
力について暗号化処理をする暗号化回路と; 前記コー
ド変換器の出力の値と予め与えられた数値との大小関係
を比較する比較器と; 前記比較器の比較結果に応じて
前記コード変換器の出力と前記暗号化回路の出力との何
れか一方を前記一定の暗号化処理がなされた情報として
選択出力する第2切換器と; を備えたことを特徴とす
る暗号化装置。
3. According to a control signal given from the outside,
A first switching device that first selects and outputs the input original information, and then selects and outputs information that has been subjected to certain encryption processing;
A code converter that performs predetermined code conversion on the output of the first switching device and outputs the code; an encryption circuit that performs encryption processing on the output of the code converter; and a value of the output of the code converter A comparator for comparing the magnitude relation with a given numerical value; the certain encryption processing for either one of the output of the code converter and the output of the encryption circuit according to the comparison result of the comparator A second switching device for selectively outputting as the information obtained by the above;
【請求項4】 外部から与えられる制御信号に従って、
まず入力された元情報を選択出力し、その後一定の復号
化処理のなされた情報を選択出力する第1切換器と;
前記第1切換器の出力について復号化処理をする復号化
回路と; 前記第1切換器の出力の値と予め与えられた
数値との大小関係を比較する比較器と; 前記比較器の
比較結果に応じて前記第1切換器の出力と前記復号化回
路の出力との何れか一方を選択出力する第2切換器と;
前記第2切換器の出力に予め決められた逆コード変換
を施しそれを前記一定の復号化処理のなされた情報とし
て出力する逆コード変換器と; を備えたことを特徴と
する復号化装置。
4. According to a control signal given from the outside,
A first switching device which first selectively outputs the input original information and then selectively outputs information that has been subjected to a certain decoding process;
A decoding circuit that performs a decoding process on the output of the first switching device; a comparator that compares the value of the output of the first switching device with a predetermined numerical value; a comparison result of the comparator A second switch that selectively outputs one of the output of the first switch and the output of the decoding circuit according to
And a reverse code converter for performing a predetermined reverse code conversion on the output of the second switch and outputting it as the information subjected to the constant decoding processing.
【請求項5】 請求項1または請求項3に記載の暗号化
装置において; コード変換器は、入力された数値をそ
の最上位ビットを反転した形で出力する;ことを特徴と
する暗号化装置。
5. The encryption device according to claim 1 or 3, wherein the code converter outputs the input numerical value with its most significant bit inverted. ..
【請求項6】 請求項2または請求項4に記載の復号化
装置において; 逆コード変換器は、入力された数値を
その最上位ビットを反転した形で出力する;ことを特徴
とする復号化装置。
6. The decoding device according to claim 2 or 4, wherein the inverse code converter outputs the input numerical value with its most significant bit inverted. apparatus.
【請求項7】 請求項1または請求項3に記載の暗号化
装置において; コード変換器は、入力された数値の中
の最上位ビットを反転する否定回路と; 入力された数
値の中の複数下位ビットからなる数値を所定ビット長か
らなる数値へ変換する回路と; 入力された数値の中の
最上位ビットを除く複数上位ビットであって前記所定ビ
ット長と同ビット長の複数上位ビットからなる数値と前
記所定ビット長からなる数値との排他的論理和をとる排
他的論理和回路と; を備え、前記否定回路の出力と前
記排他的論理和回路の出力と前記複数下位ビットと前記
入力された数値の中の残余のビットとを当該コード変換
器の出力とする; ことを特徴とする暗号化装置。
7. The encryption device according to claim 1, wherein the code converter includes a negation circuit that inverts the most significant bit of the input numerical value, and a plurality of input numerical values. A circuit for converting a numerical value consisting of lower bits into a numerical value consisting of a predetermined bit length; a plurality of upper bits excluding the most significant bit of the inputted numerical value and consisting of a plurality of upper bits having the same bit length as the predetermined bit length An exclusive OR circuit that takes an exclusive OR of a numerical value and a numerical value having the predetermined bit length; and an output of the NOT circuit, an output of the exclusive OR circuit, the plurality of lower bits, and the input. And the remaining bits in the numerical value are output from the code converter.
【請求項8】 請求項2または請求項4に記載の復号化
装置において; 逆コード変換器は、入力された数値の
中の最上位ビットを反転する否定回路と;入力された数
値の中の複数下位ビットからなる数値を所定ビット長か
らなる数値へ変換する回路と; 入力された数値の中の
最上位ビットを除く複数上位ビットであって前記所定ビ
ット長と同ビット長の複数上位ビットからなる数値と前
記所定ビット長からなる数値との排他的論理和をとる排
他的論理和回路と; を備え、前記否定回路の出力と前
記排他的論理和回路の出力と前記複数下位ビットと前記
入力された数値の中の残余のビットとを当該逆コード変
換器の出力とする;ことを特徴とする復号化装置。
8. The decoding device according to claim 2 or 4, wherein the inverse code converter includes a negation circuit that inverts the most significant bit in the input numerical value; A circuit for converting a numerical value consisting of a plurality of lower bits into a numerical value consisting of a predetermined bit length; a plurality of upper bits excluding the most significant bit in the input numerical value, the plural upper bits having the same bit length as the predetermined bit length An exclusive OR circuit that takes an exclusive OR of the numerical value and the numerical value having the predetermined bit length; and, the output of the NOT circuit, the output of the exclusive OR circuit, the plurality of lower bits, and the input. The remaining bits in the digitized numerical value are output from the inverse code converter.
JP3274855A 1991-09-26 1991-09-26 Encryption device and decryption device Expired - Lifetime JP2864813B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3274855A JP2864813B2 (en) 1991-09-26 1991-09-26 Encryption device and decryption device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3274855A JP2864813B2 (en) 1991-09-26 1991-09-26 Encryption device and decryption device

Publications (2)

Publication Number Publication Date
JPH0591101A true JPH0591101A (en) 1993-04-09
JP2864813B2 JP2864813B2 (en) 1999-03-08

Family

ID=17547517

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3274855A Expired - Lifetime JP2864813B2 (en) 1991-09-26 1991-09-26 Encryption device and decryption device

Country Status (1)

Country Link
JP (1) JP2864813B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5577123A (en) * 1994-02-14 1996-11-19 Nec Corporation Public-key cryptographic apparatus handling ciphertext by public-key
JP2008532075A (en) * 2005-02-24 2008-08-14 アクセス ビジネス グループ インターナショナル リミテッド ライアビリティ カンパニー Three-stage data encryption system and method
JP2015082077A (en) * 2013-10-24 2015-04-27 学校法人東京電機大学 Encryption device, control method, and program
WO2018135324A1 (en) * 2017-01-18 2018-07-26 富士通株式会社 Data output control device, information processing device, and data output control method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5577123A (en) * 1994-02-14 1996-11-19 Nec Corporation Public-key cryptographic apparatus handling ciphertext by public-key
JP2008532075A (en) * 2005-02-24 2008-08-14 アクセス ビジネス グループ インターナショナル リミテッド ライアビリティ カンパニー Three-stage data encryption system and method
JP2015082077A (en) * 2013-10-24 2015-04-27 学校法人東京電機大学 Encryption device, control method, and program
WO2018135324A1 (en) * 2017-01-18 2018-07-26 富士通株式会社 Data output control device, information processing device, and data output control method
US11061830B2 (en) 2017-01-18 2021-07-13 Fujitsu Limited Data output control apparatus, information processing apparatus, and data output control method

Also Published As

Publication number Publication date
JP2864813B2 (en) 1999-03-08

Similar Documents

Publication Publication Date Title
EP0725511B1 (en) Method for data encryption/decryption using cipher block chaining (CBC) and message authentication codes (MAC)
JP3339688B2 (en) Non-deterministic mixture generator stream encryption system
US6891950B1 (en) Extended key generator, encryption/decryption unit, extended key generation method, and storage medium
JP4608319B2 (en) Stream cipher generation method using multiple keys
KR100259179B1 (en) Process of communication cryptograph
US8180048B2 (en) Method and system for computational transformation
JP3180836B2 (en) Cryptographic communication device
US20100005307A1 (en) Secure approach to send data from one system to another
US6128386A (en) Multiple number base encoder/decoder using a corresponding exclusive or function
WO2002054664A2 (en) R-conversion encryption method and system
JP2004157535A (en) Data ciphering method
JPH0591101A (en) Ciphering device and decoding device
JPH0946332A (en) Communication system for communication statement enciphered by rsa procedure
JP2000047581A (en) Ciphering method, ciphering and deciphering device, and cipher communication system
JP2871690B2 (en) Encoding device and decoding device
JP2002510058A (en) Method for cryptographic conversion of binary data blocks
JP2727955B2 (en) Public key encryption device
Younes et al. Definition and implementation of an elliptic curve cryptosystem using a new message mapping scheme
JPH04335730A (en) Random ciphering communication system
JP2001509608A (en) Method for cryptographically converting an L-bit input block of digital data into an L-bit output block
Singh et al. A new symmetric key encryption algorithm based on jumbling binary sequence of message
Schmied Cryptology for Engineers: An Application-Oriented Mathematical Introduction
TW410519B (en) A method of encryption and decryption in data transmission
JPH06138820A (en) Ciphering device and deciphering device
KR100965874B1 (en) Apparatus and method for encrypting/decrypting cipher key chaining