JPH05324936A - Recording and reproducing system for optical ic card - Google Patents

Recording and reproducing system for optical ic card

Info

Publication number
JPH05324936A
JPH05324936A JP4148426A JP14842692A JPH05324936A JP H05324936 A JPH05324936 A JP H05324936A JP 4148426 A JP4148426 A JP 4148426A JP 14842692 A JP14842692 A JP 14842692A JP H05324936 A JPH05324936 A JP H05324936A
Authority
JP
Japan
Prior art keywords
card
data
key
recording
recorded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4148426A
Other languages
Japanese (ja)
Inventor
Akira Toda
明 戸田
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP4148426A priority Critical patent/JPH05324936A/en
Publication of JPH05324936A publication Critical patent/JPH05324936A/en
Pending legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

PURPOSE:To provide the recording and reproducing system which can limit the users of data recorded in a card or registered persons to record data in the card. CONSTITUTION:This system is provided with a cipher processing part 42 to cipher data to be recorded in a prescribed cipher sequence with an arbitrary cipher key, recording means to record the ciphered data in an optical memory part 3 of a card 1, reading means to read the data recorded in the optical memory part 3, and decipher processing part 43 to decipher the data read by the reading means according to a prescribed decipher sequence with an arbitrary decipher key, and the cipher key and decipher key are composed of keys in a pair of public cipher systems of which contents are different from each other.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、光学的に情報の記録・
再生が可能な光メモリ部と中央処理装置を含む集積回路
部とを一体化してカード状に構成した光・ICカードの
記録再生システムに関する。
BACKGROUND OF THE INVENTION The present invention relates to optical recording / recording of information.
The present invention relates to an optical / IC card recording / reproducing system in which a reproducible optical memory unit and an integrated circuit unit including a central processing unit are integrated into a card shape.

【0002】[0002]

【従来の技術】従来からカードの表面の一部に磁気的な
記録部を設けたキャッシュカード、クレジットカードお
よびテレホンカードなどカード化された記録媒体が幅広
く使用されている。カードは携帯性の便利さにおいて他
の記録媒体に対し優位性を有しており、この特徴を活か
した用途開発が活発になされている。最近では、カード
の利用分野を広げるために、カードにより大きな記録容
量およびより高度な機能が求められ、この要求を満たす
ためのカードとして光カードおよびICカードなどが開
発されている。
2. Description of the Related Art Conventionally, carded recording media such as cash cards, credit cards and telephone cards having a magnetic recording portion on a part of the surface of a card have been widely used. The card has an advantage over other recording media in terms of portability and convenience, and application development utilizing this feature is being actively conducted. Recently, in order to expand the field of use of the card, a card is required to have a larger recording capacity and more advanced functions, and optical cards and IC cards have been developed as cards for satisfying these requirements.

【0003】光カードは光ディスク技術を応用して情報
をレーザ光で書き込み、この書き込んだ情報を光センサ
を有する読取装置にかけて読み取るもので、約5千万文
字の情報を記録することが出来る。ICカードは半導体
集積回路技術を用いて構成した中央処理装置(CPU)
を含む集積回路部(以下、ICモジュール部、という)
を内部に実装しているカードで、高度な判断、高速演
算、データ処理等のインテリジェント機能を備え、記録
容量は光カードほど膨大ではないが、約8千文字の情報
を記録することが出来る。
An optical card writes information with a laser beam by applying optical disk technology and reads the written information with a reading device having an optical sensor, and can record information of about 50 million characters. The IC card is a central processing unit (CPU) configured using semiconductor integrated circuit technology.
Integrated circuit section including (hereinafter referred to as IC module section)
This card has a built-in card and has intelligent functions such as advanced judgment, high-speed calculation, and data processing. Although the recording capacity is not as large as an optical card, it can record about 8,000 characters of information.

【0004】光カードは情報記録容量が飛躍的に大きい
ばかりでなく、製造工程が簡単で短期間で大量生産がで
きるため、低コスト化が図れるという利点を有する反
面、情報記録面を顕微鏡などの簡易な光学系を用いて単
に拡大して見ることにより情報内容を読み取ることがで
き、情報の秘匿性は低いという欠点がある。これに対
し、ICカードは記録情報をICモジュール部のメモリ
に記録し、CPUの働きによって入出力情報を全て電子
的に処理することができるため、高度の情報秘匿性を得
ることができる反面、製造コストが高く、1枚のカード
に記録できる情報量も光カードに比べると格段に低いと
いう欠点がある。
The optical card not only has a dramatically large information recording capacity, but also has the advantage that the manufacturing process is simple and can be mass-produced in a short period of time, so that the cost can be reduced. The information content can be read by simply enlarging the image using a simple optical system, and the confidentiality of the information is low. On the other hand, in the IC card, since the record information is recorded in the memory of the IC module unit and the input / output information can be electronically processed by the action of the CPU, a high degree of information confidentiality can be obtained, but The manufacturing cost is high, and the amount of information that can be recorded on one card is significantly lower than that of an optical card.

【0005】そこで、最近では光カードの大容量記録性
とICカードの情報秘匿性およびインテリジェント性を
考慮して1枚のカードに光メモリ部とICモジュール部
とを一体的に設けた光・ICカードが提案されている。
そして、光・ICカードのこの特性を利用して病院のカ
ルテなどの個人医療記録管理、貯金通帳などの金銭管
理、企業内シークレットを含む機器保守管理、文書管理
など広い範囲に利用することが検討されている。
Therefore, recently, an optical / IC card in which an optical memory unit and an IC module unit are integrally provided on one card in consideration of the large-capacity recording property of the optical card and the information confidentiality and intelligentness of the IC card. Is proposed.
Using this characteristic of optical / IC cards, it is considered to use it for a wide range of purposes such as personal medical record management such as hospital charts, money management such as savings passbooks, equipment maintenance management including company secrets, and document management. Has been done.

【0006】[0006]

【発明が解決しようとする課題】ところで、光・ICカ
ードは前述したように広い範囲での利用が可能であるた
め様々な使用態様が考えられる。例えば、カードへのデ
ータの記録は使用者を特定せずにある程度自由に行うこ
とができ、カードに記録してあるデータの再生は特定の
者しか行えないようにするシステムが考えられる。ま
た、これとは逆にカードへのデータの記録は特定の者し
か行えず、カードに記録してあるデータの再生は使用者
を特定せずにある程度自由に行えるようにするシステム
も考えられる。
By the way, since the optical / IC card can be used in a wide range as described above, various usage modes are conceivable. For example, a system is conceivable in which data can be recorded on a card to some extent without specifying a user, and data recorded on the card can be reproduced only by a specific person. On the contrary, a system in which only a specific person can record the data on the card, and the data recorded on the card can be reproduced to some extent without specifying the user can be considered.

【0007】前者の例としては、カードを医療用カルテ
として使用する場合に、各医療部門で検査結果や診療結
果をカードに記録し、記録したデータの再生は限られた
特定の者、例えば担当医にしか行えないようにするシス
テムがそれである。また、後者の例としては、カードを
医療用カルテとして使用する場合に、処方箋に関するデ
ータは担当医のみが記録できるようにし、データの再生
は薬剤師であれば特定の者でなくても再生できるように
するシステムがそれである。
[0007] As an example of the former, when the card is used as a medical chart, each medical department records the test results and medical examination results on the card, and the reproduction of the recorded data is limited to a specific person, such as a person in charge. That is a system that only doctors can do. In the latter example, when using the card as a medical chart, only the doctor in charge can record the data related to the prescription, and the pharmacist can reproduce the data so that it can be reproduced by a pharmacist without being a specific person. That is the system that

【0008】ところが、従来のカードシステムでは、カ
ードへのデータの記録またはカードからのデータの再生
は使用者が正しいパスワードを入力しさえすれば可能で
あるため、第三者にパスワードを知られてしまうとデー
タの記録または再生が容易になされてしまうという不都
合がある。しかも、カードに記録されているパスワード
は多少の専門知識を有する者にとっては解読可能であ
り、現在の磁気カードでも実際に解読される被害が生じ
ている。ICカードはICメモリ内にパスワードを記録
しておくため、磁気カードや光カードに比べると秘匿性
は保たれるが、それでも数桁のパスワードの解読は不可
能ではない。
However, in the conventional card system, the data can be recorded on the card or reproduced from the card only by the user inputting the correct password, so that the password is known to a third party. In that case, there is an inconvenience that data recording or reproduction is easily performed. Moreover, the password recorded on the card can be decrypted by a person having some technical knowledge, and even the current magnetic card is actually damaged. Since the IC card stores the password in the IC memory, the confidentiality is maintained as compared with the magnetic card and the optical card, but it is still possible to decipher the password with several digits.

【0009】また、光メモリ部は大容量のデータを記録
することが出来るが、記録したデータは前述したように
簡易な光学系を用いて読み取ることが出来るため、情報
の秘匿性が低いという不都合がある。
Further, although the optical memory unit can record a large amount of data, the recorded data can be read by using a simple optical system as described above, so that the confidentiality of information is low. is there.

【0010】本発明は、カードに記録してあるデータの
利用者、あるいはカードにデータを記録できる登録者を
限定することのできる記録再生システムを提供すること
を目的とする。
An object of the present invention is to provide a recording / reproducing system capable of limiting users of data recorded on a card or registrants who can record data on the card.

【0011】[0011]

【課題を解決するための手段】本発明による光・ICカ
ードの記録再生システムは、記録するデータを任意の暗
号化鍵によって所定の暗号化手順で暗号化する暗号化処
理部と、暗号化したデータをカード内の光メモリ部に記
録する記録手段と、光メモリ部に記録したデータを読み
取る読取手段と、読取手段で読み取ったデータを任意の
復号化鍵によって所定の復号化手順で復号する復号化処
理部とを設け、暗号化鍵および復号化鍵は互いに内容の
異なる一対の公開暗号系の鍵で構成する。この場合、暗
号化鍵はカード内に予め記録しておき、復号化鍵は当該
カード使用者が端末装置から入力するように構成する。
また、この場合、暗号化鍵は当該カード使用者が端末装
置から入力し、復号化鍵はカード内に予め記録するよう
に構成する。
An optical / IC card recording / reproducing system according to the present invention includes an encryption processing unit for encrypting data to be recorded by a predetermined encryption procedure with an arbitrary encryption key. Recording means for recording data in the optical memory section in the card, reading means for reading the data recorded in the optical memory section, and decryption processing for decrypting the data read by the reading means by a predetermined decryption procedure with an arbitrary decryption key Section, and the encryption key and the decryption key are composed of a pair of public encryption system keys having different contents. In this case, the encryption key is recorded in the card in advance, and the decryption key is input by the card user from the terminal device.
Further, in this case, the encryption key is input by the card user from the terminal device, and the decryption key is recorded in the card in advance.

【0012】[0012]

【作用】本発明は暗号化鍵と復号化鍵とが互いに異なる
公開鍵暗号系を使用し、一方の鍵を秘密鍵、他方の鍵を
公開鍵とすることによってカードに記録してあるデータ
の利用者、あるいはカードにデータを記録できる登録者
を限定することができるようにしている。
The present invention uses a public key cryptosystem in which an encryption key and a decryption key are different from each other, and one of the keys is a private key and the other key is a public key. It is possible to limit the number of users or registrants who can record data on the card.

【0013】カードに記録してあるデータの利用者を限
定するときは、暗号化鍵は公開鍵として予めカード内に
記録しておき、復号化鍵は秘密鍵として使用者が端末装
置から入力するようにする。カードにデータを記録する
ときは、使用者が端末装置から記録データを入力し、カ
ード内に記録してある暗号化鍵によって入力したデータ
を暗号化処理部で暗号化し、暗号化したデータを光学的
な記録手段によって光メモリ部に記録する。
When limiting the users of the data recorded on the card, the encryption key is recorded in the card in advance as a public key, and the decryption key is input as a secret key by the user from the terminal device. To do so. When recording data on the card, the user inputs the recorded data from the terminal device, encrypts the input data with the encryption key recorded on the card using the encryption processing unit, and then encrypts the encrypted data. The data is recorded in the optical memory section by a typical recording means.

【0014】カード内に記録してあるデータを再生する
ときは、光学的な読取手段によって光メモリ部からデー
タを読み取り、使用者が端末装置から復号化鍵を復号化
処理部に入力することによって行う。復号化処理部で
は、入力された復号化鍵を用いて所定の復号化手順でデ
ータを復号し再生する。
When the data recorded in the card is reproduced, the data is read from the optical memory section by the optical reading means, and the user inputs the decryption key from the terminal device to the decryption processing section. .. The decryption processing unit uses the input decryption key to decrypt and reproduce the data in a predetermined decryption procedure.

【0015】したがって、カードへのデータの記録は暗
号化鍵を知らなくても可能であり、使用者を限定せずに
ある程度自由に行うことが出来る。これに対し、カード
に記録してあるデータの再生は、復号化鍵を知っている
者しか行うことができないため、データの利用は特定の
者しか行うことが出来ない。
Therefore, the data can be recorded on the card without knowing the encryption key, and can be freely performed to some extent without limiting the user. On the other hand, since the data recorded on the card can be reproduced only by the person who knows the decryption key, the data can be used by only a specific person.

【0016】カードにデータを記録できる登録者を限定
するときは、暗号化鍵は秘密鍵として使用者が端末装置
から入力するようにし、復号化鍵は公開鍵として予めカ
ード内に記録しておく。カードにデータを記録するとき
は、使用者が端末装置から暗号化鍵を暗号化処理部に入
力することによって行う。暗号化処理部では、この暗号
化鍵を用いて所定の暗号化手順で記録するデータを暗号
化し、暗号化したデータは光学的な記録手段を用いてカ
ード内の光メモリ部に記録する。
When limiting the number of registrants who can record data in the card, the user inputs the encryption key as a secret key from the terminal device, and the decryption key is recorded as a public key in the card in advance. .. When data is recorded on the card, the user inputs the encryption key from the terminal device to the encryption processing unit. The encryption processing unit uses this encryption key to encrypt the data to be recorded according to a predetermined encryption procedure, and the encrypted data is recorded in the optical memory unit in the card using the optical recording means.

【0017】カード内に記録してあるデータを再生する
ときは、光学的な読取手段によって光メモリ部からデー
タを読み取り、予めカード内に記録してある復号化鍵を
用いて復号化処理部で所定の復号化手順でデータを復号
し再生する。
When the data recorded in the card is reproduced, the data is read from the optical memory section by the optical reading means, and the predetermined processing is performed by the decryption processing section using the decryption key recorded in the card in advance. The data is decrypted and reproduced by the decryption procedure of.

【0018】したがって、カードへのデータの記録は暗
号化鍵を知っている特定の者しか行うことが出来ず、こ
れに対してカードに記録してあるデータの再生は、使用
者が復号化鍵を知らなくても行うことができ、使用者を
限定せずにある程度自由に行うことが出来る。
Therefore, the recording of the data on the card can be performed only by a specific person who knows the encryption key, whereas the user can reproduce the data recorded on the card by the decryption key. Can be performed without knowing, and can be performed freely to some extent without limiting the user.

【0019】[0019]

【実施例】図1は、本発明で使用する光・ICカード1
の平面図で、プラスチック製のカード基材2上に光メモ
リ部3および集積回路部(ICモジュール部)4を形成
した構成となっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an optical / IC card 1 used in the present invention.
In the plan view of FIG. 3, the optical memory unit 3 and the integrated circuit unit (IC module unit) 4 are formed on the plastic card substrate 2.

【0020】光メモリ部3はレーザ光の照射によって情
報が書き込まれ、弱いレーザ光の反射光によって記録さ
れている情報が読み出される大容量の情報記録部であ
る。この光メモリ部3は、図2の縦断面図に示すよう
に、非銀塩パターン層30に低反射部31(反射率5
%)が形成され、その下面にアルミニウム反射層32
(反射率80%)を蒸着して情報記録層としている。情
報記録層は透明な保護層33とカード基材層(基板)3
4とで挟持されており、保護層33の表面には傷が付く
のを防止するために表面硬化層35が設けられている。
The optical memory unit 3 is a large-capacity information recording unit in which information is written by irradiation of laser light and the recorded information is read by reflected light of weak laser light. As shown in the vertical cross-sectional view of FIG. 2, the optical memory unit 3 includes a non-silver salt pattern layer 30 with a low reflection portion 31 (reflectance of 5%).
%) Is formed on the lower surface of the aluminum reflection layer 32.
(Reflectance of 80%) is vapor-deposited to form an information recording layer. The information recording layer is a transparent protective layer 33 and a card base layer (substrate) 3
The surface of the protective layer 33 is sandwiched between the surface of the protective layer 33 and the protective layer 33, and a surface hardened layer 35 is provided on the surface of the protective layer 33 to prevent scratches.

【0021】光メモリ部3には、カード1の長手方向に
複数のバンドBがカード1の短手方向に平行に並んで形
成されており、情報領域が構成されるようにフォーマッ
ト化されている。また、各バンドBには数バイトのデー
タを含むトラックが多数横に並んで形成されており、各
トラックを構成する情報ピットはピットセルと呼ばれる
単位領域毎に低反射部31の有無または低反射部31の
位置で2値信号として記録されている。
In the optical memory unit 3, a plurality of bands B are formed in the longitudinal direction of the card 1 so as to be parallel to each other in the lateral direction of the card 1, and are formatted to form an information area. Further, in each band B, a large number of tracks containing data of several bytes are formed side by side, and the information pits forming each track are provided with or without the low reflection part 31 or a low reflection part in each unit area called a pit cell. It is recorded as a binary signal at position 31.

【0022】ICモジュール部4は半導体集積回路技術
によって構成したCPUやメモリなどのICチップをプ
リント基板上に組み込み、カード基材2内に埋め込むな
どして装着したもので、カード1の表面にはISO(国
際標準化機構)で定めた規格位置に後述するカード用端
末装置との接続を図る6個の端子C1 〜C6 が露出して
いる。この端子C1 〜C6 は端末装置からの電源電圧の
供給、端末装置との間のデータ伝送などに使用される。
The IC module part 4 is a device in which an IC chip such as a CPU and a memory formed by semiconductor integrated circuit technology is mounted on a printed circuit board and embedded in the card base material 2, and mounted on the surface of the card 1. Six terminals C1 to C6 for exposing connection to a card terminal device, which will be described later, are exposed at standard positions defined by ISO (International Organization for Standardization). The terminals C1 to C6 are used for supplying a power supply voltage from the terminal device and for transmitting data to and from the terminal device.

【0023】図3は、本発明による光・ICカードの記
録再生システムの一例を示すブロック図である。同図に
おいて、光・ICカード1は前述したように光メモリ部
3およびICモジュール部4を有し、ICモジュール部
4内にはCPU40、ICメモリ41、平文を暗号処理
する暗号化処理部42、暗号文を復号処理する復号化処
理部43、端子C1 〜C6 を含むコンタクト部44がそ
れぞれバス45を介して接続されている。
FIG. 3 is a block diagram showing an example of an optical / IC card recording / reproducing system according to the present invention. In the figure, the optical / IC card 1 has the optical memory unit 3 and the IC module unit 4 as described above, and in the IC module unit 4, the CPU 40, the IC memory 41, and the encryption processing unit 42 for encrypting plaintext, A decryption processing unit 43 for decrypting ciphertext and a contact unit 44 including terminals C1 to C6 are connected to each other via a bus 45.

【0024】また、カード用端末装置5は、CPU5
0、プログラムメモリ51、ワーキングメモリ52など
の通常のコンピュータシステムのほかに、カード1が挿
入されるカードリーダライタ部(以下、R/W部、とい
う)53、パスワードや記録データなどを入力するキー
ボード装置やディスクドライブ装置などのデータ入力部
54、使用者に対する操作手順の指示や再生データの出
力などを行うディスプレイ装置やプリンタ装置などのデ
ータ出力部55がそれぞれバス56を介して接続されて
いる。
The card terminal device 5 includes a CPU 5
0, a program memory 51, a working memory 52, and the like, a card reader / writer unit (hereinafter, referred to as R / W unit) 53 into which the card 1 is inserted, a keyboard for inputting a password, recording data, and the like. A data input section 54 such as an apparatus or a disk drive apparatus, and a data output section 55 such as a display apparatus or a printer apparatus for instructing an operation procedure to a user and outputting reproduction data are connected to each other via a bus 56.

【0025】R/W部53は手動または自動によって挿
入・排出されるカード1のコンタクト部44と結合して
ICモジュール部4へ電源を供給したり、クロック信号
やリセット信号等の制御信号を供給したり、ICモジュ
ール部4および端末装置5間のデータ送受を制御したり
すると共に、内蔵されている光ヘッド装置によって光メ
モリ部3に対するデータの記録・再生を行うように構成
されている。
The R / W section 53 is combined with the contact section 44 of the card 1 which is inserted or ejected manually or automatically to supply power to the IC module section 4 or supply control signals such as clock signals and reset signals. In addition to controlling the data transmission / reception between the IC module unit 4 and the terminal device 5, the built-in optical head device records / reproduces data to / from the optical memory unit 3.

【0026】次に、端末装置5にカード1を挿入してデ
ータの記録および再生を行う場合の処理手順について、
図4〜図7に示すシーケンス図を参照して説明する。な
お、いずれの処理の場合もパスワードの照合は既に完了
しているものとする。まず、本発明で使用する暗号系に
ついて説明する。本発明で使用する暗号系は暗号化鍵と
復号化鍵とが異なり、しかも一方の鍵は公開しても差し
支えない公開鍵暗号系で、代表的なものに3人の発案者
の頭文字を取ったRSA(Rivest,Shamir,Adleman)暗号
がある。暗号内容の詳細については公知文献(例えば、
「暗号と情報セキュリティ」、辻井・笠原編著)に譲る
が、この暗号は大きな数の素因数分解の困難さに安全性
の根拠をおき、べき乗剰余の計算により暗号化/復号化
処理を行うものである。
Next, regarding the processing procedure when the card 1 is inserted into the terminal device 5 to record and reproduce data,
This will be described with reference to the sequence diagrams shown in FIGS. In any case, it is assumed that the password verification has already been completed. First, the encryption system used in the present invention will be described. The encryption system used in the present invention is a public key encryption system in which an encryption key and a decryption key are different, and one of the keys can be made public, and representative ones have the initials of three proposers. There is the RSA (Rivest, Shamir, Adleman) code taken. For details of the encrypted contents, see
"Cryptography and information security" (edited by Tsujii and Kasahara), this cryptography is based on the difficulty of factoring a large number for security and performs encryption / decryption processing by calculating the modular exponentiation. is there.

【0027】暗号化手順Eは「C=E(M)=Me mod
n」で表され、復号化手順Dは「M=D(C)=Cd mo
d n」で表される。Mは平文、Cは暗号文である。暗号
化鍵はeとn、復号化鍵はdとnで、暗号化鍵eとnは
公開し、復号化鍵dは秘密とする。鍵e,d,nの決定
は次の手順で行う。 2つの大きな素数p,qを任意に選び、n=pqとす
る。 (p−1)と(q−1)の最小公倍数Lを計算し、L
と互いに素でLより小さな任意の整数eを求める。 ed=1(mod L)を満たすdを求める。 こうして選んだ値e,d,nは、全ての平文Mに対し、
「Medmod n=M」が成立する。
The encryption procedure E is "C = E (M) = M e mod
n ”, and the decoding procedure D is“ M = D (C) = C d mo
It is represented by dn ". M is plaintext and C is ciphertext. The encryption keys are e and n, the decryption keys are d and n, the encryption keys e and n are public, and the decryption key d is secret. The keys e, d, and n are determined by the following procedure. Two large prime numbers p and q are arbitrarily selected, and n = pq. The least common multiple L of (p-1) and (q-1) is calculated, and L
And an arbitrary integer e which is relatively prime to and smaller than L are obtained. Find d that satisfies ed = 1 (mod L). The values e, d, and n thus selected are for all plaintexts M.
“M ed mod n = M” is established.

【0028】解読者が暗号文Cを解読するには復号化鍵
dを知らなければならないが、そのためには秘密の素数
p,qを知り、(p−1)および(q−1)の最小公倍
数Lと公開鍵eとから「d=e-1(mod L)」を演算
し、秘密鍵dを求める必要がある。公開鍵nは素数pと
qの積であるから公開鍵nが容易に素因数分解できる程
度の整数では暗号にならない。通常はpとqを各100
桁(十進数)程度とし、公開鍵nは200桁程度として
いる。こうすれば、1000 MIPSの電子計算機を用い
ても素因数分解に数百万年かかる勘定になり、実質的に
解読は不可能である。
The decryption person must know the decryption key d in order to decrypt the ciphertext C. For that purpose, the secret prime numbers p and q are known, and the minimum of (p-1) and (q-1) is obtained. It is necessary to calculate "d = e -1 (mod L)" from the public multiple L and the public key e to obtain the secret key d. Since the public key n is the product of the prime numbers p and q, the public key n cannot be encrypted with an integer that can be easily factored. Normally, p and q are 100 each
The number of digits (decimal number) is approximately, and the public key n is approximately 200 digits. In this way, even if a computer with 1,000 MIPS is used, the factorization will take millions of years, and it is practically impossible to decipher.

【0029】次に、図4および図5に示すシーケンス図
を参照し、本発明による第1の動作実施例について説明
する。本実施例はカードへのデータの記録はある程度自
由に行うことができ、しかしながらカードからのデータ
の再生は特定の者しか行うことができないようにした例
である。このため、暗号化鍵e,nは公開鍵としてカー
ド1内に予め記憶しておき、復号化鍵dは秘密鍵として
再生時にカード使用者が端末装置5から入力するように
する。
Next, a first operation example according to the present invention will be described with reference to sequence diagrams shown in FIGS. The present embodiment is an example in which the recording of the data on the card can be performed to some extent freely, but the reproduction of the data from the card can be performed only by a specific person. For this reason, the encryption keys e and n are stored in the card 1 in advance as public keys, and the decryption key d is input as a secret key by the card user from the terminal device 5 during reproduction.

【0030】まず、記録処理の場合は、図4のシーケン
ス図に示すように、使用者が端末装置5のデータ入力部
54から記録データMeを入力することによって開始す
る。記録データMeの入力は、使用者によるキーボード
装置からの直接入力、予め磁気ディスク等に記録したデ
ータのドライブ装置からの転送などがある。
First, the recording process is started by the user inputting the recording data Me from the data input unit 54 of the terminal device 5, as shown in the sequence diagram of FIG. The recording data Me may be input by the user directly from the keyboard device or by transferring the data previously recorded on the magnetic disk or the like from the drive device.

【0031】入力された記録データMeはバス56を通
り、R/W部53およびカード1のコンタクト部44を
経て暗号処理部42へ転送される(ステップS1)。暗
号化処理部42へはICメモリ部41に公開鍵として予
め記憶してある暗号化鍵e,nが供給されているので
(ステップS2)、暗号処理部42では暗号化鍵e,n
を用いて記録データMeを所定の暗号化手順Eで暗号化
し、暗号データC(=Me e mod n)を生成する。
The input record data Me passes through the bus 56 and is transferred to the encryption processing section 42 via the R / W section 53 and the contact section 44 of the card 1 (step S1). Since the encryption keys e and n stored in advance in the IC memory unit 41 as public keys are supplied to the encryption processing unit 42 (step S2), the encryption processing unit 42 uses the encryption keys e and n.
To encrypt the record data Me by a predetermined encryption procedure E to generate encrypted data C (= Me e mod n).

【0032】生成された暗号データCはバス45を通
り、コンタクト部44から端末装置5のR/W部53に
転送され(ステップS3)、R/W部53内の光ヘッド
装置によってカード1内の光メモリ部3に記録される
(ステップS4)。
The generated encrypted data C is transferred from the contact section 44 to the R / W section 53 of the terminal device 5 through the bus 45 (step S3), and is stored in the card 1 by the optical head device in the R / W section 53. Is recorded in the optical memory unit 3 (step S4).

【0033】次に、カード1の光メモリ部3に記録され
ているデータを再生するには、図5のシーケンス図に示
すように、使用者が端末装置5のデータ入力部54から
復号化鍵dを入力することによって開始する。入力され
た復号化鍵dはバス56を通り、R/W部53およびカ
ード1のコンタクト部44を経ていったんICメモリ4
1に記憶される(ステップS5)。
Next, in order to reproduce the data recorded in the optical memory unit 3 of the card 1, the user inputs the decryption key d from the data input unit 54 of the terminal device 5 as shown in the sequence diagram of FIG. Start by typing. The input decryption key d passes through the bus 56, passes through the R / W unit 53 and the contact unit 44 of the card 1, and is temporarily stored in the IC memory 4
1 is stored (step S5).

【0034】次いで、R/W部53内の光ヘッド装置で
光メモリ部3に記録されている暗号データCの読み取り
を行い(ステップS6)、読み取った暗号データCはコ
ンタクト部44を介してICモジュール部4内の復号化
処理部43に転送する(ステップS7)。復号化処理部
43へは、ICメモリ41から復号化鍵d,nが供給さ
れているので(ステップS8)、復号化処理部43では
この復号化鍵d,nを用いて所定の復号化手順Dで暗号
データCを復号処理し、再生データMd (=Cd mod
n)として出力する。
Next, the encrypted data C recorded in the optical memory unit 3 is read by the optical head device in the R / W unit 53 (step S6), and the read encrypted data C is transferred to the IC module via the contact unit 44. The data is transferred to the decryption processing unit 43 in the unit 4 (step S7). Since the decryption keys d and n are supplied from the IC memory 41 to the decryption processing unit 43 (step S8), the decryption processing unit 43 uses the decryption keys d and n to perform a predetermined decryption procedure. and decoding the encrypted data C with D, the reproduced data Md (= C d mod
output as n).

【0035】復号された再生データMd はコンタクト部
44からR/W部53を経てデータ出力部55へ転送さ
れ(ステップS9)、ディスプレイ装置やプリンタ装置
などを介して外部に出力される。
The decrypted reproduction data Md is transferred from the contact section 44 to the data output section 55 via the R / W section 53 (step S9) and is output to the outside via the display device, the printer device or the like.

【0036】次に、図6および図7に示すシーケンス図
を参照し、本発明による第2の動作実施例について説明
する。本実施例はカードへのデータの記録は特定の者し
か行えず、しかしながらカードからのデータ再生は使用
者を限定せずにある程度自由に行うことができるように
した例である。このため、暗号化鍵eは秘密鍵としてデ
ータ記録時にカード使用者が端末装置5から入力するよ
うにし、復号化鍵d,nは公開鍵としてカード1内に予
め記憶しておくようにする。
Next, a second operation example according to the present invention will be described with reference to the sequence diagrams shown in FIGS. 6 and 7. This embodiment is an example in which the data can be recorded on the card only by a specific person, but the data reproduction from the card can be freely performed to some extent without limiting the user. Therefore, the encryption key e is input as a secret key from the terminal device 5 by the card user when recording data, and the decryption keys d and n are stored in the card 1 as public keys in advance.

【0037】まず、記録処理の場合は、図6のシーケン
ス図に示すように、使用者が端末装置5のデータ入力部
54から暗号化鍵eを入力する。入力された暗号化鍵e
はバス56を通り、R/W部53およびカード1のコン
タクト部44を経ていったんICメモリ41に記憶され
る(ステップS10)。次いで、端末装置5のデータ入
力部54から記録データMeを入力する。記録データM
eの入力は、使用者によるキーボード装置からの直接入
力、磁気ディスクに予め記録したデータのドライブ装置
からの転送などがある。
First, in the case of the recording process, as shown in the sequence diagram of FIG. 6, the user inputs the encryption key e from the data input section 54 of the terminal device 5. Input encryption key e
Is stored in the IC memory 41 once via the bus 56, the R / W section 53 and the contact section 44 of the card 1 (step S10). Next, the record data Me is input from the data input unit 54 of the terminal device 5. Recorded data M
The input of e includes direct input by a user from a keyboard device, transfer of data recorded in advance on a magnetic disk from a drive device, and the like.

【0038】入力された記録データMeはバス56を通
り、R/W部53およびカード1のコンタクト部44を
経て暗号処理部42へ転送される(ステップS11)。
暗号化処理部42へはICメモリ部41から暗号化鍵
e,nが供給されるので(ステップS12)、暗号処理
部42では暗号化鍵e,nを用いて記録データMeを所
定の暗号化手順Eで暗号化し、暗号データC(=Me e
mod n)を生成する。
The input record data Me passes through the bus 56 and is transferred to the encryption processing section 42 via the R / W section 53 and the contact section 44 of the card 1 (step S11).
Since the encryption keys e and n are supplied from the IC memory unit 41 to the encryption processing unit 42 (step S12), the encryption processing unit 42 uses the encryption keys e and n to encrypt the recording data Me to a predetermined encryption. The encrypted data is encrypted in step E, and the encrypted data C (= Me e
mod n) is generated.

【0039】生成された暗号データCはバス45を通
り、コンタクト部44から端末装置5のR/W部53に
転送され(ステップS13)、R/W部53内の光ヘッ
ド装置によってカード1内の光メモリ部3に記録される
(ステップS14)。
The generated encrypted data C is transferred from the contact unit 44 to the R / W unit 53 of the terminal device 5 through the bus 45 (step S13), and the optical head device in the R / W unit 53 stores the data in the card 1. Is recorded in the optical memory unit 3 (step S14).

【0040】次に、こうしてカード1の光メモリ部3に
記録したデータを再生するには、図7のシーケンス図に
示すように、光メモリ部3に記録されている暗号データ
CをR/W部53内の光ヘッド装置で読み取る(ステッ
プS15)。読み取った暗号データCはコンタクト部4
4を介してICモジュール部4内の復号化処理部43に
転送する(ステップS16)。
Next, in order to reproduce the data recorded in the optical memory unit 3 of the card 1 in this way, as shown in the sequence diagram of FIG. 7, the encrypted data C recorded in the optical memory unit 3 is read by the R / W unit 53. It is read by the internal optical head device (step S15). The read encrypted data C is the contact part 4
The data is transferred to the decryption processing unit 43 in the IC module unit 4 via 4 (step S16).

【0041】復号化処理部43へはICメモリ41から
復号化鍵d,nが供給されているので(ステップS1
7)、復号化処理部43では復号化鍵d,nを用いて所
定の復号化手順Dで暗号データCを復号処理し、再生デ
ータMd (=Cd mod n)を出力する。
Since the decryption keys d and n are supplied from the IC memory 41 to the decryption processing unit 43 (step S1).
7) In the decryption processing unit 43, the decryption keys d and n are used to decrypt the encrypted data C in a predetermined decryption procedure D, and reproduced data Md (= C d mod n) is output.

【0042】再生データMd はコンタクト部44からR
/W部53を経てデータ出力部55へ転送され(ステッ
プS18)、ディスプレイ装置やプリンタ装置などの出
力装置を介して外部に出力される。
The reproduction data Md is transferred from the contact portion 44 to R.
The data is transferred to the data output unit 55 via the / W unit 53 (step S18) and output to the outside via an output device such as a display device or a printer device.

【0043】なお、前述の実施例では、カード内に暗号
化処理部および復号化処理部を設置するようにしたが、
これらのロジック部は汎用化されているので、カード内
に設置しても、端末装置内に設置しても、あるいは両方
に設置してもよい。また、使用する暗号系としては、前
述したRSA暗号系に限らず、暗号アルゴリズムが公開
されている他の公開鍵暗号系であってもよい。
In the above embodiment, the encryption processing unit and the decryption processing unit are installed in the card.
Since these logic units are generalized, they may be installed in the card, the terminal device, or both. Further, the encryption system to be used is not limited to the above-mentioned RSA encryption system, and may be another public key encryption system in which the encryption algorithm is open.

【0044】[0044]

【発明の効果】本発明によれば、暗号化鍵および復号化
鍵のうち、一方の鍵を秘密鍵、他方の鍵を公開鍵とする
ことによってカードに記録してあるデータの利用者、あ
るいはカードにデータを記録できる登録者を限定するこ
とができる。したがって、暗号化鍵を公開鍵、復号化鍵
を秘密鍵とすれば、カードへのデータ記録は使用者を限
定せずにある程度自由に行うことができ、カードからの
データ再生は復号化鍵を知っている特定の者しか行うこ
とができない。また、暗号化鍵を秘密鍵、復号化鍵を公
開鍵とすれば、カードへのデータ記録は暗号化鍵を知っ
ている特定の者しか行うことができず、カードからのデ
ータ再生は使用者を限定せずにある程度自由に行うこと
ができる。
According to the present invention, one of the encryption key and the decryption key is a secret key and the other key is a public key, so that the user of the data recorded on the card, or It is possible to limit the registrants who can record data on the card. Therefore, if the encryption key is the public key and the decryption key is the private key, the data can be recorded on the card to some extent without limiting the user, and the decryption key can be used to reproduce the data from the card. Only certain people who know it can do it. Also, if the encryption key is the private key and the decryption key is the public key, data recording on the card can be performed only by a specific person who knows the encryption key, and the data reproduction from the card is performed by the user. Can be done to a certain extent without limiting.

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

【図1】本発明で使用する光・ICカードの平面図であ
る。
FIG. 1 is a plan view of an optical / IC card used in the present invention.

【図2】図1に示す光・ICカードの光メモリ部の部分
断面図である。
FIG. 2 is a partial cross-sectional view of an optical memory unit of the optical / IC card shown in FIG.

【図3】本発明の一実施例を示すブロック図である。FIG. 3 is a block diagram showing an embodiment of the present invention.

【図4】本発明の第1の動作実施例のうち記録処理を示
すシーケンス図である。
FIG. 4 is a sequence diagram showing a recording process in the first operation example of the present invention.

【図5】本発明の第1の動作実施例のうち再生処理を示
すシーケンス図である。
FIG. 5 is a sequence diagram showing a reproduction process in the first operation example of the present invention.

【図6】本発明の第2の動作実施例のうち記録処理を示
すシーケンス図である。
FIG. 6 is a sequence diagram showing a recording process in the second operation example of the present invention.

【図7】本発明の第2の動作実施例のうち再生処理を示
すシーケンス図である。
FIG. 7 is a sequence diagram showing a reproduction process in the second operation example of the present invention.

【符号の簡単な説明】[Simple explanation of symbols]

1 光・ICカード 2 カード基材 3 光メモリ部 4 ICモジュール部 5 カード用端末装置 40 CPU 41 ICメモリ 42 暗号化処理部 43 復号化処理部 44 コンタクト部 45 バス 50 CPU 51 プログラムメモリ 52 ワーキングメモリ 53 カードリーダライタ部(R/W部) 54 データ入力部 55 データ出力部 56 バス 1 Optical / IC Card 2 Card Base Material 3 Optical Memory Section 4 IC Module Section 5 Card Terminal Device 40 CPU 41 IC Memory 42 Encryption Processing Section 43 Decryption Processing Section 44 Contact Section 45 Bus 50 CPU 51 Program Memory 52 Working Memory 53 Card reader / writer unit (R / W unit) 54 Data input unit 55 Data output unit 56 Bus

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G09C 1/00 9194−5L // G11B 13/00 9075−5D ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI technical display location G09C 1/00 9194-5L // G11B 13/00 9075-5D

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 記録するデータを任意の暗号化鍵によっ
て所定の暗号化手順で暗号化する暗号化処理部と、 前記暗号化したデータをカード内の光メモリ部に記録す
る記録手段と、 前記光メモリ部に記録したデータを読み取る読取手段
と、 前記読取手段で読み取ったデータを任意の復号化鍵によ
って所定の復号化手順で復号する復号化処理部とを備
え、 前記暗号化鍵および前記復号化鍵は互いに内容の異なる
一対の公開暗号系の鍵で構成したことを特徴とする光・
ICカードの記録再生システム。
1. An encryption processing unit for encrypting data to be recorded by an arbitrary encryption key in a predetermined encryption procedure, a recording unit for recording the encrypted data in an optical memory unit in a card, and the optical memory. And a decryption processing unit for decrypting the data read by the reading unit by a predetermined decryption procedure with an arbitrary decryption key, the encryption key and the decryption key Is composed of a pair of public encryption system keys whose contents are different from each other.
IC card recording / playback system.
【請求項2】 請求項1において、前記暗号化鍵は前記
カード内に予め記録しておき、前記復号化鍵は当該カー
ド使用者が端末装置から入力することを特徴とする光・
ICカードの記録再生システム。
2. The optical key according to claim 1, wherein the encryption key is recorded in advance in the card, and the decryption key is input by a user of the card from a terminal device.
IC card recording / playback system.
【請求項3】 請求項1において、前記暗号化鍵は当該
カード使用者が端末装置から入力し、前記復号化鍵は前
記カード内に予め記録しておくことを特徴とする光・I
Cカードの記録再生システム。
3. The optical / I-mode according to claim 1, wherein the encryption key is input by the card user from a terminal device, and the decryption key is recorded in the card in advance.
C card recording / playback system.
JP4148426A 1992-05-15 1992-05-15 Recording and reproducing system for optical ic card Pending JPH05324936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4148426A JPH05324936A (en) 1992-05-15 1992-05-15 Recording and reproducing system for optical ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4148426A JPH05324936A (en) 1992-05-15 1992-05-15 Recording and reproducing system for optical ic card

Publications (1)

Publication Number Publication Date
JPH05324936A true JPH05324936A (en) 1993-12-10

Family

ID=15452535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4148426A Pending JPH05324936A (en) 1992-05-15 1992-05-15 Recording and reproducing system for optical ic card

Country Status (1)

Country Link
JP (1) JPH05324936A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6741991B2 (en) 1994-09-30 2004-05-25 Mitsubishi Corporation Data management system
JP2007317216A (en) * 1999-05-24 2007-12-06 Yoshiro Mizuno Pharmacy system utilizing two-dimensional code

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6741991B2 (en) 1994-09-30 2004-05-25 Mitsubishi Corporation Data management system
JP2007317216A (en) * 1999-05-24 2007-12-06 Yoshiro Mizuno Pharmacy system utilizing two-dimensional code

Similar Documents

Publication Publication Date Title
TW380242B (en) Method and system for the secure transmission and storage of protectable information
US4529870A (en) Cryptographic identification, financial transaction, and credential device
US6594759B1 (en) Authorization firmware for conducting transactions with an electronic transaction system and methods therefor
US6722570B1 (en) Smart data storage device
US20090019291A1 (en) Backup and restoration of drm security data
JPS6084686A (en) Recording system of information recording medium
JP2003517658A5 (en)
JPH10334205A (en) Ic card and memory package
MXPA04008973A (en) Method and system for conducting a transaction using a proximity device.
JP2004078553A (en) Card settlement system and terminal device, encryption method and program for card settlement data, and storage medium storing program
JP5064417B2 (en) Method and apparatus for securely processing confidential information
JP2874916B2 (en) Portable encryption key storage device
TWI292885B (en)
JPH05324936A (en) Recording and reproducing system for optical ic card
EP0872081B1 (en) Method and device for data communication
JPH1020778A (en) Encoding device, decoding device and ic card
JP3107907B2 (en) Optical / IC card recording / reproducing system
JPH06187510A (en) Information recording and reproducing system
JPH05290225A (en) User authentication system for optical/ic card
JPH09179950A (en) Individual ic card, certificating ic card and ic card system using these cards
JPH05250268A (en) Copy guard device
JPH07161172A (en) Data recording medium
JP3622493B2 (en) Value transfer method
JP2005234609A (en) Composite ic module provided with recording disk and data recording/reproducing method therefor
JP3810945B2 (en) Data recording device for recording medium