JPH0725437U - Cryptographic device for word processor - Google Patents
Cryptographic device for word processorInfo
- Publication number
- JPH0725437U JPH0725437U JP057053U JP5705393U JPH0725437U JP H0725437 U JPH0725437 U JP H0725437U JP 057053 U JP057053 U JP 057053U JP 5705393 U JP5705393 U JP 5705393U JP H0725437 U JPH0725437 U JP H0725437U
- Authority
- JP
- Japan
- Prior art keywords
- key
- input
- encryption
- word processor
- present
- 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
Links
Landscapes
- Storage Device Security (AREA)
Abstract
(57)【要約】
【目的】 簡易で秘匿性の高いワープロ用暗号装置を提
供する。
【構成】 ワープロとの入出力手段と暗号処理手段と鍵
生成手段と秘密鍵入力手段を具備し、前記暗号処理手段
で、ワープロから入力したデータを前記鍵生成手段で生
成させた鍵で暗号化して暗号ファイルを作成すると共
に、前記鍵を前記秘密鍵入力手段で入力した秘密鍵で暗
号化して暗号化鍵を作成する。
(57) [Abstract] [Purpose] To provide a simple and highly confidential encryption device for word processing. An input / output unit for a word processor, an encryption processing unit, a key generation unit, and a secret key input unit are provided, and the encryption processing unit encrypts the data input from the word processor with the key generated by the key generation unit. An encrypted file is created by using the private key input means and the key is encrypted by the private key input by the private key input means to create an encrypted key.
Description
【0001】[0001]
本考案は、ワープロ用暗号装置に関する。 The present invention relates to a word processor cryptographic device.
【0002】[0002]
ワープロで作成した文書データは、ワープロ内蔵のICメモリやフロッピーデ ィスク等に記憶されて保管される。 Document data created by a word processor is stored and stored in an IC memory, a floppy disk or the like built in the word processor.
【0003】[0003]
従来、ワープロのICメモリやフロッピーディスクに記録された文書データは 、他人によって、容易にワープロ上のディスプレイに表示したり印刷して見られ るという問題があった。 Conventionally, there has been a problem that document data recorded in an IC memory or a floppy disk of a word processor can be easily displayed or printed on a display on the word processor by others.
【0004】[0004]
本考案は、上記の問題を解決する為、本考案による装置をワープロに接続して 暗号化に用いる鍵を自動的に生成し、記憶された文書データを暗号化すると共に 、前記鍵を、使用者が任意に入力した秘密鍵(キーワード)で暗号化して暗号化 鍵を作成し、暗号文を特定する名前と共に暗号化鍵を本考案による装置又は記憶 手段を具備する外部装置に記憶させて、文書データの秘匿とその運用を容易にし た。 また、本考案による装置が行う暗号処理及び鍵生成等の手順を、記憶手段 を有する外部装置に記憶させ、本装置がそれを読込んで処理を行わせることによ り、運用とその応用を容易にした。 In order to solve the above problems, the present invention connects the device according to the present invention to a word processor to automatically generate a key used for encryption, encrypts stored document data, and uses the key. An encryption key is created by encrypting with a secret key (keyword) arbitrarily input by a person, and the encryption key is stored in the device according to the present invention or an external device having a storage means, together with a name that identifies the ciphertext, We made it easy to conceal document data and operate it. In addition, the procedure of encryption processing and key generation performed by the device according to the present invention is stored in an external device having a storage means, and this device reads the process to perform processing, thereby facilitating operation and its application. I chose
【0005】[0005]
請求項(1)に記載の本考案によるワープロ用暗号装置の一実施例を図1に示 す。 本実施例において、(10)は本考案による装置を示し、(11)はワープロ の入出力用コネクタと接続してデータの入出力を行う入出力手段を示し、(12 )は制御手段を示し、(13)は暗号処理手段を示し、(14)は鍵生成手段を 示し、(15)は秘密鍵入力手段を示し、(16)は前記秘密鍵入力手段のキー を示し、(17)は前記制御手段(12)と各手段を接続する制御線を示す。 FIG. 1 shows an embodiment of a word processor encryption apparatus according to the present invention as set forth in claim (1). In the present embodiment, (10) shows the device according to the present invention, (11) shows the input / output means for inputting / outputting data by connecting to the input / output connector of the word processor, and (12) shows the control means. , (13) shows an encryption processing means, (14) shows a key generation means, (15) shows a secret key input means, (16) shows a key of the secret key input means, and (17) shows The control line which connects said control means (12) and each means is shown.
【0006】 本実施例では、前記制御手段(12)の制御のもとに、前記ワープロに実装さ れているRS232Cやセントロニクス等のコネクタと接続された前記入出力手 段(11)が、暗号化時には、暗号化するデータを前記ワープロから受信して前 記暗号処理手段(13)に送信した後、前記暗号処理手段(13)で暗号化した 暗号文及び暗号化鍵を受信して前記コネクタから前記ワープロに送信し、復号時 には、前記暗号文と前記暗号化鍵を前記ワープロから受信して前記暗号処理手段 (13)に送信すると共に、前記暗号処理手段(13)で復号した復号文(平文 )を前記ワープロに送信する。前記暗号処理手段(13)は、前記鍵生成手段( 14)で生成した鍵を暗号鍵として、前記入出力手段(11)から受信したデー タ(平文)を暗号化して暗号文を再び前記入出力手段(11)に送信し、また、 前記入出力手段(11)から受信した暗号文を復号して平文を再び前記入出力手 段(11)に送信する。更に、前記秘密鍵入力手段(15)の前記キー(16) から入力したキーワードを秘密鍵として前記暗号鍵を暗号化した暗号化鍵を作成 し、前記暗号文と同様に前記暗号化鍵を前記入出力手段(11)に送信する。 本考案による装置を用いて、暗号文と暗号化鍵をワープロ又はその外部記憶媒体 に記憶させ、復号を行うときに、使用者が、自分だけが知っているキーワードを 入力して暗号化鍵を復号し更に暗号文を復号させることにより、ワープロ文書又 はその暗号文の管理を不要とすることが出来る。In the present embodiment, under the control of the control means (12), the input / output means (11) connected to a connector such as RS232C or Centronics mounted on the word processor is encrypted. At the time of encryption, the data to be encrypted is received from the word processor, transmitted to the encryption processing means (13), and the ciphertext and encryption key encrypted by the encryption processing means (13) are received to receive the connector. From the word processor to the word processor, and at the time of decryption, the ciphertext and the encryption key are received from the word processor, transmitted to the encryption processing means (13), and decrypted by the encryption processing means (13). Send the text (plain text) to the word processor. The encryption processing means (13) encrypts the data (plain text) received from the input / output means (11) by using the key generated by the key generation means (14) as an encryption key and inputs the ciphertext again. It transmits to the output means (11) and also decrypts the ciphertext received from the input / output means (11) and transmits the plaintext again to the input / output means (11). Further, an encryption key is created by encrypting the encryption key with the keyword input from the key (16) of the secret key input means (15) as a secret key, and the encryption key is stored in the same manner as the encrypted text. It transmits to the entry output means (11). When the device according to the present invention is used to store a ciphertext and an encryption key in a word processor or its external storage medium and perform decryption, the user inputs a keyword known only to himself to input the encryption key. By decrypting and further decrypting the ciphertext, it is not necessary to manage the word processing document or the ciphertext.
【0007】 前記暗号処理手段(13)に於ける暗号アルゴリズム(DES)の例を図2に 示す。本例では、平文(M=01001101)を12ビットの鍵(K=001 010000110)で暗号化する場合の例を示し、前記12ビットの鍵は、3 ビットずつに分け各段の鍵をK1,K2,K3,K4とする。ただし、第1段と 第3段の鍵K1とK3はこの3ビットの左に1を付けて4ビットとし、K2とK 4は左に0を付けて4ビットとする。 平文Mは、左半分L1=0100と右半分R1=1101に分けられ、R1は 、鍵K1と排他的論理和の演算が行われた後S箱の表に従って変換されL1と排 他的論理和の演算が行われた結果(1101)が第2段目の右半分R2となる。 第2段目の左半分L2には、第1段目の右半分R1がそのままおりてくる。以下 同様にして演算が行われ暗号文C=01111001が得られる。 同様にして復号では、暗号文に対し、本処理の順序を逆にして行うことで平文 を得ることが出来る。FIG. 2 shows an example of the encryption algorithm (DES) in the encryption processing means (13). In this example, a plaintext (M = 0100101101) is encrypted with a 12-bit key (K = 001 010000110), and the 12-bit key is divided into 3 bits and the keys at each stage are K1, Let them be K2, K3, and K4. However, for the keys K1 and K3 of the first and third stages, 1 is added to the left of these 3 bits to make 4 bits, and K2 and K 4 are made to be 4 bits by adding 0 to the left. The plaintext M is divided into a left half L1 = 0100 and a right half R1 = 1101, and R1 is converted according to the table of the S box after exclusive-OR operation with the key K1 and exclusive-OR with L1. The result (1101) of the above calculation is the right half R2 of the second stage. The right half R1 of the first stage remains in the left half L2 of the second stage. After that, the same calculation is performed to obtain the ciphertext C = 01111001. Similarly, in decryption, the plaintext can be obtained by reversing the order of this process for the ciphertext.
【0008】 前記鍵生成手段(14)に乱数生成器を使用した例を図3に示す。 本例は、4ビットのカウンタをシリアルに接続し、原始多項式F(x)=xp+ xq+1による擬似乱数発生回路と、暗号アルゴリズム(DES)を組み合わせ て構成したもので、前期カウンタによる擬似乱数発生回路から出力されてシフト レジスタに格納されたデータを前記暗号アルゴリズムに入力し、初期値を与えら れた前記暗号アルゴリズムがこれを暗号化して乱数を得ている。FIG. 3 shows an example in which a random number generator is used as the key generating means (14). In this example, a 4-bit counter is serially connected, and a pseudo random number generator circuit based on a primitive polynomial F (x) = x p + x q +1 and a cryptographic algorithm (DES) are combined. The data output from the pseudo random number generation circuit and stored in the shift register is input to the encryption algorithm, and the encryption algorithm given an initial value encrypts the data to obtain a random number.
【0009】 請求項(2)に記載の本考案による装置の一実施例を図4に示す。 (40)は本実施例に於ける装置を示し、(11)から(17)は図1と同じ で、(18)は記憶手段を示す。 本実施例は、図1の実施例に於ける装置(10)に前記記憶手段(18)を更 に具備して、暗号化時に、前記暗号化鍵を前記暗号文を特定する名前と共に又は 単独で前記記憶手段(18)に記憶させ、復号時に、復号を行う前記暗号文に対 応する前記暗号化鍵を前記記憶手段(18)から前記暗号処理手段(13)に入 力し、前記秘密鍵入力手段(15)から入力した秘密鍵を用いて復号を行い、復 号した鍵で前記暗号文を復号し平文を得ることが出来る。 本考案による装置を用いて、ワープロ又はワープロが管理する記憶媒体に暗号 文とそれを特定する名前(ファイル名)を記憶させ、本考案による装置に暗号化 鍵と前記名前を記憶させることにより、更に管理とその運用を容易にすることが 出来る。An embodiment of the device according to the present invention as set forth in claim (2) is shown in FIG. (40) shows the apparatus in this embodiment, (11) to (17) are the same as in FIG. 1, and (18) shows a storage means. In the present embodiment, the device (10) in the embodiment of FIG. 1 is further provided with the storage means (18), and at the time of encryption, the encryption key is used together with a name for specifying the ciphertext or independently. The encryption key corresponding to the ciphertext to be decrypted is stored in the storage means (18) from the storage means (18) to the encryption processing means (13) at the time of decryption, and the secret is stored. It is possible to obtain a plaintext by performing decryption using the secret key input from the key input means (15) and decrypting the ciphertext with the decrypted key. By using the device according to the present invention to store a ciphertext and a name (file name) for identifying the ciphertext in a word processor or a storage medium managed by the word processor, and storing the encryption key and the name in the device according to the present invention, Furthermore, management and its operation can be facilitated.
【0010】 請求項(3)に記載の本考案による装置の一実施例を図5に示す。 (50)は本実施例に於ける装置を示し、(11)から(17)は図1と同じ で、(19)は外部記憶装置の入出力手段を示す。 本実施例は、図1の実施例に於ける装置(10)に前記外部記憶装置の入出力 手段(19)を更に具備して、暗号化時に、前記暗号化鍵を前記外部記憶装置の 入出力手段(19)に接続した外部記憶装置に記憶させ、復号時に、復号を行う 前記暗号文に対応する前記暗号化鍵を前記外部記憶装置から前記外部記憶装置の 入出力手段(19)を介して前記暗号処理手段(13)に入力し、前記秘密鍵入 力手段(15)から入力した秘密鍵を用いて復号を行い、復号した鍵で前記暗号 文を復号し平文を得ることが出来る。 本考案による装置を用いて、ワープロ又はワープロが管理する記憶媒体に暗号 文を記憶させ、外部記憶装置に暗号化鍵を記憶させることにより、本考案による 装置の複数の使用者が、個別に暗号化鍵の管理を行うことが出来る。 ここで、外部記憶装置とはメモリカードやフロッピーディスク等の記憶手段を 有する装置を指し、その入出力手段とはそれらのインターフェイス回路を含めた コネクタやフロッピーディスクドライバ等を指す。An embodiment of the device according to the present invention as set forth in claim (3) is shown in FIG. (50) shows the device in this embodiment, (11) to (17) are the same as those in FIG. 1, and (19) shows the input / output means of the external storage device. In this embodiment, the device (10) in the embodiment of FIG. 1 is further provided with an input / output means (19) for the external storage device, and the encryption key is input to the external storage device at the time of encryption. The encryption key corresponding to the ciphertext is stored in an external storage device connected to the output means (19) and is decrypted at the time of decryption, from the external storage device via the input / output means (19) of the external storage device. It is possible to obtain a plaintext by inputting it to the encryption processing means (13), decrypting it using the secret key input from the secret key inputting means (15), and decrypting the ciphertext with the decrypted key. By using the device according to the present invention to store the ciphertext in a word processor or a storage medium managed by the word processor, and storing the encryption key in an external storage device, a plurality of users of the device according to the present invention can individually encrypt the encrypted data. It is possible to manage the activation key. Here, the external storage device refers to a device having storage means such as a memory card and a floppy disk, and the input / output means refers to a connector including those interface circuits, a floppy disk driver, and the like.
【0011】 請求項(4)に記載の本考案による装置の一実施例を図6に示す。 (60)は本実施例に於ける装置を示し、(11)と(13)から(17)は 図1と同じで、(20)と(21)はそれぞれ外部装置の入出力手段とメモリを 示し、(22)は制御手段を示す。 本実施例は、暗号処理手段及び/又は鍵生成手段及び/又は秘密鍵入力手段の 手順を外部装置に記憶させ、前記入出力手段(20)に接続された前記外部装置 から前記手順をメモリ(21)に入力し、前記メモリ(21)に記憶された手順 に従い前記制御手段(22)が本考案による装置の制御を行う。 本考案による装置と前記外部装置を用いることにより、種々の異なる手順によ る暗号文の記憶と管理を行うことが出来る。 ここで、外部装置とはメモリカードやフロッピーディスク等の記憶手段を有す る装置を指し、その入出力手段とはそれらのインターフェイス回路を含めたコネ クタやフロッピーディスクドライバ等を指す。An embodiment of the device according to the present invention as defined in claim (4) is shown in FIG. (60) shows the device in this embodiment, (11), (13) to (17) are the same as in FIG. 1, and (20) and (21) show the input / output means and the memory of the external device, respectively. (22) shows the control means. In this embodiment, the procedure of the encryption processing means and / or the key generation means and / or the secret key input means is stored in an external device, and the procedure is stored in the memory (the memory device) by the external device connected to the input / output means (20). 21) and the control means (22) controls the device according to the present invention according to the procedure stored in the memory (21). By using the device according to the present invention and the external device, ciphertexts can be stored and managed by various different procedures. Here, the external device refers to a device having storage means such as a memory card or a floppy disk, and the input / output means refers to a connector including those interface circuits, a floppy disk driver, or the like.
【0012】[0012]
本考案による装置をワープロのデータ入出力用コネクタと接続することにより 、ワープロで作成した文書データや図形データを、暗号化の鍵を意識すること無 く暗号化し、それらを暗号ファイルとして記憶させておくことが出来る。 また、本考案による装置に内蔵する記憶手段又は外部記憶手段に暗号化鍵を記 憶させることにより、その管理と運用が容易な秘匿性の高い暗号システムを実現 することが可能となる。 By connecting the device according to the present invention to the data input / output connector of the word processor, the document data and graphic data created by the word processor can be encrypted without paying attention to the encryption key and stored as an encrypted file. Can be set. Further, by storing the encryption key in the storage means or the external storage means built in the device according to the present invention, it is possible to realize a highly confidential encryption system that is easy to manage and operate.
【図1】本考案による装置の一実施例を示す図。FIG. 1 is a diagram showing an embodiment of an apparatus according to the present invention.
【図2】暗号アルゴリズム(DES)とS箱を示す図。FIG. 2 is a diagram showing an encryption algorithm (DES) and an S box.
【図3】乱数生成回路の一実施例を示す図。FIG. 3 is a diagram showing an embodiment of a random number generation circuit.
【図4】記憶手段を内蔵する本考案による装置の一実施
例を示す図。FIG. 4 is a diagram showing an embodiment of an apparatus according to the present invention having a built-in storage means.
【図5】外部記憶装置の入出力手段を有する本考案によ
る装置の一実施例を示す図。FIG. 5 is a diagram showing an embodiment of an apparatus according to the present invention having an input / output means of an external storage device.
【図6】制御手順を有する外部装置と接続させる本考案
による装置の一実施例を示す図。FIG. 6 is a diagram showing an embodiment of the device according to the present invention, which is connected to an external device having a control procedure.
10 本考案による装置 11 入出力手段 12 制御手段 13 暗号処理手段 14 鍵生成手段 15 秘密鍵入力手段 16 キー 17 制御線 18 記憶手段 19 外部記憶装置の入出力手段 20 外部装置の入出力手段 21 メモリ 22 制御手段 40 本考案による装置 50 本考案による装置 60 本考案による装置 S S箱 10 device according to the present invention 11 input / output means 12 control means 13 cryptographic processing means 14 key generation means 15 secret key input means 16 keys 17 control line 18 storage means 19 external storage device input / output means 20 external device input / output means 21 memory 22 Control means 40 Device according to the present invention 50 Device according to the present invention 60 Device according to the present invention SS Box
Claims (4)
続してデータの入出力を行う入出力手段と、暗号処理手
段と、鍵生成手段と、秘密鍵入力手段を具備し、前記暗
号処理手段が、前記鍵生成手段で生成させた鍵を用い
て、前記入出力手段から入力した前記ワープロのデータ
を暗号化して暗号データを作成、又は、前記暗号データ
を復号すると共に、前記鍵を、前記秘密鍵入力手段で入
力した秘密鍵で暗号化して暗号化鍵を作ることを特徴と
するワープロ用暗号装置。1. An input / output unit for inputting and outputting data by connecting to a data input / output connector of a word processor, an encryption processing unit, a key generation unit, and a secret key input unit, wherein the encryption processing unit is provided. Using the key generated by the key generation means, the word processor data input from the input / output means is encrypted to create encrypted data, or the encrypted data is decrypted and the key is stored as the secret. An encryption device for word processing, characterized in that an encryption key is created by encrypting with a secret key input by a key input means.
載の暗号データを特定する名前と請求項(1)に記載の
秘密鍵を、前記記憶手段に記憶させることを更に特徴と
する請求項(1)に記載のワープロ用暗号装置。2. The storage means is further provided, and the name for specifying the encrypted data according to claim 1 and the secret key according to claim 1 are stored in the storage means. The encryption device for word processing according to claim 1.
定する名前と秘密鍵を外部記憶装置に記憶させることを
更に特徴とする請求項(1)と(2)に記載のワープロ
用暗号装置。3. The word processor according to claim 1, further comprising storing a name for specifying the encrypted data and a secret key in an external storage device according to claim 2. Cryptographic device.
順及び/又は鍵生成手段の手順及び/又は秘密鍵入力手
段の手順を外部装置に具備することを更に特徴とする請
求項(1)から(3)に記載のワープロ用暗号装置。4. The external device is further provided with the procedure of the encryption processing means and / or the procedure of the key generation means and / or the procedure of the secret key input means according to claim 1. The cryptographic device for word processing according to 1) to 3).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP057053U JPH0725437U (en) | 1993-09-29 | 1993-09-29 | Cryptographic device for word processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP057053U JPH0725437U (en) | 1993-09-29 | 1993-09-29 | Cryptographic device for word processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0725437U true JPH0725437U (en) | 1995-05-12 |
Family
ID=13044708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP057053U Pending JPH0725437U (en) | 1993-09-29 | 1993-09-29 | Cryptographic device for word processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0725437U (en) |
-
1993
- 1993-09-29 JP JP057053U patent/JPH0725437U/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5144665A (en) | Cryptographic communication method and system | |
EP1081889A2 (en) | Extended key generator, encryption / decryption unit, extended key generation method, and storage medium | |
JP2001251287A (en) | Confidential transmitting method using hardware protection inside secret key and variable pass code | |
AU2004201807A1 (en) | Method and apparatus for the generation of public key based on a user-defined ID in a cryptosystem | |
JP2002185443A (en) | Private key management method | |
JP2005260614A (en) | Encryption device | |
JP2008098696A (en) | Encryption key management apparatus and encryption key management method | |
KR20070052233A (en) | Confidential information processing method, confidential information processing device, and content data playback device | |
JP2001111539A (en) | Cryptographic key generator and cryptographic key transmitting method | |
JPH10173646A (en) | Ciphering assisting method, decoding assisting method and device using them | |
WO2010041698A1 (en) | Name encryption device, device for converting into kana (japanese phonogram), name encryption method, and method for converting into kana | |
JPH0725437U (en) | Cryptographic device for word processor | |
JP2001177518A (en) | Enciphering method, and decoding method and device | |
JP5586758B1 (en) | Dynamic encryption key generation system | |
JPH0756507A (en) | Ciphering and deciphering device for data security protection device | |
JP2570136B2 (en) | Key generator | |
CN1722656B (en) | A digital signature method and digital signature tool | |
JPH0725436U (en) | File encryption method | |
JP2007521676A (en) | Generation and verification of Diffie-Hellman digital signatures | |
JP4287397B2 (en) | Ciphertext generation apparatus, ciphertext decryption apparatus, ciphertext generation program, and ciphertext decryption program | |
JP2008034938A (en) | Individual decryption key generating apparatus, individual decryption key generation method, program for the individual decryption key generating apparatus, electronic data decryption apparatus, program for the electronic data decryption apparatus, electronic data encryption/decryption system, and electronic data encryption system | |
JPH10222567A (en) | Information access controller and method | |
JPH09134124A (en) | Ciphering device and deciphering device | |
JPH08274769A (en) | Distribution system for symmetrical cipher key, and communication terminal | |
JP3013777B2 (en) | Cryptographic key generator based on cyclic operation |