JPH08149125A - Communication equipment and communication method - Google Patents
Communication equipment and communication methodInfo
- Publication number
- JPH08149125A JPH08149125A JP6286602A JP28660294A JPH08149125A JP H08149125 A JPH08149125 A JP H08149125A JP 6286602 A JP6286602 A JP 6286602A JP 28660294 A JP28660294 A JP 28660294A JP H08149125 A JPH08149125 A JP H08149125A
- Authority
- JP
- Japan
- Prior art keywords
- data
- rounding
- value
- encryption key
- encryption
- 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
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000005540 biological transmission Effects 0.000 claims description 24
- 238000010586 diagram Methods 0.000 description 12
- 238000013500 data storage Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 1
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、無線または有線のネッ
トワークにおいて通信データを暗号化して送受信する通
信装置および通信方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device and a communication method for encrypting and transmitting communication data in a wireless or wired network.
【0002】[0002]
【従来の技術】図5は無線または有線の通信システムの
一例を示す図である。図5において、複数の端末装置1
00a,100b,100cがネットワーク線101で
接続されている。このネットワーク線101を介して複
数の端末装置100a,100b,100c間でデータ
の送受信が行われる。なお、無線の通信システムの場合
にはネットワーク線101は存在しない。2. Description of the Related Art FIG. 5 is a diagram showing an example of a wireless or wired communication system. In FIG. 5, a plurality of terminal devices 1
00a, 100b, 100c are connected by a network line 101. Data is transmitted and received between the plurality of terminal devices 100a, 100b, 100c via the network line 101. In the case of a wireless communication system, the network line 101 does not exist.
【0003】このような通信システムにおいて通信内容
の秘密を保ちつつ通信を行うためには、送信側でデータ
を所定の暗号化アルゴリズムに従って暗号化し、暗号化
データを送信する。一方、受信側では、受信した暗号化
データを上記暗号化アルゴリズムに対応する解読アルゴ
リズムに従って解読する。In order to perform communication in such a communication system while keeping the communication contents secret, the transmitting side encrypts the data according to a predetermined encryption algorithm and transmits the encrypted data. On the other hand, on the receiving side, the received encrypted data is decrypted according to the decryption algorithm corresponding to the above encryption algorithm.
【0004】図6はデータを暗号化して通信する従来の
通信方法の一例を示す図である。図6において、送信側
では、通信データ22a,22b,22cが、固定の暗
号化キー21を用いて所定の暗号化アルゴリズムに従っ
て暗号化される。それにより、暗号化データ23a,2
3b,23cが得られ、受信側に送信される。FIG. 6 is a diagram showing an example of a conventional communication method for encrypting and communicating data. In FIG. 6, on the transmitting side, the communication data 22a, 22b, 22c are encrypted using a fixed encryption key 21 according to a predetermined encryption algorithm. Thereby, the encrypted data 23a, 2
3b and 23c are obtained and transmitted to the receiving side.
【0005】受信側では、受信された暗号化データ23
a,23b,23cが、送信側と同じ固定の暗号化キー
24を用いて所定の解読アルゴリズムに従って解読され
る。それにより、解読データ25a,25b,25cが
得られる。On the receiving side, the received encrypted data 23
a, 23b, and 23c are decrypted according to a predetermined decryption algorithm using the same fixed encryption key 24 as that of the transmitting side. Thereby, the decrypted data 25a, 25b, 25c are obtained.
【0006】このように、送信側および受信側において
同一の固定の暗号化キー21,24を用いることにより
通信データを暗号化して送受信することができる。As described above, by using the same fixed encryption keys 21 and 24 on the transmitting side and the receiving side, communication data can be encrypted and transmitted / received.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、上記の
従来の通信方法においては、暗号化および解読に固定の
暗号化キー21,24を用いているので、通信データの
内容が例えばコマンドのように数種類に定型化されたも
のである場合、暗号化データも定型化されたものとなっ
てしまう。そのため、暗号化キー自体の内容を知ること
なく、通信データの内容を把握することが可能な場合が
生じる。However, in the above-mentioned conventional communication method, since the fixed encryption keys 21 and 24 are used for encryption and decryption, the contents of communication data are several kinds such as a command. If the data is stylized, the encrypted data will also be stylized. Therefore, there may be a case where the content of the communication data can be grasped without knowing the content of the encryption key itself.
【0008】これを防止するために、暗号化キーの内容
を適当な時間間隔で変更する方法が用いられる。しかし
ながら、このような変更は、通常、数日または数カ月に
渡る長期の間隔で行われるため、その間に通信内容が漏
洩する可能性がある。また、暗号化キーの変更時には、
変更後の暗号化キーを全ての端末装置に通知する手順が
必要であるため、暗号化キーを頻繁に変更することは煩
わしい。In order to prevent this, a method of changing the contents of the encryption key at an appropriate time interval is used. However, since such a change is usually performed at a long time interval of several days or months, communication contents may be leaked during that time. Also, when changing the encryption key,
Since it is necessary to notify all terminal devices of the changed encryption key, it is troublesome to change the encryption key frequently.
【0009】本発明の目的は、煩雑な手順を必要とする
ことなく、暗号化キーを動的に変更することにより、通
信内容の漏洩を確実に防止することができる通信装置お
よび通信方法を提供することである。An object of the present invention is to provide a communication device and a communication method capable of reliably preventing leakage of communication contents by dynamically changing an encryption key without requiring a complicated procedure. It is to be.
【0010】[0010]
(1)第1の発明 第1の発明に係る通信装置は、時刻を計る計時手段と、
計時手段の値に基づく暗号化キーを用いて送信データを
暗号化する暗号化手段と、暗号化手段により得られた暗
号化データを送信する送信手段と、暗号化データを受信
する受信手段と、計時手段の値に基づく暗号化キーを用
いて受信手段により受信された暗号化データを解読する
解読手段とを備える。(1) First Invention A communication device according to the first invention is a time measuring means for measuring time,
An encryption means for encrypting the transmission data using an encryption key based on the value of the timekeeping means, a transmission means for transmitting the encrypted data obtained by the encryption means, a reception means for receiving the encrypted data, And decryption means for decrypting the encrypted data received by the receiving means using the encryption key based on the value of the timing means.
【0011】(2)第2の発明 第2の発明に係る通信装置は、第1の発明に係る通信装
置の構成において、計時手段の値を任意の精度に丸める
丸め手段をさらに備えたものである。暗号化手段は、丸
め手段により得られた値に基づく暗号化キーを用いて送
信データを暗号化し、解読手段は丸め手段により得られ
た値に基づく暗号化キーを用いて受信された暗号化デー
タを解読する。(2) Second Invention A communication apparatus according to a second invention is the communication apparatus according to the first invention, further comprising rounding means for rounding the value of the timekeeping means to an arbitrary precision. is there. The encryption means encrypts the transmitted data by using the encryption key based on the value obtained by the rounding means, and the decryption means receives the encrypted data by using the encryption key based on the value obtained by the rounding means. Decipher
【0012】(3)第3の発明 第3の発明に係る通信装置は、第2の発明に係る通信装
置の構成において、丸め量を決定するための丸め量決定
手段をさらに備えたものである。暗号化手段は、丸め量
決定用データの送信時に、丸め手段により複数段階の精
度に丸められた値に基づく複数の暗号化キーを用いて送
信データを暗号化し、複数の暗号化データを丸め量決定
用データとして送信手段を介して送信する。解読手段
は、丸め量決定用データの受信時に、丸め手段により複
数段階の精度に丸められた値に基づく複数の暗号化キー
を用いて受信された丸め量決定用データを解読する。丸
め量決定手段は、解読手段による丸め量決定用データの
解読結果に基づいて丸め量を決定する。(3) Third Invention A communication apparatus according to a third invention is the communication apparatus according to the second invention, further comprising rounding amount determining means for determining a rounding amount. . When transmitting the rounding amount determination data, the encrypting means encrypts the transmitted data using a plurality of encryption keys based on the values rounded by the rounding means to a plurality of levels of accuracy, and rounds the plurality of encrypted data by the rounding amount. The data for determination is transmitted via the transmission means. The decryption unit decrypts the rounding amount determination data received using the plurality of encryption keys based on the values rounded by the rounding unit to a plurality of levels of accuracy when receiving the rounding amount determination data. The rounding amount determination means determines the rounding amount based on the decoding result of the rounding amount determination data by the decoding means.
【0013】(4)第4の発明 第4の発明に係る通信方法は、データの送信時に、計時
手段の値に基づく暗号化キーを用いて送信データを暗号
化して送信し、データの受信時に、計時手段の値に基づ
く暗号化キーを用いて受信データを解読するものであ
る。(4) Fourth Aspect of the Invention A communication method according to a fourth aspect of the present invention encrypts transmission data by using an encryption key based on the value of the clock means at the time of data transmission, and at the time of data reception. , The received data is decrypted by using the encryption key based on the value of the clock means.
【0014】[0014]
【作用】第1〜第3の発明に係る通信装置においては、
データの送信時に、計時手段の値に基づく暗号化キーを
用いて送信データが暗号化され、得られた暗号化データ
が送信される。受信時には、計時手段の値に基づく暗号
化キーを用いて受信された暗号化データが解読される。In the communication device according to the first to third inventions,
At the time of transmitting the data, the transmission data is encrypted using the encryption key based on the value of the time measuring means, and the obtained encrypted data is transmitted. Upon reception, the encrypted data received is decrypted using the encryption key based on the value of the timekeeping means.
【0015】このように、送信側および受信側におい
て、それぞれ動的に変化しかつ互いに同期した暗号化デ
ータを用いてデータの暗号化および解読が行われる。そ
れにより、通信内容が定型化している場合でも、送信さ
れる暗号化データが常に動的に変化する。したがって、
煩雑な手順を必要とすることなく、通信内容の漏洩を確
実に防止することができる。In this way, on the transmitting side and the receiving side, the data is encrypted and decrypted by using the encrypted data which are dynamically changed and synchronized with each other. Thereby, even if the communication content is standardized, the encrypted data to be transmitted constantly changes dynamically. Therefore,
It is possible to reliably prevent the leakage of communication contents without requiring a complicated procedure.
【0016】特に、第2および第3の発明に係る通信装
置においては、計時手段の値が任意の精度に丸められ、
データの送信時には、丸められた値に基づく暗号化キー
を用いて送信データの暗号化が行われ、データの受信時
には、丸められた値に基づく暗号化キーを用いて暗号化
データの解読が行われる。Particularly, in the communication device according to the second and third aspects of the invention, the value of the time measuring means is rounded to an arbitrary precision,
When transmitting data, the encrypted data is encrypted using the encryption key based on the rounded value, and when receiving the data, the encrypted data is decrypted using the encryption key based on the rounded value. Be seen.
【0017】したがって、送信側と受信側とで計時手段
の値に誤差があっても、受信側で送信データに対応する
解読データを正確に得ることができる。また、第3の発
明に係る通信装置においては、丸め量決定用データの送
信時に、複数段階の精度に丸められた値に基づく複数の
暗号化キーを用いて送信データが暗号化され、複数の暗
号化データが丸め量決定用データとして送信される。ま
た、丸め量決定用データの受信時に、複数段階の精度に
丸められた値に基づく複数の暗号化キーを用いて受信さ
れた丸め量決定用データが解読される。そして、丸め量
決定用データの解読結果に基づいて丸め量が決定され
る。Therefore, even if there is an error in the value of the clock means on the transmitting side and the receiving side, the decoded data corresponding to the transmitted data can be accurately obtained on the receiving side. Further, in the communication device according to the third aspect of the present invention, when transmitting the rounding amount determination data, the transmission data is encrypted using a plurality of encryption keys based on the value rounded to a plurality of levels of accuracy, The encrypted data is transmitted as rounding amount determination data. Further, when the rounding amount determination data is received, the received rounding amount determination data is decrypted by using the plurality of encryption keys based on the values rounded to a plurality of levels of accuracy. Then, the rounding amount is determined based on the decoding result of the rounding amount determination data.
【0018】このように、実際のデータの通信の前に、
送信側と受信側との間で丸め量決定用データを交換する
ことにより、送信側と受信側とで計時手段の値に誤差が
あった場合に暗号化データを正確に解読可能な最小の丸
め量を決定することができる。したがって、送信側およ
び受信側における計時手段の値の誤差に応じて通信内容
の漏洩を確実に防止しつつ正確なデータ通信を行うこと
ができる。Thus, before the actual data communication,
By exchanging the rounding amount determination data between the sending side and the receiving side, the minimum rounding that can accurately decrypt the encrypted data when there is an error in the value of the time measuring means between the sending side and the receiving side. The amount can be determined. Therefore, it is possible to perform accurate data communication while surely preventing the leakage of communication contents according to the error of the value of the time measuring means on the transmitting side and the receiving side.
【0019】第4の発明に係る通信方法においては、デ
ータの送信時に、計時手段の値に基づく暗号化キーを用
いて送信データが暗号化され、データの受信時に、計時
手段の値に基づく暗号化キーを用いて受信データが解読
される。In the communication method according to the fourth aspect of the invention, the transmitted data is encrypted by using the encryption key based on the value of the time measuring means at the time of transmitting the data, and is encrypted based on the value of the time measuring means at the time of receiving the data. The received data is decrypted using the activation key.
【0020】このように、送信側および受信側におい
て、それぞれ動的に変化しかつ互いに同期した暗号化デ
ータを用いてデータの暗号化および解読が行われる。そ
れにより、通信内容が定型化された場合でも、送信され
る暗号化データは動的に変化する。したがって、煩雑な
手順を必要とすることなく、通信内容の漏洩を確実に防
止することができる。As described above, data encryption and decryption are performed on the transmitting side and the receiving side by using the encrypted data which are dynamically changed and synchronized with each other. As a result, even if the communication content is standardized, the encrypted data to be transmitted changes dynamically. Therefore, it is possible to reliably prevent the leakage of communication contents without requiring a complicated procedure.
【0021】[0021]
【実施例】図1は本発明の第1の実施例による通信方法
を示す図である。本実施例では、送信側および受信側に
おいて暗号化キーとして内部タイマの値が用いられる。1 is a diagram showing a communication method according to a first embodiment of the present invention. In this embodiment, the value of the internal timer is used as the encryption key on the transmitting side and the receiving side.
【0022】送信側において、内部タイマの値が199
4年10月17日18時を示しているときには、「19
94101718」の値を有する暗号化キー1aを用い
て所定の暗号化アルゴリズムに従って、送信データ2
a,2b,2cが暗号化される。それにより、暗号化デ
ータ3a,3b,3cが得られ、受信側に送信される。
また、内部タイマの値が1994年10月17日19時
を示しているときには、「1994101719」の値
を有する暗号化キー1bを用いて所定の暗号化アルゴリ
ズムに従って、送信データ2a,2b,2cが暗号化さ
れる。それにより、暗号化データ4a,4b,4cが得
られ、受信側に送信される。On the transmitting side, the value of the internal timer is 199.
When it is 18:00 on October 17, 4th, "19
Transmission data 2 according to a predetermined encryption algorithm using the encryption key 1a having the value of "94101718".
a, 2b, and 2c are encrypted. Thereby, the encrypted data 3a, 3b, 3c are obtained and transmitted to the receiving side.
Further, when the value of the internal timer indicates 19:00 on October 17, 1994, the transmission data 2a, 2b, 2c are transmitted according to a predetermined encryption algorithm using the encryption key 1b having the value "1994101719". Encrypted. Thereby, the encrypted data 4a, 4b, 4c is obtained and transmitted to the receiving side.
【0023】このように、送信データが同一でも、暗号
化の時刻によって暗号化データの内容が動的に変化す
る。一方、受信側では、内部タイマの値が1994年1
0月17日18時を示しているときには、「19941
01718」の値を有する暗号化キー5aを用いて所定
の解読アルゴリズムに従って、受信した暗号化データ3
a,3b,3cが解読される。それにより、解読データ
6a,6b,6cが得られる。また、内部タイマの値が
1994年10月17日19時を示しているときには、
「1994101719」の値を有する暗号化キー5b
を用いて所定の解読アルゴリズムに従って、受信した暗
号化データ4a,4b,4cが解読される。それによ
り、解読データ6a,6b,6cが得られる。As described above, even if the transmitted data is the same, the content of the encrypted data dynamically changes depending on the time of encryption. On the other hand, on the receiving side, the value of the internal timer is 1
When it is 18:00 on 17th January, "19941
Received encrypted data 3 according to a predetermined decryption algorithm using the encryption key 5a having the value "01718".
a, 3b, 3c are decrypted. Thereby, the decrypted data 6a, 6b, 6c is obtained. Also, when the value of the internal timer indicates 19:00 on October 17, 1994,
Encryption key 5b having a value of "1994101719"
Is used to decrypt the received encrypted data 4a, 4b, 4c according to a predetermined decryption algorithm. Thereby, the decrypted data 6a, 6b, 6c is obtained.
【0024】このように、内部タイマの値を暗号化キー
として用いることにより、暗号化キーが動的に変化する
とともに、受信側において、送信データに一致する解読
データが得られる。As described above, by using the value of the internal timer as the encryption key, the encryption key dynamically changes, and at the receiving side, decrypted data that matches the transmitted data can be obtained.
【0025】図2は本発明の第2の実施例による通信方
法を示す図である。本実施例では、送信側および受信側
において内部タイマの値を設定された丸め幅で丸めるこ
とにより得られた値が暗号化キーとして用いられる。FIG. 2 is a diagram showing a communication method according to the second embodiment of the present invention. In the present embodiment, the value obtained by rounding the value of the internal timer on the transmitting side and the receiving side by the set rounding width is used as the encryption key.
【0026】ここで、送信側の内部タイマの値11と受
信側の内部タイマの値17との間には1時間の誤差があ
るものとする。送信側では、内部タイマの値11が、段
階的に設定された複数の丸め幅13a,13b,13
c,13dで丸められる。丸め幅13aは内部タイマの
値11の下位4桁を丸めることを意味し、丸め幅13b
は内部タイマの値11の下位3桁を丸めることを意味
し、丸め幅13cは内部タイマの値11の下位2桁を丸
めることを意味し、丸め幅13dは内部タイマの値11
の下位1桁を丸めることを意味する。Here, it is assumed that there is a one-hour error between the value 11 of the internal timer on the transmitting side and the value 17 of the internal timer on the receiving side. On the transmitting side, the value 11 of the internal timer is set to a plurality of rounding widths 13a, 13b, 13 set in stages.
It is rounded with c and 13d. The rounding width 13a means rounding the lower 4 digits of the internal timer value 11, and the rounding width 13b
Means rounding the lower 3 digits of the internal timer value 11, rounding width 13c means rounding the lower 2 digits of the internal timer value 11, and rounding width 13d means rounding the internal timer value 11
It means to round the lower one digit of.
【0027】内部タイマの値11が94年10月17日
18時05分を示しているときには、丸め幅13aによ
り「941017」の値を有する暗号化キー14aが得
られ、丸め幅13bにより「9410171」の値を有
する暗号化キー14bが得られる。また、丸め幅13c
により「94101718」の値を有する暗号化キー1
4cが得られ、丸め幅13dにより「94101718
0」の値を有する暗号化キー14dが得られる。When the value 11 of the internal timer indicates 18:05 on October 17, 1994, the rounding width 13a gives the encryption key 14a having the value "941017", and the rounding width 13b gives "9410171". An encryption key 14b having a value of "" is obtained. In addition, rounding width 13c
Encryption key 1 having a value of "94101718" by
4c is obtained, and the rounding width 13d causes "94101718".
An encryption key 14d having a value of "0" is obtained.
【0028】このようにして得られた複数の暗号化キー
14a,14b,14c,14dを用いて所定の暗号化
アルゴリズムに従って、丸め幅設定用のデータ12が暗
号化される。それにより、複数の暗号化データ15a,
15b,15c,15dが得られる。これらの暗号化デ
ータ15a,15b,15c,15dは合成されて丸め
幅設定用の暗号化コード16として送信される。Using the plurality of encryption keys 14a, 14b, 14c, 14d thus obtained, the rounding width setting data 12 is encrypted according to a predetermined encryption algorithm. Thereby, a plurality of encrypted data 15a,
15b, 15c and 15d are obtained. These encrypted data 15a, 15b, 15c, 15d are combined and transmitted as the encryption code 16 for setting the rounding width.
【0029】受信側では、内部タイマの値17が、送信
側と同様に段階的に設定された複数の丸め幅18a,1
8b,18c,18dで丸められる。丸め幅18aは内
部タイマの値17の下位4桁を丸めることを意味し、丸
め幅18bは内部タイマの値17の下位3桁を丸めるこ
とを意味し、丸め幅18cは内部タイマの値17の下位
2桁を丸めることを意味し、丸め幅18dは内部タイマ
の値17の下位1桁を丸めることを意味する。On the receiving side, the value 17 of the internal timer is the same as that on the transmitting side.
It is rounded by 8b, 18c and 18d. The rounding width 18a means that the lower 4 digits of the internal timer value 17 are rounded, the rounding width 18b means that the lower 3 digits of the internal timer value 17 are rounded, and the rounding width 18c is the internal timer value 17 of the internal timer value 17. This means that the lower 2 digits are rounded, and the rounding width 18d means that the lower 1 digit of the value 17 of the internal timer is rounded.
【0030】内部タイマの値17が94年10月17日
19時05分を示しているときには、丸め幅18aによ
り「941017」の値を有する暗号化キー19aが得
られ、丸め幅18bにより「9410171」の値を有
する暗号化キー19bが得られる。また、丸め幅18c
により「94101719」の値を有する暗号化キー1
9cが得られ、丸め幅18dにより「94101719
0」の値を有する暗号化キー19dが得られる。When the value 17 of the internal timer indicates 19:05 on October 17, 1994, the rounding width 18a gives the encryption key 19a having the value "941017", and the rounding width 18b gives "9410171". An encryption key 19b having a value of "" is obtained. In addition, rounding width 18c
Encryption key 1 having a value of "94101719" by
9c is obtained, and with the rounding width 18d, "94101719"
An encryption key 19d having a value of "0" is obtained.
【0031】このようにして得られた複数の暗号化キー
19a,19b,19c,19dを用いて所定の解読ア
ルゴリズムに従って、受信した丸め幅設定用の暗号化コ
ード16が解読される。それにより、解読データ20
a,20b,20c,20dが得られる。これらの解読
データ20a,20b,20c,20dを既知の丸め幅
設定用のデータと比較することにより、送信側および受
信側において最適な丸め幅を求めることができる。Using the plurality of encryption keys 19a, 19b, 19c and 19d thus obtained, the received encryption code 16 for setting the rounding width is decrypted according to a predetermined decryption algorithm. Thereby, the decrypted data 20
a, 20b, 20c, 20d are obtained. By comparing the decoded data 20a, 20b, 20c, 20d with the known data for setting the rounding width, the optimum rounding width can be obtained on the transmitting side and the receiving side.
【0032】図2の例では、丸め幅13a,13bで得
られた暗号化キー14a,14bを用いて送信データ1
2を暗号化した場合のみ、受信側で正確な解読データ2
0a,20bが得られている。すなわち、送信側の内部
タイマの値11と受信側の内部タイマの値17との間で
1時間の誤差がある場合に、受信側で暗号化データを正
確に解読するためには、送信側および受信側においてそ
れぞれ丸め幅13b,18bが最小の丸め幅であると決
定される。In the example of FIG. 2, the transmission data 1 is transmitted using the encryption keys 14a and 14b obtained with the rounding widths 13a and 13b.
Only when 2 is encrypted, the correct decryption data 2 on the receiving side
0a and 20b are obtained. That is, when there is a one-hour difference between the value 11 of the internal timer on the transmitting side and the value 17 of the internal timer on the receiving side, in order to correctly decrypt the encrypted data on the receiving side, On the receiving side, the rounding widths 13b and 18b are determined to be the minimum rounding widths, respectively.
【0033】以後は、送信側では丸め幅13bによる暗
号化キー14bを用いて送信データの暗号化が行われ、
受信側では丸め幅18bによる暗号化キー19bを用い
て受信した暗号化データの解読が行われる。After that, the transmission side encrypts the transmission data using the encryption key 14b with the rounding width 13b,
The reception side decrypts the received encrypted data using the encryption key 19b having the rounding width 18b.
【0034】図3は図2の通信方法を実行するための通
信装置の構成を示す機能ブロック図である。図3の通信
装置100において、内部タイマ31は現在の時刻を計
時する。丸め幅設定手段32は複数の丸め幅に対応する
複数の除算器32a,32b,32c,32dを含む。
除算器32a,32b,32c,32dには段階的な丸
め幅がそれぞれ設定される。除算器32a,32b,3
2c,32dの各々は、内部タイマ31の値を設定され
た丸め幅で除算することにより内部タイマ31の値を丸
める。暗号化キー設定部33は、各除算器32a,32
b,32c,32dにより丸められた値を暗号化キーと
して設定する。FIG. 3 is a functional block diagram showing the structure of a communication device for executing the communication method of FIG. In the communication device 100 of FIG. 3, the internal timer 31 measures the current time. The rounding width setting means 32 includes a plurality of dividers 32a, 32b, 32c, 32d corresponding to the plurality of rounding widths.
A stepwise rounding width is set in each of the dividers 32a, 32b, 32c and 32d. Dividers 32a, 32b, 3
Each of 2c and 32d rounds the value of the internal timer 31 by dividing the value of the internal timer 31 by the set rounding width. The encryption key setting unit 33 includes the dividers 32a and 32a.
The value rounded by b, 32c, and 32d is set as the encryption key.
【0035】暗号化/解読部35は、丸め幅設定処理時
に、暗号化キー設定部33に設定された複数の暗号化キ
ーを用いて所定の暗号化アルゴリズムに従って、予め設
定された丸め幅設定用のデータを暗号化し、複数の暗号
化データを送信バッファ36に格納する。送信バッファ
36に格納された複数の暗号化データは丸め幅設定用の
暗号化コードとして合成されて送信される。During the rounding width setting process, the encryption / decryption unit 35 uses a plurality of encryption keys set in the encryption key setting unit 33 according to a predetermined encryption algorithm to set a preset rounding width. Data is encrypted and a plurality of encrypted data is stored in the transmission buffer 36. The plurality of encrypted data stored in the transmission buffer 36 are combined and transmitted as an encryption code for setting the rounding width.
【0036】また、暗号化/解読部35は、丸め幅設定
処理時に、受信バッファ37を介して丸め幅設定用の暗
号化コードを受信すると、暗号化キー設定部33に設定
された複数の暗号化キーを用いて所定の解読アルゴリズ
ムに従って、受信した丸め幅設定用の暗号化コードを解
読し、複数の解読データを受信データ格納メモリ38に
格納する。Further, when the encryption / decryption unit 35 receives the encryption code for setting the rounding width via the receiving buffer 37 during the rounding width setting processing, the encryption / decryption unit 35 sets a plurality of encryption codes set in the encryption key setting unit 33. The received encryption code is used to decrypt the received rounding width setting encryption code according to a predetermined decryption algorithm, and a plurality of decrypted data is stored in the received data storage memory 38.
【0037】最適丸め幅決定部39は、受信データ格納
メモリ38に格納された複数の解読データを既知の丸め
幅設定用のデータと比較することにより最適丸め幅を決
定し、決定した最適丸め幅を暗号化/解読部35に通知
するとともに最適丸め幅データとして送信バッファ36
を介して相手側の通信装置に送信する。The optimum rounding width determination unit 39 determines the optimum rounding width by comparing the plurality of pieces of decoded data stored in the received data storage memory 38 with the known data for setting the rounding width, and determines the determined optimum rounding width. Is sent to the encryption / decryption unit 35 and the transmission buffer 36 stores the optimum rounding width data.
To the communication device of the other party via.
【0038】以後、暗号化/解読部35は、データの送
信時に、暗号化キー設定部33に設定された暗号化キー
のうち決定された丸め幅により得られた暗号化キーを用
いて送信データ格納メモリ34に格納された送信データ
を暗号化する。また、暗号化/解読部35は、データの
受信時に、暗号化キー設定部33に設定された暗号化キ
ーのうち決定された丸め幅により得られた暗号化キーを
用いて受信データの解読を行い、解読データを受信デー
タ格納メモリ38に格納する。After that, the encryption / decryption unit 35 uses the encryption key obtained by the determined rounding width among the encryption keys set in the encryption key setting unit 33 at the time of data transmission, to transmit data. The transmission data stored in the storage memory 34 is encrypted. Also, the encryption / decryption unit 35, when receiving the data, decrypts the received data using the encryption key obtained by the determined rounding width among the encryption keys set in the encryption key setting unit 33. Then, the decoded data is stored in the received data storage memory 38.
【0039】なお、図3の通信装置は、ハードウエアで
実現することもでき、ソフトウエアで実現することもで
き、ハードウエアおよびソフトウエアの両方で実現する
こともできる。The communication device shown in FIG. 3 can be realized by hardware, software, or both hardware and software.
【0040】図4は図3の通信装置100を用いた通信
システムにおける通信処理を示すシーケンス図である。
まず、送信側通信装置が丸め幅設定用の暗号化コードを
受信側通信装置に送信する(ステップS1)。受信側通
信装置は、受信した暗号化コードに基づいて丸め幅設定
処理を行い、最適な丸め幅を決定し(ステップS2)、
決定された丸め幅を示す丸め幅データを送信側通信装置
に通知する(ステップS3)。FIG. 4 is a sequence diagram showing communication processing in the communication system using the communication device 100 of FIG.
First, the transmitting communication device transmits an encryption code for setting the rounding width to the receiving communication device (step S1). The receiving communication device performs rounding width setting processing based on the received encryption code to determine the optimum rounding width (step S2),
Rounding width data indicating the determined rounding width is notified to the transmitting communication device (step S3).
【0041】その後、送信側通信装置は、決定された丸
め幅により得られた暗号化キーを用いて送信データの暗
号化処理を行い(ステップS4)、得られた暗号化デー
タを受信側通信装置に送信する(ステップS5)。受信
側通信装置は、決定された丸め幅により得られた暗号化
キーを用いて暗号化データの解読処理を行い、解読デー
タを得る(ステップS6)。After that, the transmission side communication device performs the encryption processing of the transmission data using the encryption key obtained by the determined rounding width (step S4), and the obtained encrypted data is processed by the reception side communication device. (Step S5). The receiving-side communication device performs decryption processing of the encrypted data using the encryption key obtained by the determined rounding width to obtain decrypted data (step S6).
【0042】また、受信側通信装置は、決定された丸め
幅により得られた暗号化キーを用いて送信データの暗号
化処理を行い(ステップS7)、暗号化データを送信側
通信装置に送信する(ステップS8)。送信側通信装置
は、決定された丸め幅により得られた暗号化データを用
いて受信した暗号化データの解読処理を行い、解読デー
タを得る(ステップS9)。Further, the receiving side communication device performs the encryption process of the transmission data using the encryption key obtained by the determined rounding width (step S7), and transmits the encrypted data to the transmitting side communication device. (Step S8). The transmission-side communication device uses the encrypted data obtained by the determined rounding width to decrypt the received encrypted data to obtain decrypted data (step S9).
【0043】このように、実際のデータの通信の前に、
送信側と受信側との間で丸め幅設定用のデータを交換す
ることにより、送信側通信装置および受信側通信装置に
おける内部タイマの値の誤差に応じた最適な丸め幅が設
定され、以後は、設定された丸め幅による暗号化キーを
用いてデータの暗号化および解読が行われる。したがっ
て、通信内容の漏洩を確実に防止しながら内部タイマの
値の誤差を吸収して正確なデータ通信を行うことができ
る。As described above, before the actual data communication,
By exchanging rounding width setting data between the transmitting side and the receiving side, the optimal rounding width is set according to the error in the value of the internal timer in the transmitting side communication device and the receiving side communication device. Data is encrypted and decrypted using the encryption key with the set rounding width. Therefore, it is possible to reliably prevent the leakage of communication contents and absorb the error in the value of the internal timer to perform accurate data communication.
【0044】[0044]
【発明の効果】第1〜第4の発明によれば、送信側およ
び受信側において、それぞれ動的に変化しかつ互いに同
期した暗号化データを用いてデータの暗号化および解読
が行われ、暗号化データが常に動的に変化するので、第
三者による暗号化データの解読が困難になる。したがっ
て、煩雑な手順を必要とすることなく、通信内容の漏洩
を確実に防止することができる。According to the first to fourth aspects of the invention, on the transmitting side and the receiving side, the data is encrypted and decrypted by using the encrypted data which are dynamically changed and synchronized with each other. Since the encrypted data constantly changes dynamically, it becomes difficult for a third party to decrypt the encrypted data. Therefore, it is possible to reliably prevent the leakage of communication contents without requiring a complicated procedure.
【0045】特に、第2および第3の発明によれば、計
時手段の値が任意の精度に丸められ、丸められた値に基
づく暗号化キーが用いられるので、送信側と受信側とで
計時手段の値に誤差がある場合でも誤差を吸収すること
が可能となり、受信側で暗号化データを正確に解読する
ことができる。In particular, according to the second and third inventions, the value of the time measuring means is rounded to an arbitrary precision, and the encryption key based on the rounded value is used. Even if there is an error in the value of the means, the error can be absorbed, and the encrypted data can be accurately decrypted on the receiving side.
【0046】また、第3の発明によれば、実際のデータ
の通信の前に、正確なデータ通信が可能な最小の丸め量
が決定されるので、送信側および受信側における計時手
段の値の誤差に応じて通信内容の漏洩を確実に防止しつ
つ正確なデータ通信を行うことができる。According to the third aspect of the invention, since the minimum rounding amount that enables accurate data communication is determined before the actual data communication, the values of the timekeeping means on the transmitting side and the receiving side are determined. Accurate data communication can be performed while surely preventing leakage of communication contents according to the error.
【図1】本発明の第1の実施例による通信方法を示す図
である。FIG. 1 is a diagram showing a communication method according to a first embodiment of the present invention.
【図2】本発明の第2の実施例による通信方法を示す図
である。FIG. 2 is a diagram showing a communication method according to a second embodiment of the present invention.
【図3】図2の通信方法を実行するための通信装置の構
成を示す機能ブロック図である。3 is a functional block diagram showing the configuration of a communication device for executing the communication method of FIG.
【図4】図3の通信装置を用いた通信システムにおける
通信処理を示すシーケンス図である。FIG. 4 is a sequence diagram showing communication processing in a communication system using the communication device of FIG.
【図5】ネットワークで接続された複数の端末装置から
なる通信システムを示すブロック図である。FIG. 5 is a block diagram showing a communication system including a plurality of terminal devices connected by a network.
【図6】固定の暗号化キーを用いた従来の通信方法を示
す図である。FIG. 6 is a diagram showing a conventional communication method using a fixed encryption key.
1a,1b,5a,5b,14a,14b,14c,1
4d,19a,19b,19c,19d 暗号化キー 2a,2b,2c,送信データ 3a,3b,3c,4a,4b,4c,15a,15
b,15c,15d 暗号化データ 6a,6b,6c,20a,20b,20c,20d
解読データ 11,17 内部タイマの値 12 丸め幅設定用のデータ 13a,13b,13c,13d,18a,18b,1
8c,18d 丸め幅 16 丸め幅設定用の暗号化コード 31 内部タイマ 32 丸め幅設定部 33 暗号化キー設定部 35 暗号化/解読部 39 最適丸め幅決定部 100 通信装置1a, 1b, 5a, 5b, 14a, 14b, 14c, 1
4d, 19a, 19b, 19c, 19d Encryption keys 2a, 2b, 2c, transmission data 3a, 3b, 3c, 4a, 4b, 4c, 15a, 15
b, 15c, 15d Encrypted data 6a, 6b, 6c, 20a, 20b, 20c, 20d
Decoded data 11,17 Internal timer value 12 Rounding width setting data 13a, 13b, 13c, 13d, 18a, 18b, 1
8c, 18d Rounding width 16 Encryption code for setting rounding width 31 Internal timer 32 Rounding width setting unit 33 Encryption key setting unit 35 Encryption / decryption unit 39 Optimal rounding width determination unit 100 Communication device
Claims (4)
値に基づく暗号化キーを用いて送信データを暗号化する
暗号化手段と、前記暗号化手段により得られた暗号化デ
ータを送信する送信手段と、暗号化データを受信する受
信手段と、前記計時手段の値に基づく暗号化キーを用い
て前記受信手段により受信された暗号化データを解読す
る解読手段とを備えた通信装置。1. A time measuring means for measuring time, an encrypting means for encrypting transmission data by using an encryption key based on a value of the time measuring means, and transmitting the encrypted data obtained by the encrypting means. A communication device comprising: a transmitting means; a receiving means for receiving encrypted data; and a decrypting means for decrypting the encrypted data received by the receiving means using an encryption key based on the value of the timekeeping means.
丸め手段をさらに備え、 前記暗号化手段は前記丸め手段により得られた値に基づ
く暗号化キーを用いて送信データを暗号化し、前記解読
手段は前記丸め手段により得られた値に基づく暗号化キ
ーを用いて受信された暗号化データを解読することを特
徴とする請求項1記載の通信装置。2. A rounding means for rounding the value of the time counting means to an arbitrary precision is further provided, wherein the encryption means encrypts the transmission data using an encryption key based on the value obtained by the rounding means, 2. The communication device according to claim 1, wherein the decryption means decrypts the encrypted data received using the encryption key based on the value obtained by the rounding means.
をさらに備え、 前記暗号化手段は、丸め量決定用データの送信時に、前
記丸め手段により複数段階の精度に丸められた値に基づ
く複数の暗号化キーを用いて送信データを暗号化し、複
数の暗号化データを丸め量決定用データとして前記送信
手段を介して送信し、 前記解読手段は、丸め量決定用データの受信時に、前記
丸め手段により複数段階の精度に丸められた値に基づく
複数の暗号化キーを用いて受信された丸め量決定用デー
タを解読し、 前記丸め量決定手段は、前記解読手段による前記丸め量
決定用データの解読結果に基づいて丸め量を決定するこ
とを特徴とする請求項2記載の通信装置。3. A rounding amount determining means for determining a rounding amount is further provided, wherein the encryption means is based on a value rounded by the rounding means to a plurality of stages of accuracy when transmitting the rounding amount determining data. The transmission data is encrypted using a plurality of encryption keys, the plurality of encrypted data is transmitted as rounding amount determination data via the transmitting unit, and the decryption unit receives the rounding amount determination data, The rounding amount determining means decrypts the received rounding amount determination data using a plurality of encryption keys based on the value rounded to a plurality of levels of precision by the rounding means, The communication device according to claim 2, wherein the rounding amount is determined based on a result of decoding the data.
く暗号化キーを用いてデータを暗号化して送信し、デー
タの受信時に、計時手段の値に基づく暗号化キーを用い
て受信データを解読することを特徴とする通信方法。4. When the data is transmitted, the data is encrypted by using the encryption key based on the value of the time measuring means and is transmitted, and when the data is received, the received data is transmitted by using the encryption key based on the value of the time measuring means. A communication method characterized by decoding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6286602A JP2670019B2 (en) | 1994-11-21 | 1994-11-21 | Communication device and communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6286602A JP2670019B2 (en) | 1994-11-21 | 1994-11-21 | Communication device and communication method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08149125A true JPH08149125A (en) | 1996-06-07 |
JP2670019B2 JP2670019B2 (en) | 1997-10-29 |
Family
ID=17706545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6286602A Expired - Fee Related JP2670019B2 (en) | 1994-11-21 | 1994-11-21 | Communication device and communication method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2670019B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005309986A (en) * | 2004-04-23 | 2005-11-04 | Ntt Docomo Inc | ID tag, tag reader, ID tag security system, and ID tag transmission restoration method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63161745A (en) * | 1986-12-24 | 1988-07-05 | Matsushita Electric Ind Co Ltd | Terminal equipment for cryptographic communication |
JPH01212041A (en) * | 1988-02-18 | 1989-08-25 | Hitachi Ltd | encrypted communication system |
JPH0541704A (en) * | 1991-08-06 | 1993-02-19 | Fujitsu General Ltd | Scrambler for cordless telephone |
JPH05304614A (en) * | 1992-04-06 | 1993-11-16 | Nec Corp | Picture information ciphering method |
-
1994
- 1994-11-21 JP JP6286602A patent/JP2670019B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63161745A (en) * | 1986-12-24 | 1988-07-05 | Matsushita Electric Ind Co Ltd | Terminal equipment for cryptographic communication |
JPH01212041A (en) * | 1988-02-18 | 1989-08-25 | Hitachi Ltd | encrypted communication system |
JPH0541704A (en) * | 1991-08-06 | 1993-02-19 | Fujitsu General Ltd | Scrambler for cordless telephone |
JPH05304614A (en) * | 1992-04-06 | 1993-11-16 | Nec Corp | Picture information ciphering method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005309986A (en) * | 2004-04-23 | 2005-11-04 | Ntt Docomo Inc | ID tag, tag reader, ID tag security system, and ID tag transmission restoration method |
Also Published As
Publication number | Publication date |
---|---|
JP2670019B2 (en) | 1997-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11606341B2 (en) | Apparatus for use in a can system | |
US4484025A (en) | System for enciphering and deciphering data | |
US5297208A (en) | Secure file transfer system and method | |
US5345508A (en) | Method and apparatus for variable-overhead cached encryption | |
US5301247A (en) | Method for ensuring secure communications | |
US5602917A (en) | Method for secure session key generation | |
US4322576A (en) | Message format for secure communication over data links | |
US5444781A (en) | Method and apparatus for decryption using cache storage | |
US6907126B2 (en) | Encryption-decryption apparatus | |
JPS62198237A (en) | Method and apparatus for confidential communication | |
JP3917679B2 (en) | High bandwidth cryptographic system with low bandwidth cryptographic module | |
US4805216A (en) | Method and apparatus for continuously acknowledged link encrypting | |
JP2595899B2 (en) | Online message encryption device | |
JPH0730504A (en) | Device for preventing use of information without permission in radio communication | |
US10237251B2 (en) | Communication device and system, data processing method and method for securely exchanging data | |
CN112765686A (en) | Power consumption attack prevention framework and method for algorithm key in chip | |
JP2000517497A (en) | Apparatus and method for processing digital data stream with arbitrary number of data | |
US20030035542A1 (en) | Apparatus and method for securing communication information in CDMA communication system | |
GB2541975B (en) | Data protection device and data protection method thereof | |
US4555591A (en) | Integrated circuit devices for secure data encryption | |
KR20060011999A (en) | Encryption technique based on DES algorithm | |
JP2670019B2 (en) | Communication device and communication method | |
JP2000216773A (en) | Method and system for discriminating propriety of encrypted information | |
US6802001B1 (en) | Method of incrementally establishing an encryption key | |
JPH01119143A (en) | Password enciphering system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |