CN106485168A - A kind of method whether being modified using MD5 value checking contract documents - Google Patents

A kind of method whether being modified using MD5 value checking contract documents Download PDF

Info

Publication number
CN106485168A
CN106485168A CN201610901310.XA CN201610901310A CN106485168A CN 106485168 A CN106485168 A CN 106485168A CN 201610901310 A CN201610901310 A CN 201610901310A CN 106485168 A CN106485168 A CN 106485168A
Authority
CN
China
Prior art keywords
contract
value
party
checking
block chain
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
CN201610901310.XA
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.)
Chengdu Zhidaochuangyu Information Technology Co Ltd
Original Assignee
Chengdu Zhidaochuangyu Information Technology 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 Chengdu Zhidaochuangyu Information Technology Co Ltd filed Critical Chengdu Zhidaochuangyu Information Technology Co Ltd
Priority to CN201610901310.XA priority Critical patent/CN106485168A/en
Publication of CN106485168A publication Critical patent/CN106485168A/en
Pending legal-status Critical Current

Links

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/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Storage Device Security (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of verify, using MD5 value, the method whether contract documents is modified, comprise the following steps:Generate the MD5 value of contract documents;Confirmed with private key signature by Party A, then confirmed by Party B's private key signature;The MD5 value of contract documents and signing messages are integrated into a complete information, and store in block chain;Inquire the corresponding record in block chain, obtain MD5 value and signing messages;Party A carries out public key verifications signature, if checking is not passed through, avoidance of contract;Or Party B carries out public key verifications signature, if checking is not passed through, avoidance of contract;If both sides' checking is all passed through, contract documents is generated again MD5 value, and contrasted with the MD5 value of storage in block chain, if contrast is equal, effectively, if checking is unequal, contract is invalid for contract.Using the inventive method, after electron contract, if there being one party that promise breaking and situation about recognizing of being unwilling, the effectiveness of the provable electronic contract of the method occur.

Description

A kind of method whether being modified using MD5 value checking contract documents
Technical field
The present invention relates to MD5 value application, verify what whether contract documents was modified particularly to a kind of using MD5 value Method.
Background technology
Electronic contract is easily tampered or forges, when contract dispute it is impossible to provide strong evidence that The verity of contract.In solving the problems, such as contract verity, need to solve Railway Project:1) whether file is tampered:To whole Individual file generated MD5 value, once after MD5 value generates, there is any modification in file, MD5 value all will change, by this side Method can determine whether file is tampered with.2) verity storing:Using the storage of block chain, because the disclosure of block chain and not The characteristic that can distort, information is existed in block chain will be by persistence, and it is impossible to realize block under existing technology Distorting it is possible to determine that once information is stored entrance block chain of chain, will not be deleted and change, verity can obtain To guarantee.3) how to determine that both sides' all adoption of contracts are effective:Using key signature, confirm that signature and contract are just raw through both sides Effect;The verity of private key signature can be confirmed when having objection by public key verifications.
Electronic document trusted timestamp, provides one by third party's time-stamping service center for e-file and can prove that electronics File content integrity and add a cover timestamp time an electronic certificate.Trusted timestamp is to be taken by authoritative trusted timestamp Sign and issue one of business center can prove that electronic message (e-file) is having existed, complete, can test in a time point Card, possess the electronic certificate of act of law, trusted timestamp is mainly used in e-file anti-tamper and deny afterwards, determines electric The correct time that subfile produces.Existing technology needs to complete by believable time-stamping service mechanism, and convenience is Shortcoming, and due to being the service that the third-party institution provides, there is certain hidden danger in terms of safety.
Relational language
Block chain:The data base of distributed decentration, has the characteristics that to change and delete.
Signature key:A pair of secret keys, is divided into private key and public key, and for signing and verifying, user uses private key signature, public key Checking, that is, with after private key signature, verifying with public key whether this signature is that this private key is signed.
Signature:By a kind of identity of private key signature.
File MD5 value:Draw the MD5 value of file by file is encrypted with algorithm, this value is made any in file All can change after modification.
Content of the invention
The technical problem to be solved be provide a kind of using MD5 value checking contract (or contract) file whether by , after electron contract, promise breaking and situation about recognizing of being unwilling if there are one party, the method can be demonstrate,proved in the method for modification The effectiveness of bright electronic contract.
For solving above-mentioned technical problem, the technical solution used in the present invention is:
A kind of method whether being modified using MD5 value checking contract documents, is comprised the following steps:
Step 1:Generate the MD5 value of contract documents;
Step 2:By Party A with private key signature confirm, then through Party B confirm errorless after confirmed with private key signature;
Step 3:The MD5 value of contract documents and signing messages are integrated into a complete information, and store block In chain, preserve the Record ID returning in block chain;
Step 4:Inquire the corresponding record in block chain, obtain MD5 value and signing messages;
Step 5:Party A carries out public key verifications signature, if checking is not passed through, avoidance of contract;Or Party B carries out public key verifications Signature, if checking is not passed through, avoidance of contract;
Step 6:If both sides checking all pass through, contract documents is generated MD5 value again, and with block chain in storage MD5 value contrasted, if contrast is equal, contract effectively, if verifying unequal, avoidance of contract.
Compared with prior art, the invention has the beneficial effects as follows:Using the inventive method, after electron contract, such as Fruit has one party promise breaking and situation about recognizing of being unwilling, the effectiveness of the provable electronic contract of the method.
Brief description
Fig. 1 is a kind of signing process of the method whether being modified using MD5 value checking contract documents of the present invention.
Fig. 2 is a kind of proof procedure of the method whether being modified using MD5 value checking contract documents of the present invention.
Specific embodiment
The present invention is further detailed explanation with reference to the accompanying drawings and detailed description.The invention mainly comprises closing With signing and storage:During digital contract signing, concluding parties determine treaty content and write file, then give birth to file Become MD5 value, first confirmed with private key signature by Party A, then through Party B confirm errorless after with private key signature confirmation, now will be through both sides One file MD5 value of signature is stored in block chain persistence, and contract documents then needs to protect on special file server Deposit.Contract verification:When both sides need the verity of contract is verified it is only necessary to the record being stored into block chain is found Come, both sides carry out signature verification with public key, and contract documents is generated again in MD5 value, with block chain very little MD5 value carry out right Than, if signature verification passes through and two MD5 values are equal, illustrate that contract documents does not truly occur any modification to play tricks, And confirm through both sides.
Details are as follows, comprises the following steps:
Step 1:Generate the MD5 value of contract documents;
Step 2:By Party A with private key signature confirm, then through Party B confirm errorless after confirmed with private key signature;
Step 3:The MD5 value of contract documents and signing messages are integrated into a complete information, and store block In chain, preserve the Record ID returning in block chain;
Step 4:Inquire the corresponding record in block chain, obtain MD5 value and signing messages;
Step 5:Party A carries out public key verifications signature, if checking is not passed through, avoidance of contract;Or Party B carries out public key verifications Signature, if checking is not passed through, avoidance of contract;
Step 6:If both sides checking all pass through, contract documents is generated MD5 value again, and with block chain in storage MD5 value contrasted, if contrast is equal, contract effectively, if verifying unequal, avoidance of contract.
In the present invention, after electron contract, if there are one party, promise breaking and situation about recognizing of being unwilling, the method occur The effectiveness of provable electronic contract.For example, both sides have signed the contract of online loaning bill, pass through to sign when signing a contract Name saves file MD5 value to block chain, and then Party B is reluctant to recognize that oneself having signed contract refusal refunds, now Zhi Xudao area Find the MD5 value of storage in block chain, carry out the checking with MD5 value of signing, if the verification passes, then explanation both sides sign really Order contract.

Claims (1)

1. a kind of method whether being modified using MD5 value checking contract documents is it is characterised in that comprise the following steps:
Step 1:Generate the MD5 value of contract documents;
Step 2:By Party A with private key signature confirm, then through Party B confirm errorless after confirmed with private key signature;
Step 3:The MD5 value of contract documents and signing messages are integrated into a complete information, and store in block chain, Preserve the Record ID returning in block chain;
Step 4:Inquire the corresponding record in block chain, obtain MD5 value and signing messages;
Step 5:Party A carries out public key verifications signature, if checking is not passed through, avoidance of contract;Or Party B carries out public key verifications label Name, if checking is not passed through, avoidance of contract;
Step 6:If both sides' checking is all passed through, contract documents is generated again MD5 value, and with block chain in store MD5 value is contrasted, if contrast is equal, effectively, if checking is unequal, contract is invalid for contract.
CN201610901310.XA 2016-10-17 2016-10-17 A kind of method whether being modified using MD5 value checking contract documents Pending CN106485168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610901310.XA CN106485168A (en) 2016-10-17 2016-10-17 A kind of method whether being modified using MD5 value checking contract documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610901310.XA CN106485168A (en) 2016-10-17 2016-10-17 A kind of method whether being modified using MD5 value checking contract documents

Publications (1)

Publication Number Publication Date
CN106485168A true CN106485168A (en) 2017-03-08

Family

ID=58270087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610901310.XA Pending CN106485168A (en) 2016-10-17 2016-10-17 A kind of method whether being modified using MD5 value checking contract documents

Country Status (1)

Country Link
CN (1) CN106485168A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107769922A (en) * 2017-10-31 2018-03-06 捷德(中国)信息科技有限公司 Block chain safety management system and method
CN108471510A (en) * 2018-01-29 2018-08-31 东莞理工学院 A kind of vision operation record protection method and system based on block chain
CN108540488A (en) * 2018-04-25 2018-09-14 济南浪潮高新科技投资发展有限公司 A kind of digital signature judicial expertise system and method based on block chain
WO2018201797A1 (en) * 2017-05-03 2018-11-08 上海点融信息科技有限责任公司 Block chain-based distributed storage
CN109145275A (en) * 2018-08-07 2019-01-04 广东工业大学 A kind of block chain electronic contract management and intelligent generating system and method
CN109491981A (en) * 2019-01-11 2019-03-19 珮金(上海)信息科技有限公司 File management method and device based on block chain
CN110309259A (en) * 2018-10-10 2019-10-08 腾讯科技(深圳)有限公司 Audit result data storage, querying method, audit item storage method and device
CN110351239A (en) * 2019-05-24 2019-10-18 平安普惠企业管理有限公司 It is a kind of based on the electronic contract storage method and device of block chain, electronic equipment
CN110362969A (en) * 2018-06-12 2019-10-22 腾讯科技(深圳)有限公司 A kind of resource rights check method, apparatus and equipment
CN110826092A (en) * 2018-08-14 2020-02-21 珠海金山办公软件有限公司 File signature processing system
CN110826091A (en) * 2018-08-14 2020-02-21 珠海金山办公软件有限公司 File signature method and device, electronic equipment and readable storage medium
CN110830256A (en) * 2018-08-14 2020-02-21 珠海金山办公软件有限公司 File signature method and device, electronic equipment and readable storage medium
CN111224788A (en) * 2020-04-21 2020-06-02 国网区块链科技(北京)有限公司 Electronic contract management method, device and system based on block chain
CN111431725A (en) * 2020-04-12 2020-07-17 中信银行股份有限公司 Method for signing, changing and verifying validity of electronic agreement in bank system, electronic agreement management system and readable storage medium
CN111756543A (en) * 2019-03-29 2020-10-09 区块科技股份有限公司 Contract signing and verifying system based on block chain and implementation method thereof
WO2021017350A1 (en) * 2019-07-26 2021-02-04 深圳壹账通智能科技有限公司 Bidding document management method and system, and computer readable storage medium
CN112615719A (en) * 2020-12-15 2021-04-06 平安消费金融有限公司 Decentralized online contract signing method, device, equipment and medium
CN115664852A (en) * 2022-12-14 2023-01-31 金钱猫科技股份有限公司 Data management method and system based on block chain technology
WO2023035477A1 (en) * 2021-09-10 2023-03-16 马治国 Blockchain-based method for document validation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320262A (en) * 2014-11-05 2015-01-28 中国科学院合肥物质科学研究院 User public key address binding, searching and verifying method and system based on crypto currency open account book technology
CN105608588A (en) * 2016-01-04 2016-05-25 布比(北京)网络技术有限公司 Tracing record processing method and apparatus
CN105610578A (en) * 2016-01-25 2016-05-25 杭州复杂美科技有限公司 Block chain information archiving and privacy protection method
US20160218879A1 (en) * 2015-01-23 2016-07-28 Daniel Robert Ferrin Method and apparatus for the limitation of the mining of blocks on a block chain
CN105959307A (en) * 2016-06-30 2016-09-21 中国科学院计算技术研究所 Existence certification and authentication service method and system based on block chain technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320262A (en) * 2014-11-05 2015-01-28 中国科学院合肥物质科学研究院 User public key address binding, searching and verifying method and system based on crypto currency open account book technology
US20160218879A1 (en) * 2015-01-23 2016-07-28 Daniel Robert Ferrin Method and apparatus for the limitation of the mining of blocks on a block chain
CN105608588A (en) * 2016-01-04 2016-05-25 布比(北京)网络技术有限公司 Tracing record processing method and apparatus
CN105610578A (en) * 2016-01-25 2016-05-25 杭州复杂美科技有限公司 Block chain information archiving and privacy protection method
CN105959307A (en) * 2016-06-30 2016-09-21 中国科学院计算技术研究所 Existence certification and authentication service method and system based on block chain technology

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018201797A1 (en) * 2017-05-03 2018-11-08 上海点融信息科技有限责任公司 Block chain-based distributed storage
CN107769922A (en) * 2017-10-31 2018-03-06 捷德(中国)信息科技有限公司 Block chain safety management system and method
CN108471510A (en) * 2018-01-29 2018-08-31 东莞理工学院 A kind of vision operation record protection method and system based on block chain
CN108540488A (en) * 2018-04-25 2018-09-14 济南浪潮高新科技投资发展有限公司 A kind of digital signature judicial expertise system and method based on block chain
CN108540488B (en) * 2018-04-25 2020-08-21 浪潮集团有限公司 Digital signature judicial identification system and method based on block chain
CN110362969A (en) * 2018-06-12 2019-10-22 腾讯科技(深圳)有限公司 A kind of resource rights check method, apparatus and equipment
CN109145275A (en) * 2018-08-07 2019-01-04 广东工业大学 A kind of block chain electronic contract management and intelligent generating system and method
CN110826091A (en) * 2018-08-14 2020-02-21 珠海金山办公软件有限公司 File signature method and device, electronic equipment and readable storage medium
CN110830256A (en) * 2018-08-14 2020-02-21 珠海金山办公软件有限公司 File signature method and device, electronic equipment and readable storage medium
CN110826092A (en) * 2018-08-14 2020-02-21 珠海金山办公软件有限公司 File signature processing system
CN110309259B (en) * 2018-10-10 2021-09-03 腾讯科技(深圳)有限公司 Audit result data storage and query methods, and audit item storage method and device
US11316669B2 (en) 2018-10-10 2022-04-26 Tencent Technology (Shenzhen) Company Limited Audit result data storage method and device, audit result data query method and device, and audit item storage method and device
US11700113B2 (en) 2018-10-10 2023-07-11 Tencent Technology (Shenzhen) Company Limited Audit result data storage method and device, audit result data query method and device, and audit item storage method and device
CN110309259A (en) * 2018-10-10 2019-10-08 腾讯科技(深圳)有限公司 Audit result data storage, querying method, audit item storage method and device
CN109491981A (en) * 2019-01-11 2019-03-19 珮金(上海)信息科技有限公司 File management method and device based on block chain
CN111756543A (en) * 2019-03-29 2020-10-09 区块科技股份有限公司 Contract signing and verifying system based on block chain and implementation method thereof
CN110351239B (en) * 2019-05-24 2022-01-25 平安普惠企业管理有限公司 Block chain-based electronic contract storage method and device and electronic equipment
CN110351239A (en) * 2019-05-24 2019-10-18 平安普惠企业管理有限公司 It is a kind of based on the electronic contract storage method and device of block chain, electronic equipment
WO2021017350A1 (en) * 2019-07-26 2021-02-04 深圳壹账通智能科技有限公司 Bidding document management method and system, and computer readable storage medium
CN111431725A (en) * 2020-04-12 2020-07-17 中信银行股份有限公司 Method for signing, changing and verifying validity of electronic agreement in bank system, electronic agreement management system and readable storage medium
CN111224788A (en) * 2020-04-21 2020-06-02 国网区块链科技(北京)有限公司 Electronic contract management method, device and system based on block chain
CN112615719A (en) * 2020-12-15 2021-04-06 平安消费金融有限公司 Decentralized online contract signing method, device, equipment and medium
CN112615719B (en) * 2020-12-15 2023-07-25 平安消费金融有限公司 Off-centering on-line contract signing method, device, equipment and medium
WO2023035477A1 (en) * 2021-09-10 2023-03-16 马治国 Blockchain-based method for document validation
CN115664852A (en) * 2022-12-14 2023-01-31 金钱猫科技股份有限公司 Data management method and system based on block chain technology
CN115664852B (en) * 2022-12-14 2023-05-23 金钱猫科技股份有限公司 Data management method and system based on block chain technology

Similar Documents

Publication Publication Date Title
CN106485168A (en) A kind of method whether being modified using MD5 value checking contract documents
CN106301782B (en) Electronic contract signing method and system
US20190190724A1 (en) System and method for verifying an identity of a user using a cryptographic challenge based on a cryptographic operation
CN107342867B (en) Signature verification method and device
US8924302B2 (en) System and method for electronic transmission, storage, retrieval and remote signing of authenticated electronic original documents
US10559049B2 (en) Digital passport country entry stamp
US20170180128A1 (en) Method for managing a trusted identity
US10423952B2 (en) Encapsulated security tokens for electronic transactions
CN109118223A (en) For managing the method, apparatus and medium of electronic data in block chain
CN105610578A (en) Block chain information archiving and privacy protection method
US20130132718A1 (en) System And Method For Long-Term Digital Signature Verification Utilizing Light Weight Digital Signatures
CN108768652A (en) It is a kind of can the attack of anti-quantum alliance's block chain bottom encryption method
CN105635070B (en) Anti-counterfeiting method and system for digital file
CN106713336B (en) Electronic data safeguard system and method based on double, asymmetrical encryption technology
CN109344635A (en) A kind of electronic evidence acquisition, preservation and verification method based on block chain
US20040143556A1 (en) Voice signature with strong binding
CN110046515A (en) A kind of electric endorsement method of the safety based on short-acting digital certificate
US11250423B2 (en) Encapsulated security tokens for electronic transactions
CN113824564A (en) Online signing method and system based on block chain
CN110417555A (en) A kind of safe encryption method and system of personal electric signature
CN101534296B (en) Public network information integrity and time point existence proof method and system
US11301823B2 (en) System and method for electronic deposit and authentication of original electronic information objects
CN108111311B (en) Method for realizing bank counter electronic signature based on state cryptographic algorithm
Skevington et al. Trusted third parties in electronic commerce
WO2021027982A1 (en) System and method for electronic signature creation and management for long-term archived documents

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170308

RJ01 Rejection of invention patent application after publication