CN112035864A - Double-encryption block chain intelligent contract system and method - Google Patents

Double-encryption block chain intelligent contract system and method Download PDF

Info

Publication number
CN112035864A
CN112035864A CN202010939132.6A CN202010939132A CN112035864A CN 112035864 A CN112035864 A CN 112035864A CN 202010939132 A CN202010939132 A CN 202010939132A CN 112035864 A CN112035864 A CN 112035864A
Authority
CN
China
Prior art keywords
contract
encryption
random number
key
encrypted
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
CN202010939132.6A
Other languages
Chinese (zh)
Inventor
张宝泉
方光武
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.)
SUZHOU INDUSTRIAL PARK LINKAGE SOFTWARE CO LTD
Original Assignee
SUZHOU INDUSTRIAL PARK LINKAGE SOFTWARE 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 SUZHOU INDUSTRIAL PARK LINKAGE SOFTWARE CO LTD filed Critical SUZHOU INDUSTRIAL PARK LINKAGE SOFTWARE CO LTD
Priority to CN202010939132.6A priority Critical patent/CN112035864A/en
Publication of CN112035864A publication Critical patent/CN112035864A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a double-encryption block chain intelligent contract system and a method, comprising the following steps: the system comprises a contract node, a first contract, a random number module, a first encryption module, a second encryption module, a third encryption module and a block chaining contract system; the contract node is used for generating a public key and a private key of the contract node account; the contract node is further configured to transmit the public key to the blockchain contract system; the random number module is used for providing a random number and transmitting the random number to the second encryption module and the third encryption module; the third encryption module is used for taking the random number as a second AES256 key and encrypting the first contract by using the AES256 key to generate a first encryption contract; the double-encryption block chain intelligent contract system and the double-encryption block chain intelligent contract method can realize double-encryption protection of contract contents, and effectively prevent the loss and the falsification of the contract by combining the distributed and safe characteristics of the block chain.

Description

Double-encryption block chain intelligent contract system and method
Technical Field
The invention relates to the field of block chains, in particular to a double-encryption block chain intelligent contract system and a double-encryption block chain intelligent contract method.
Background
At present, traditional contracts are all paper contracts, various costs such as consumed paper, printing ink, express delivery, storage and manpower are high, the traditional contracts are not environment-friendly, the traditional contracts are inconvenient to carry out signing or mailing, query and modification operations are inconvenient, the traditional contracts are managed manually again, and contract data loss and secret leakage risks caused by natural or artificial factors exist. If the contract content is stored on the network and the contract is signed and edited in the form of the network, if the plaintext is directly used for centralized storage, the contract content and the personal information are possibly leaked due to the attack of the server, and the huge risk of losing and tampering the contract content exists. Therefore, it is highly desirable to apply a blockchain technique to store encrypted contract content in a blockchain, so that only contract-related personnel can view and modify the encrypted contract content, and the property of a blockchain distributed ledger is utilized to ensure that the contract is not lost.
Aiming at the problems in the prior art, the system and the method for providing the double-encryption block chain intelligent contract have important significance.
Disclosure of Invention
In order to solve the above problems, the present invention provides a dual-encryption intelligent contract system and method for a block chain.
In order to achieve the purpose, the invention provides a double-encryption block chain intelligent contract system; the method comprises the following steps: the system comprises a contract node, a first contract, a random number module, a first encryption module, a second encryption module, a third encryption module and a block chaining contract system; the contract node is used for generating a public key and a private key of the contract node account; the first encryption module is used for taking the private key as a first AES256 key, encrypting the private key by using AES256 and generating an encrypted private key; and transmitting the encrypted private key to the block chaining contract system; the contract node is further configured to transmit the public key to the blockchain contract system; the random number module is used for providing a random number and transmitting the random number to the second encryption module and the third encryption module; the second encryption module is used for acquiring the public key from the block chain contract system, encrypting the random number by using the public key to generate an encrypted random number and transmitting the encrypted random number to the block chain contract system; the third encryption module is used for taking the random number as a second AES256 key and encrypting the first contract by using the AES256 key to generate a first encryption contract; and transmitting the first encryption contract, the second AES256 encryption key, to the block chaining system.
Further, the contract node is also used for acquiring the first encryption contract, the encryption private key and the encryption random number from the block chain contract system; recovering the encrypted private key by using the first AES256 key to generate the private key; decrypting the encrypted random number by using the private key to obtain the random number; recovering the first encryption contract by using the random number as the second AES256 key to obtain the first contract;
further, the contract node is further configured to edit the first contract, generate a second contract, and transmit the second contract to the third encryption module; the third encryption module is further configured to use the random number as a second AES256 key, and encrypt the second contract with AES256 to generate a second encrypted contract; and transmitting the second encryption contract, a second AES256 encryption key, to the block chaining contract system;
further, the contract node is also used for signature confirmation of the first contract;
the invention also provides a double-encryption intelligent contract method for the block chain, which specifically comprises the following steps: using a private key as a first AES256 key, and encrypting the private key by using AES256 to generate an encrypted private key; transmitting the encrypted private key to a block chaining contract system; transmitting a public key to the block chaining contract system;
the invention also provides a double-encryption intelligent contract method for the block chain, which specifically comprises the following steps: outputting a random number; acquiring a public key from a block chain contract system, and encrypting the random number by using the public key to generate an encrypted random number; transmitting the encrypted random number into the block chaining contract system; taking the random number as a second AES256 key, and encrypting the first contract by using the AES256 key to generate a first encryption contract; transmitting the first cryptographic contract into the blockchain contract system;
the invention also provides a double-encryption intelligent contract method for the block chain, which specifically comprises the following steps: acquiring a first encryption contract, an encryption private key and an encryption random number from a block chaining contract system; recovering the encrypted private key by using a first AES256 key to generate a private key; decrypting the encrypted random number by using the private key to obtain a random number; recovering the first encryption contract by using the random number as a second AES256 key to obtain a first contract;
further, after the random number is used as a second AES256 key to recover the first encrypted contract and obtain the first contract, the method further includes the following steps: editing the first contract to generate a second contract; taking the random number as a second AES256 key, and encrypting the second contract by using the AES256 key to generate a second encryption contract; transmitting the second cryptographic contract into the blockchain contract system;
further, after the random number is used as a second AES256 key to recover the first encrypted contract and obtain the first contract, the method further includes the following steps: performing signature validation on the first contract; and if all contract nodes finish signature confirmation, the first contract takes effect.
The invention relates to a double-encryption block chain intelligent contract system and a double-encryption block chain intelligent contract method. The contract content and the additional clauses comprise basic information and additional clause information in a traditional contract and signature information and time information of an associated person, contract associated users can be confirmed to sign the contract at first during contract making, each contract associated user stores own private key information, the contract content is encrypted by adopting a block chain algorithm and adding an RSA digital signature algorithm, therefore, only a designated user uses own private key for decryption during contract making to check the contract, and when the contract is modified and the additional clauses are added, the user initiating modification confirms that the content is modified well at first and obtains signature agreement of the contract associated owner and then the modification is effective. Contract failure also requires the signature agreement of all contract-associated users to be effective, thereby achieving the authority control of the contract. The double encryption protection of the contract content is realized, and the loss and the falsification of the contract are effectively prevented by combining the distributed and safe characteristics of the block chain.
Drawings
Fig. 1 is a schematic structural diagram of a double-encrypted blockchain intelligent contract system according to the present invention;
FIG. 2 is a first flowchart of a double-encrypted blockchain intelligent contract method according to the present invention;
FIG. 3 is a second flowchart of the double-encrypted blockchain intelligent contract method according to the present invention;
fig. 4 is a third flow chart of the double-encryption block chain intelligent contract method according to the present invention.
Detailed Description
The structure, operation, and the like of the present invention will be further described with reference to the accompanying drawings.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a dual-encryption blockchain intelligent contract system according to the present invention, including: the system comprises a contract node, a first contract, a random number module, a first encryption module, a second encryption module, a third encryption module and a block chaining contract system; the contract node is used for generating a public key and a private key of the contract node account; in a preferred embodiment of the present invention, the contract node is specifically an account system of the dual-encrypted blockchain intelligent contract system, and each user represents a contract node and registers/generates a separate account on the system before specifically using the dual-encrypted blockchain intelligent contract system, where the separate account includes information of a public key and a private key of the contract node;
the first encryption module is used for taking the private key as a first AES256 key, encrypting the private key by using AES256 and generating an encrypted private key; and transmitting the encrypted private key to the block chaining contract system; the contract node is further configured to transmit the public key to the blockchain contract system; the random number module is used for providing a random number and transmitting the random number to the second encryption module and the third encryption module; the second encryption module is used for acquiring the public key from the block chain contract system, encrypting the random number by using the public key to generate an encrypted random number and transmitting the encrypted random number to the block chain contract system; the third encryption module is used for taking the random number as a second AES256 key and encrypting the first contract by using the AES256 key to generate a first encryption contract; and transmitting the first encryption contract, the second AES256 encryption key, to the block chaining system. In a preferred embodiment of the present invention, the block chaining Contract system is a Smart container block chaining Contract system.
The contract node is further used for acquiring the first encryption contract, the encryption private key and the encryption random number from the block chain contract system; recovering the encrypted private key by using the first AES256 key to generate the private key; decrypting the encrypted random number by using the private key to obtain the random number; and using the random number as the second AES256 key to recover the first encryption contract to obtain the first contract.
The contract node is also used for editing the first contract, generating a second contract and transmitting the second contract to the third encryption module; the contract node is further configured to perform signature validation on the first contract. In a preferred embodiment of the present invention, the editing of the first contract is specifically editing of deleting, modifying, and the like the content of the contract.
As shown in fig. 2, fig. 2 is a schematic flow chart of the double-encryption block chain intelligent contract method of the present invention, and the method specifically includes the following steps:
s101, using a private key as a first AES256 key, and encrypting the private key by using the AES256 key to generate an encrypted private key;
s102, transmitting the encrypted private key to a block chaining and contracting system;
s103 transmits a public key to the block chaining contract system.
As shown in fig. 3, fig. 3 is a second flow chart of the double-encryption intelligent block chain contract method of the present invention, and the method specifically includes the following steps:
s201, outputting a random number;
s202, a public key is obtained from the block chain contract system, and the public key is used for encrypting the random number to generate an encrypted random number;
s203, transmitting the encrypted random number to the block chaining contract system;
s204, the random number is used as a second AES256 key, and the first contract is encrypted by the AES256 key to generate a first encryption contract;
s205 transmits the first encryption contract to the block chaining contract system.
As shown in fig. 4, fig. 4 is a third flow chart of the double-encryption block chain intelligent contract method of the present invention, and the method specifically includes the following steps:
s301, acquiring a first encryption contract, an encryption private key and an encryption random number from the block chaining contract system;
s302, recovering the encrypted private key by using a first AES256 key to generate a private key;
s303, decrypting the encrypted random number by using the private key to obtain a random number;
s304, the random number is used as a second AES256 key to restore the first encryption contract to obtain a first contract;
s305, editing the first contract to generate a second contract;
s306, the random number is used as a second AES256 key, and the second contract is encrypted by the AES256 key to generate a second encryption contract;
s307 transmits the second encryption contract to the block chaining contract system.
In a first embodiment of the present invention, the dual-encrypted blockchain intelligent contract system includes a contract node a, a contract node B, a contract node C, a first encryption module, and a blockchain contract system; the contract node A, the contract node B and the contract node C are prepared to sign a contract: "contract number 1"; the Contract node A registers on the Smart Contract system and generates a public key A and a private key A of the account of the Contract node A; the Contract node B registers on the Smart Contract system and generates a public key B and a private key B of the account of the Contract node B; the Contract node C registers on the Smart Contract system and generates a public key C and a private key C of the account of the Contract node C;
firstly, the contract node a, the contract node B and the contract node C need to upload account information of three parties to the dual-encrypted blockchain intelligent contract system: in Smart Contract System; the method comprises the following steps:
the first encryption module uses a private key A of the contract node A as a first AES256 key of the contract node A, and encrypts the private key A by using AES256 to generate an encrypted private key A; the first encryption module uses a private key B of the contract node B as a first AES256 key of the contract node B, and encrypts the private key B by using AES256 to generate an encrypted private key B; the first encryption module uses a private key C of the contract node C as a first AES256 key of the contract node C, and encrypts the private key C by using AES256 to generate an encrypted private key C;
transmitting the encryption private key A, the encryption private key B and the encryption private key C to a block chaining contract system;
transmitting the public key A, the public key B and the public key C to the block chaining contract system.
The dual encrypted blockchain intelligent contract system further comprises a first contract: contract number 1, random number module, second encryption module and third encryption module;
then, uploading the Contract No. 1 to the Smart Contract system; the method comprises the following steps:
the random number module outputs a random number "123456";
the second encryption module acquires a public key A, a public key B and a public key C from the block chain contract system, and encrypts the random number '123456' by using the public key A, the public key B and the public key C respectively to generate a corresponding encrypted random number A, an encrypted random number B and an encrypted random number C;
transmitting the encrypted random number A, the encrypted random number B and the encrypted random number C to the Smart Contract system;
the third encryption module takes the random number '123456' as a second AES256 key, and encrypts the 'contract No. 1' by using the AES256 to generate an 'encrypted contract No. 1';
and the third encryption module transmits the encryption Contract number 1 to the Smart Contract system.
When the contract node a, the contract node B and the contract node C are ready to sign a contract: when the Contract number 1 is required, the Contract number 1 is acquired from the Smart Contract system, then the Contract number 1 is signed after the Contract number 1 is read, and the signed Contract number 1 is uploaded to a block chain, wherein the method comprises the following steps:
the Contract node A, the Contract node B and the Contract node C respectively acquire an encryption Contract number 1, the encryption private key A, the encryption private key B, the encryption private key C, the encryption random number A, the encryption random number B and the encryption random number C from a Smart Contract system;
the contract node A recovers the encrypted private key A by using a first AES256 key of the contract node A to generate a private key A; the contract node B recovers the encrypted private key B by using a first AES256 key of the contract node B to generate a private key B; the contract node C recovers the encrypted private key C by using a first AES256 key of the contract node C to generate a private key C;
the contract node A decrypts the encrypted random A number by using the private key A to obtain a random number '123456'; the contract node B decrypts the encrypted random B number by using the private key B to obtain a random number '123456'; the contract node C decrypts the encrypted random C number by using the private key C to obtain a random number '123456';
the contract node A uses the random number '123456' as a second AES256 key to recover the 'encrypted contract No. 1', and obtains a 'contract No. 1'; the contract node B uses the random number '123456' as a second AES256 key to recover the 'encrypted contract No. 1', and obtains a 'contract No. 1'; the contract node C uses the random number '123456' as a second AES256 key to recover the 'encrypted contract No. 1', and obtains a 'contract No. 1';
the contract node A reads the contract No. 1, signs if agreeing with the contract content, and generates a signed contract No. 1; similarly, the contract node B also reads "contract No. 1", signs if agreeing with the contract content, and generates "signed contract No. 1"; the contract node C also reads contract No. 1, signs if agreeing to the contract content, and generates signed contract No. 1;
the third encryption module takes the random number '123456' as a second AES256 key, and encrypts the 'signed contract No. 1' by using the AES256 to generate 'encrypted and signed contract No. 1';
and the third encryption module transmits the encrypted and signed contract No. 1 to the block chain contract system to complete all steps of signing the contract No. 1 by the contract node A, the contract node B and the contract node C.
In the second embodiment of the present invention, the dual-encrypted blockchain intelligent contract system includes a contract node a, a contract node B, a contract node C, a first encryption module, and a blockchain contract system; the contract node A, the contract node B and the contract node C sign a contract: "contract number 1"; but the contract node a prepares to draft the signed contract No. 1 again and confirms the drafted contract to each node, and the steps are as follows:
the Contract node A acquires an encryption Contract number 1, the encryption private key A and the encryption random number A from a Smart Contract system;
the contract node A decrypts the encrypted random A number by using the private key A to obtain a random number '123456';
the contract node A uses the random number '123456' as a second AES256 key to recover the 'encrypted contract No. 1', and obtains a 'contract No. 1';
the contract node A modifies and draws up the contract No. 1 again and generates a new contract No. 1;
the third encryption module takes the random number '123456' as a second AES256 key, and encrypts the 'new contract No. 1' by using the AES256 to generate an 'encrypted new contract No. 1'; the third encryption module transmits the encrypted new contract number 1 to the block chaining contract system: in Smart Contract System;
at the moment, the Contract node A uploads the modified 'new Contract No. 1' to the Smart Contract system, and the Contract node B and the Contract node C acquire and consult the modified 'new Contract No. 1' from the Smart Contract system;
the Contract node B acquires an encrypted new Contract number 1, the encrypted private key B and the encrypted random number B from a Smart Contract system; the Contract node C acquires an encrypted new Contract number 1, the encrypted private key C and the encrypted random number C from a Smart Contract system;
the contract node B decrypts the encrypted random B number by using the private key B to obtain a random number '123456'; the contract node C decrypts the encrypted random C number by using the private key C to obtain a random number '123456';
the contract node B uses the random number '123456' as a second AES256 key to recover the 'encrypted new contract No. 1', and obtains a 'new contract No. 1'; the contract node C uses the random number '123456' as a second AES256 key to recover the 'encrypted new contract No. 1', and obtains a 'new contract No. 1';
the contract node B and the contract node C respectively look up the new contract No. 1, and if the contract node B and the contract node C agree, the contract node B and the contract node C respectively carry out signature confirmation on the new contract No. 1; and generates "signed new contract number 1";
the third encryption module takes the random number '123456' as a second AES256 key, and encrypts the 'signed new contract No. 1' by using the AES256 to generate 'encrypted and signed new contract No. 1'; transmitting the encrypted and signed new contract No. 1 to the block chain contract system, wherein if all nodes complete signature confirmation on the new contract No. 1, the contract takes effect;
in a third embodiment of the present invention, the contract node a, the contract node B, and the contract node C sign a contract with three nodes: "contract number 1"; if the contract node A wants to inquire the content of the contract No. 1 at this time, the method comprises the following steps:
the Contract node A acquires an encryption Contract number 1, the encryption private key A and the encryption random number A from a Smart Contract system;
the contract node A decrypts the encrypted random A number by using the private key A to obtain a random number '123456';
the contract node A uses the random number '123456' as a second AES256 key to recover the 'encrypted contract No. 1', and obtains a 'contract No. 1';
the contract node a refers to "contract No. 1".
In the fourth embodiment of the present invention, the contract node a, the contract node B and the contract node C have signed a contract with three nodes: "contract number 1"; if the contract node A wants to invalidate the contract No. 1 at this time, i.e. to invalidate the contract No. 1, the method comprises the following steps:
the Contract node A acquires an encryption Contract number 1, the encryption private key A and the encryption random number A from a Smart Contract system;
the contract node A decrypts the encrypted random A number by using the private key A to obtain a random number '123456';
the contract node A uses the random number '123456' as a second AES256 key to recover the 'encrypted contract No. 1', and obtains a 'contract No. 1';
the contract node A signs a failure statement on the contract No. 1, takes the random number '123456' as a second AES256 key, and encrypts the 'failure contract No. 1 information' by the AES256 to generate 'encrypted failure contract No. 1 information'; the third encryption module transmits the information of the encryption failure contract No. 1 to the block chaining contract system: in Smart Contract System;
the contract node B decrypts the encrypted random B number by using the private key B to obtain a random number '123456'; the contract node C decrypts the encrypted random C number by using the private key C to obtain a random number '123456';
the contract node B uses the random number '123456' as a second AES256 key to recover the 'encrypted failure contract No. 1 information' to obtain 'failure contract No. 1 information'; the contract node C uses the random number '123456' as a second AES256 key to recover the 'encrypted failure contract No. 1 information' to obtain 'failure contract No. 1 information';
the Contract node B and the Contract node C respectively consult the 'failure Contract No. 1 information', if the contracts are agreed to be failed, the 'failure Contract No. 1 information' is confirmed, and the confirmed 'failure Contract No. 1 information' is uploaded to a Smart Contract system; the Smart Contract system takes the Contract No. 1 as failure processing; and completing all the steps of invalidation and invalidation of the contract No. 1 by the contract node A.
The foregoing is merely illustrative of the present invention, and it will be appreciated by those skilled in the art that various modifications may be made without departing from the principles of the invention, and the scope of the invention is to be determined accordingly.

Claims (9)

1. A dual encrypted blockchain intelligent contract system, comprising: the system comprises a contract node, a first contract, a random number module, a first encryption module, a second encryption module, a third encryption module and a block chaining contract system;
the contract node is used for generating a public key and a private key of the contract node account;
the first encryption module is used for taking the private key as a first AES256 key, encrypting the private key by using AES256 and generating an encrypted private key; and transmitting the encrypted private key to the block chaining contract system;
the contract node is further configured to transmit the public key to the blockchain contract system;
the random number module is used for providing a random number and transmitting the random number to the second encryption module and the third encryption module;
the second encryption module is used for acquiring the public key from the block chain contract system, encrypting the random number by using the public key to generate an encrypted random number and transmitting the encrypted random number to the block chain contract system;
the third encryption module is used for taking the random number as a second AES256 key and encrypting the first contract by using the AES256 key to generate a first encryption contract; and transmitting the first encryption contract, the second AES256 encryption key, to the block chaining system.
2. The dual-encrypted blockchain intelligent contract system of claim 1, wherein the contract node is further configured to obtain the first encrypted contract, the encrypted private key, and the encrypted random number from the blockchain contract system; recovering the encrypted private key by using the first AES256 key to generate the private key; decrypting the encrypted random number by using the private key to obtain the random number; and using the random number as the second AES256 key to recover the first encryption contract to obtain the first contract.
3. The dual-encrypted blockchain intelligent contract system of claim 1, wherein the contract node is further configured to edit the first contract, generate a second contract, and transmit the second contract to the third encryption module;
the third encryption module is further configured to use the random number as a second AES256 key, and encrypt the second contract with AES256 to generate a second encrypted contract; and transmitting the second encryption contract, a second AES256 encryption key, to the block chaining system.
4. The dual-encrypted blockchain intelligent contract system of claim 1, wherein the contract node is further configured to sign-validate the first contract.
5. A double-encryption intelligent contract method for a block chain is characterized by comprising the following steps:
using a private key as a first AES256 key, and encrypting the private key by using AES256 to generate an encrypted private key;
transmitting the encrypted private key to a block chaining contract system;
transmitting a public key to the block chaining system.
6. A double-encryption intelligent contract method for a block chain is characterized by comprising the following steps:
outputting a random number;
acquiring a public key from a block chain contract system, and encrypting the random number by using the public key to generate an encrypted random number;
transmitting the encrypted random number into the block chaining contract system;
taking the random number as a second AES256 key, and encrypting the first contract by using the AES256 key to generate a first encryption contract;
transmitting the first encryption contract into the blockchain contract system.
7. A double-encryption intelligent contract method for a block chain is characterized by comprising the following steps:
acquiring a first encryption contract, an encryption private key and an encryption random number from a block chaining contract system;
recovering the encrypted private key by using a first AES256 key to generate a private key;
decrypting the encrypted random number by using the private key to obtain a random number;
and recovering the first encryption contract by using the random number as a second AES256 key to obtain the first contract.
8. The method of double-encrypted block-chain intelligent contract according to claim 7, wherein recovering the first encrypted contract using the random number as a second AES256 key further comprises, after obtaining the first contract:
editing the first contract to generate a second contract;
taking the random number as a second AES256 key, and encrypting the second contract by using the AES256 key to generate a second encryption contract;
transmitting the second encryption contract into the blockchain contract system.
9. The method of double-encrypted block-chain intelligent contract according to claim 7, wherein recovering the first encrypted contract using the random number as a second AES256 key further comprises, after obtaining the first contract:
performing signature validation on the first contract;
and if all contract nodes finish signature confirmation, the first contract takes effect.
CN202010939132.6A 2020-09-09 2020-09-09 Double-encryption block chain intelligent contract system and method Pending CN112035864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010939132.6A CN112035864A (en) 2020-09-09 2020-09-09 Double-encryption block chain intelligent contract system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010939132.6A CN112035864A (en) 2020-09-09 2020-09-09 Double-encryption block chain intelligent contract system and method

Publications (1)

Publication Number Publication Date
CN112035864A true CN112035864A (en) 2020-12-04

Family

ID=73585100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010939132.6A Pending CN112035864A (en) 2020-09-09 2020-09-09 Double-encryption block chain intelligent contract system and method

Country Status (1)

Country Link
CN (1) CN112035864A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109377198A (en) * 2018-12-24 2019-02-22 上海金融期货信息技术有限公司 A kind of signing system known together in many ways based on alliance's chain
CN110601816A (en) * 2019-09-18 2019-12-20 腾讯科技(深圳)有限公司 Lightweight node control method and device in block chain system
CN110941857A (en) * 2019-12-12 2020-03-31 合肥都市链情商务有限公司 Privacy management system and method of block chain intelligent contract platform
CN111262852A (en) * 2020-01-14 2020-06-09 杭州趣链科技有限公司 Business card signing and issuing method and system based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109377198A (en) * 2018-12-24 2019-02-22 上海金融期货信息技术有限公司 A kind of signing system known together in many ways based on alliance's chain
CN110601816A (en) * 2019-09-18 2019-12-20 腾讯科技(深圳)有限公司 Lightweight node control method and device in block chain system
CN110941857A (en) * 2019-12-12 2020-03-31 合肥都市链情商务有限公司 Privacy management system and method of block chain intelligent contract platform
CN111262852A (en) * 2020-01-14 2020-06-09 杭州趣链科技有限公司 Business card signing and issuing method and system based on block chain

Similar Documents

Publication Publication Date Title
CN105681031B (en) A kind of storage encryption gateway key management system and method
CN103457733B (en) A kind of cloud computing environment data sharing method and system
CN110096901B (en) Electronic contract data encryption storage method and signing client
CN113364760A (en) Data encryption processing method and device, computer equipment and storage medium
CN105100083B (en) A kind of secret protection and support user's revocation based on encryption attribute method and system
CN105072107A (en) System and method for enhancing data transmission and storage security
CN105245328A (en) User and file key generation and management method based on third party
CN104243149B (en) Encrypt and Decrypt method, device and server
CN104158880B (en) User-end cloud data sharing solution
CN102291418A (en) Method for realizing cloud computing security architecture
CN103457932B (en) A kind of cloud computing environment secure storage method of data and system
CN106850190A (en) It is a kind of to the destroying method based on block chain digital certificate
CN107070660A (en) A kind of design Storage method of block chain encrypted radio-frequency chip
CN106254342A (en) The secure cloud storage method of file encryption is supported under Android platform
CN103546547A (en) Cryptosystem for cloud storage files
CN112055022A (en) High-efficiency and high-security network file transmission double encryption method
CN103580868A (en) Secure transmission method of electronic official document secure transmission system
CN113824551B (en) Quantum key distribution method applied to secure storage system
CN112382376A (en) Medical instrument management tracing system based on block chain
JP2002185443A (en) Secret key managing system
CN103607273A (en) Data file encryption and decryption method based on time limit control
CN104794243B (en) Third party's cipher text retrieval method based on filename
CN102004873B (en) Method for restoring encrypted information in encryption card
JPH0969831A (en) Cipher communication system
CN109302400B (en) Asset password exporting method for operation and maintenance auditing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination