CN113343254B - Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format - Google Patents

Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format Download PDF

Info

Publication number
CN113343254B
CN113343254B CN202110599077.5A CN202110599077A CN113343254B CN 113343254 B CN113343254 B CN 113343254B CN 202110599077 A CN202110599077 A CN 202110599077A CN 113343254 B CN113343254 B CN 113343254B
Authority
CN
China
Prior art keywords
ofd
format
warranty
ciphertext
guaranty
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.)
Active
Application number
CN202110599077.5A
Other languages
Chinese (zh)
Other versions
CN113343254A (en
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.)
Guotai Epoint Software Co Ltd
Original Assignee
Guotai Epoint 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 Guotai Epoint Software Co Ltd filed Critical Guotai Epoint Software Co Ltd
Priority to CN202110599077.5A priority Critical patent/CN113343254B/en
Publication of CN113343254A publication Critical patent/CN113343254A/en
Application granted granted Critical
Publication of CN113343254B publication Critical patent/CN113343254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/08Auctions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • 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/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • H04L9/3066Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy involving algebraic varieties, e.g. elliptic or hyper-elliptic curves

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Accounting & Taxation (AREA)
  • Computing Systems (AREA)
  • Finance (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Pure & Applied Mathematics (AREA)
  • Algebra (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Mathematical Optimization (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Mathematical Analysis (AREA)
  • Bioethics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Storage Device Security (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the application discloses a method, a device, a medium and electronic equipment for encrypting and decrypting a warranty based on an OFD format. The method is applied to an electronic transaction bidding system, and comprises the following steps: acquiring an insurance application file; encrypting the warranty application file by using a preset encryption algorithm to generate an OFD format ciphertext warranty; if the label opening operation is detected, acquiring a warranty decryption request to obtain a decryption key; decrypting the OFD format ciphertext guaranty according to the decryption key to obtain an OFD format plaintext guaranty; and combining the OFD format ciphertext warranty and the OFD format plaintext warranty through the OFD encryption component to generate a target warranty. According to the technical scheme, the OFD format ciphertext guarantor and the OFD format plaintext guarantor are combined to generate the target guarantor, so that the working efficiency of workers can be improved, and the safety of guarantor files can be improved.

Description

Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format
Technical Field
The embodiment of the application relates to the technical field of electronic bidding, in particular to a method, a device, a medium and electronic equipment for encrypting and decrypting a warranty based on an OFD format.
Background
The file format currently used in electronic transaction bidding systems and financial services support platforms is commonly PDF format files.
In the application process of the electronic bidding warranty, a PDF ciphertext warranty is generated before bidding, namely, project information and bidding person information are encrypted. After the label is opened, a PDF plaintext warranty is regenerated, so that sensitive information such as a label-calling person, a project and the like is prevented from leaking before the label is opened.
The scheme is equivalent to that the scheme is based on PDF format files in the bidding process, and potential safety hazards exist for confidentiality of information resources.
Disclosure of Invention
The embodiment of the application provides a method, a device, a medium and electronic equipment for encrypting and decrypting a warranty based on an OFD format, which are used for combining an OFD format ciphertext warranty and an OFD format plaintext warranty to generate a target warranty, so that the working efficiency of staff can be improved, and the safety of a warranty file can be improved.
In a first aspect, an embodiment of the present application provides an method for encrypting and decrypting an warranty based on an OFD format, where the method includes:
acquiring an insurance application file;
encrypting the warranty application file by using a preset encryption algorithm to generate an OFD format ciphertext warranty;
if the label opening operation is detected, acquiring a warranty decryption request to obtain a decryption key;
decrypting the OFD format ciphertext guaranty according to the decryption key to obtain an OFD format plaintext guaranty;
and combining the OFD format ciphertext warranty and the OFD format plaintext warranty through the OFD encryption component to generate a target warranty.
In a second aspect, an embodiment of the present application provides an apparatus for encrypting and decrypting a warranty based on an OFD format, where the apparatus includes:
the warrant application file acquisition module is used for acquiring the warrant application file;
the OFD format ciphertext warrant generation module is used for encrypting the warrant application file by using a preset encryption algorithm to generate an OFD format ciphertext warrant;
the decryption key obtaining module is used for obtaining a warranty decryption request if the opening operation is detected so as to obtain a decryption key;
the OFD format plaintext guaranty obtaining module is used for decrypting the OFD format ciphertext guaranty according to the decryption key to obtain the OFD format plaintext guaranty;
and the target warrant generation module is used for combining the OFD format ciphertext warrant and the OFD format plaintext warrant through the OFD encryption component to generate a target warrant.
In a third aspect, an embodiment of the present application provides a computer readable medium, on which a computer program is stored, where the program when executed by a processor implements an OFD format-based method for encrypting and decrypting an warranty according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of being executed by the processor, where the processor implements an OFD format-based method for encrypting and decrypting a warranty according to the embodiment of the present application when executing the computer program.
According to the technical scheme provided by the embodiment of the application, the warrant application file is obtained, the warrant application file is encrypted by using a preset encryption algorithm, the OFD format ciphertext warrant is generated, if the opening operation is detected, a warrant decryption request is obtained to obtain a decryption key, the OFD format ciphertext warrant is decrypted according to the decryption key, the OFD format plaintext warrant is obtained, and the OFD format ciphertext warrant and the OFD format plaintext warrant are combined by using an OFD encryption component, so that the target warrant is generated. According to the technical scheme, the OFD format ciphertext guarantor and the OFD format plaintext guarantor are combined to generate the target guarantor, so that the working efficiency of workers can be improved, and the safety of guarantor files can be improved.
Drawings
Fig. 1 is a flowchart of an encryption and decryption method for a warranty based on an OFD format according to an embodiment of the present application;
fig. 2 is a schematic diagram of a procedure for encrypting and decrypting a warranty based on an OFD format according to a second embodiment of the present application;
fig. 3 is a flowchart of a procedure for encrypting and decrypting a warranty based on an OFD format according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of a warranty encryption and decryption device based on an OFD format according to a third embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Description of the embodiments
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings.
Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts steps as a sequential process, many of the steps may be implemented in parallel, concurrently, or with other steps. Furthermore, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Examples
Fig. 1 is a flowchart of an OFD format-based policy encryption and decryption method provided in an embodiment of the present application, where the embodiment is applicable to a case of encrypting and decrypting an OFD format policy, and the method may be performed by an OFD format-based policy encryption and decryption device provided in an embodiment of the present application, where the device may be implemented by software and/or hardware, and may be integrated into an intelligent terminal or other devices for encrypting and decrypting an policy.
The method is applied to an electronic transaction bidding system, the system comprises an OFD encryption component, as shown in fig. 1, and the method for encrypting and decrypting the warranty based on the OFD format comprises the following steps:
s110, acquiring an insurance application file;
the warranty is also called as warranty, and refers to a written credit warranty issued to a third party by a bank, an insurance company, a guarantee company or an individual at the request of an applicant. The warrant application file may refer to an information file in the bidding process of the electronic transaction. The policy application file may include item information, signer information, bidder information, and the like. The warranty application file may be obtained from a transaction center server in the electronic transaction bidding system.
S120, encrypting the warranty application file by using a preset encryption algorithm to generate an OFD format ciphertext warranty;
in the embodiment, the OFD format is a format document national standard established by a format writing group established by the institute of standardization of electronic technology in china of the department of industry and informatization software, and belongs to an autonomous format, and the storage, reading and editing of electronic documents are conveniently performed.
The ciphertext warrant in the OFD format may refer to a generated file after a part of the content in the warrant application file is encrypted. The warranty format is an OFD format. For example, the item information and the bidder information in the warranty application file are encrypted to generate the ciphertext warranty in the OFD format.
In the scheme, the security application file can be encrypted by adopting a conventional encryption algorithm. For example, the conventional encryption algorithm may be a symmetric encryption algorithm or an asymmetric encryption algorithm. Wherein, the symmetric encryption is to encrypt and decrypt the same key; asymmetric encryption is the use of not the same key for encryption and decryption, typically two keys, known as a public key and a private key, that must be paired for use or otherwise the encrypted file cannot be opened.
In this technical scheme, optionally, encrypt the warranty application file by using a preset encryption algorithm to generate an OFD format ciphertext warranty, including:
encrypting the warrant application file by using a national cipher SM2 algorithm to generate a PDF format ciphertext warrant;
extracting the encrypted content of the PDF format ciphertext guaranty according to a preset extraction rule;
and splicing the encrypted content according to the OFD format to generate the ciphertext warranty of the OFD format.
The national cipher SM2 is an elliptic curve public key cryptographic algorithm issued by the national cipher administration. SM2 key generation refers to the process of generating a key pair of the SM2 algorithm, which includes a private key and a public key corresponding thereto.
In this embodiment, the encrypted content may refer to content that needs to be kept secret during bidding in the electronic transaction. For example, the encrypted content may be item information, signer information, bidder information, or the like.
In the scheme, a financial institution in the electronic transaction bidding system encrypts the security application file by using a national secret SM2 algorithm, and generating a PDF format ciphertext guarantor, extracting the encrypted content of the PDF format ciphertext guarantor, and splicing according to the OFD format to generate the OFD format ciphertext guarantor.
The warranty application file is encrypted into the OFD format ciphertext warranty, so that the warranty content can be prevented from being tampered, and the confidentiality of information resources is improved.
In this technical solution, optionally, after splicing the encrypted content according to the OFD format to generate the ciphertext warrant of the OFD format, the method further includes:
and responding to the signature selecting operation, and signing the OFD format ciphertext warranty through the OFD encryption component to obtain the signed OFD format ciphertext warranty.
Wherein signing may refer to signing and stamping operations. The signature content can be set according to the confidentiality requirement. For example, the signature content may be set according to the identity information of the financial institution or may be set according to confidential information during bidding of the electronic transaction.
It can be understood that after obtaining the ciphertext warranty in the OFD format, a signature selecting button appears on the page, and the system can respond to the signature selecting operation of the staff to finish the signature of the ciphertext warranty in the OFD format.
The ciphertext security function in the OFD format is signed, so that the content of the ciphertext security function can be prevented from being tampered, and the confidentiality of information resources is improved.
S130, if the label opening operation is detected, acquiring a warranty decryption request to obtain a decryption key;
the decryption key may refer to a key for performing a decryption operation by a decryption algorithm.
It can be understood that before the bid is opened, the system acquires the warranty application file, encrypts the warranty application file, generates the ciphertext warranty in the OFD format, and stores the ciphertext warranty in the database. After the mark is opened, a warrant decryption request is obtained, and a decryption key is obtained and used for decrypting the ciphertext warrant in the OFD format. When the electronic transaction bidding system performs bidding operation, the warranty decryption request can be obtained based on the transaction center server side in the electronic transaction bidding system, and the decryption key can be obtained.
S140, decrypting the OFD format ciphertext guaranty according to the decryption key to obtain an OFD format plaintext guaranty;
the OFD format plaintext guaranty may refer to a guaranty without encrypted text. The plain text guaranty format is an OFD format.
In this embodiment, the ciphertext guaranty in the OFD format may be decrypted according to a specific decryption rule, to obtain the plaintext guaranty in the OFD format.
In this technical solution, optionally, decrypting the ciphertext guarantee in the OFD format according to the decryption key to obtain the plaintext guarantee in the OFD format includes:
decrypting the OFD format ciphertext guaranty by using the decryption key to generate a PDF format plaintext guaranty;
and converting the PDF format plaintext guaranty to the OFD format plaintext guaranty through the OFD encryption component.
In the scheme, a financial institution in a transaction bidding system decrypts the OFD format ciphertext guaranty by using a decryption key in a national secret SM2 algorithm to generate the PDF format plaintext guaranty. And extracting the content of the plaintext guarantor in the PDF format by using a preset extraction algorithm, and splicing according to the OFD format to generate the plaintext guarantor in the OFD format.
The encrypted content is decrypted through the decryption key, so that the plaintext guaranty in the OFD format can be obtained, and the successful progress of the bidding process of electronic transaction is facilitated.
And S150, combining the OFD format ciphertext warranty and the OFD format plaintext warranty through the OFD encryption component to generate a target warranty.
In the scheme, an OFD encryption component decompresses the OFD format plaintext guaranty function, and each part is respectively plugged into an OFD format ciphertext guaranty function corresponding directory. And after the operation is finished, recompressing the document to form a new target warranty. The target warranty is also in an OFD format and can be opened through an OFD reader.
According to the technical scheme provided by the embodiment of the application, the warrant application file is obtained, the warrant application file is encrypted by using a preset encryption algorithm, the OFD format ciphertext warrant is generated, if the opening operation is detected, a warrant decryption request is obtained to obtain a decryption key, the OFD format ciphertext warrant is decrypted according to the decryption key, the OFD format plaintext warrant is obtained, and the OFD format ciphertext warrant and the OFD format plaintext warrant are combined by using an OFD encryption component, so that the target warrant is generated. By executing the technical scheme, the OFD format ciphertext guarantor and the OFD format plaintext guarantor are combined to generate the target guarantor, so that the working efficiency of staff can be improved, and the confidentiality of the guarantor file can be improved.
Examples
Fig. 2 is a schematic diagram of a procedure for encrypting and decrypting a warranty based on an OFD format according to a second embodiment of the present application, which is further optimized based on the first embodiment. The concrete optimization is as follows: after the OFD encryption component combines the OFD format ciphertext warranty and the OFD format plaintext warranty to generate a target warranty, the method further comprises: and responding to the signature selecting operation, and signing the target warranty through the OFD encryption component to obtain the signed target warranty. Here, details which are not described in detail in this embodiment are detailed in embodiment one. As shown in fig. 2, the method comprises the steps of:
s210, acquiring an insurance application file;
s220, encrypting the warranty application file by using a preset encryption algorithm to generate an OFD format ciphertext warranty;
s230, if the label opening operation is detected, acquiring a warranty decryption request to obtain a decryption key;
s240, decrypting the OFD format ciphertext guaranty according to the decryption key to obtain an OFD format plaintext guaranty;
s250, combining the OFD format ciphertext guaranty and the OFD format plaintext guaranty through the OFD encryption component to generate a target guaranty;
and S260, responding to the signature selecting operation, and signing the target warranty through the OFD encryption component to obtain the signed target warranty.
Wherein signing may refer to signing and stamping operations. The signature content can be set according to the confidentiality requirement. For example, the signature content may be set according to the identity information of the financial institution or may be set according to confidential information during bidding of the electronic transaction.
It can be appreciated that after the target warranty is obtained, a signature selection button appears on the page, and the system performs signature on the target warranty through the OFD encryption component in response to the signature selection operation of the staff.
Fig. 3 is a flowchart of a procedure for encrypting and decrypting a warranty based on an OFD format according to a second embodiment of the present application. As shown in fig. 3, the electronic transaction bidding system includes a transaction center server, a financial institution, and an OFD encryption component. Bidding for electronic transactions includes two stages, pre-bid and post-bid. Before the bid is opened, the system acquires the warranty application file, encrypts the warranty application file, generates the ciphertext warranty in the OFD format, and stores the ciphertext warranty in the database. After the mark is opened, a warrant decryption request is obtained, and a decryption key is obtained and used for decrypting the ciphertext warrant in the OFD format. And after decryption, combining the OFD format ciphertext warranty and the OFD format plaintext warranty to generate a target warranty, and signing the target warranty.
In this technical solution, optionally, before the target warranty is signed by the OFD encryption component in response to the signing operation, the method further includes:
acquiring signature information;
and determining signature content according to the signature information.
Wherein the signature information may refer to information for customizing signature contents. For example, the signature information may refer to identity information, company information, encryption information, or the like. The signature content can be customized according to the signature information, so that the signature of the target warranty can be realized.
By customizing the signature, the key part in the target warranty can be protected, the ciphertext warranty content can be prevented from being tampered, and the confidentiality of information resources is improved.
According to the technical scheme provided by the embodiment of the application, the warrant application file is obtained, the warrant application file is encrypted by using a preset encryption algorithm, the OFD format ciphertext warrant is generated, if the opening operation is detected, a warrant decryption request is obtained to obtain a decryption key, the OFD format ciphertext warrant is decrypted according to the decryption key, the OFD format plaintext warrant is obtained, and the OFD format ciphertext warrant and the OFD format plaintext warrant are combined by using an OFD encryption component, so that the target warrant is generated. And responding to the signature selecting operation, and signing the target warranty through the OFD encryption component to obtain the signed target warranty. By executing the technical scheme, the OFD format ciphertext guarantor and the OFD format plaintext guarantor are combined, the target guarantor is obtained, and signature is carried out. The target warranty content can be prevented from being tampered, and the confidentiality of information resources is improved. And the working efficiency of the staff is improved.
Examples
Fig. 4 is a schematic structural diagram of an OFD format-based warranty encryption and decryption device according to a third embodiment of the present application, where the device is configured in an electronic transaction bidding system, and the system includes an OFD encryption component, as shown in fig. 4, and the OFD format-based warranty encryption and decryption device includes:
the warrant application file obtaining module 410 is configured to obtain a warrant application file;
the OFD format ciphertext warrant generation module 420 is configured to encrypt the warrant application file by using a preset encryption algorithm, and generate an OFD format ciphertext warrant;
the decryption key obtaining module 430 is configured to obtain a warrant decryption request to obtain a decryption key if the opening operation is detected;
the OFD format plaintext guaranty obtaining module 440 is configured to decrypt the OFD format ciphertext guaranty according to the decryption key, to obtain an OFD format plaintext guaranty;
and the target warrant generating module 450 is configured to combine the ciphertext warrant in the OFD format and the plaintext warrant in the OFD format through the OFD encrypting component to generate a target warrant.
In this technical solution, optionally, the apparatus further includes:
and the signature module is used for responding to signature selection operation, and signing the target warranty through the OFD encryption component to obtain the signed target warranty.
In this technical solution, optionally, the apparatus further includes:
the signature information acquisition module is used for acquiring signature information;
and the signature content determining module is used for determining signature content according to the signature information.
In this embodiment, optionally, the OFD format ciphertext warrant generating module 420 includes:
the PDF format ciphertext warrant generation unit is used for encrypting the warrant application file by using a national password SM2 algorithm to generate a PDF format ciphertext warrant;
the encrypted content extraction unit is used for extracting the encrypted content of the PDF format ciphertext warrant according to a preset extraction rule;
and the OFD format ciphertext warrant generation unit is used for splicing the encrypted content according to the OFD format to generate the OFD format ciphertext warrant.
In this embodiment, optionally, the OFD format ciphertext warrant generating module 420 further includes:
and the OFD format ciphertext warranty signing unit is used for responding to signing and selecting operation, signing the OFD format ciphertext warranty through the OFD encryption component and obtaining the signed OFD format ciphertext warranty.
In this embodiment, optionally, the OFD format plaintext warranty obtaining module 440 includes:
the PDF format plaintext guaranty generation unit is used for decrypting the OFD format ciphertext guaranty by using the decryption key to generate a PDF format plaintext guaranty;
and the OFD format plaintext guaranty generation unit is used for converting the PDF format plaintext guaranty into the OFD format plaintext guaranty through the OFD encryption component.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Examples
The embodiment of the application also provides a medium containing computer executable instructions, which when being executed by a computer processor, are used for executing a method for encrypting and decrypting a warranty based on an OFD format, and the method comprises the following steps:
acquiring an insurance application file;
encrypting the warranty application file by using a preset encryption algorithm to generate an OFD format ciphertext warranty;
if the label opening operation is detected, acquiring a warranty decryption request to obtain a decryption key;
decrypting the OFD format ciphertext guaranty according to the decryption key to obtain an OFD format plaintext guaranty;
and combining the OFD format ciphertext warranty and the OFD format plaintext warranty through the OFD encryption component to generate a target warranty.
Media—any of various types of memory devices or storage devices. The term "medium" is intended to include: mounting media such as CD-ROM, floppy disk or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, lanbas (Rambus) RAM, etc.; nonvolatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The medium may also include other types of memory or combinations thereof. In addition, the medium may be located in a computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the Internet). The second computer system may provide program instructions to the computer for execution. The term "medium" may include two or more media that may reside in different locations (e.g., in different computer systems connected by a network). The medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
Of course, the medium containing the computer executable instructions provided by the embodiment of the application is not limited to the operations of encrypting and decrypting the warranty based on the OFD format, and the related operations in the method of encrypting and decrypting the warranty based on the OFD format provided by any embodiment of the application can be executed.
Examples
The embodiment of the application provides electronic equipment, and the electronic equipment can integrate the warranty encryption and decryption device based on the OFD format. Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application. As shown in fig. 5, the present embodiment provides an electronic device 500, which includes: one or more processors 520; the storage device 510 is configured to store one or more programs, where the one or more programs are executed by the one or more processors 520, so that the one or more processors 520 implement the method for encrypting and decrypting a warranty function based on an OFD format according to the embodiment of the present application, and the method includes:
acquiring an insurance application file;
encrypting the warranty application file by using a preset encryption algorithm to generate an OFD format ciphertext warranty;
if the label opening operation is detected, acquiring a warranty decryption request to obtain a decryption key;
decrypting the OFD format ciphertext guaranty according to the decryption key to obtain an OFD format plaintext guaranty;
and combining the OFD format ciphertext warranty and the OFD format plaintext warranty through the OFD encryption component to generate a target warranty.
Of course, it can be understood by those skilled in the art that the processor 520 further implements the technical scheme of the method for encrypting and decrypting the warranty based on the OFD format according to any embodiment of the present application.
The electronic device 500 shown in fig. 5 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 5, the electronic device 500 includes a processor 520, a storage device 510, an input device 530, and an output device 540; the number of processors 520 in the electronic device may be one or more, one processor 520 being exemplified in fig. 5; the processor 520, the storage 510, the input 530, and the output 540 in the electronic device may be connected by a bus or other means, as exemplified by connection via bus 550 in fig. 5.
The storage device 510 is used as a computer readable medium for storing a software program, a computer executable program, and a module unit, such as program instructions corresponding to the method for encrypting and decrypting the protection function based on the OFD format in the embodiment of the present application.
The storage device 510 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the terminal, etc. In addition, the storage 510 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, storage 510 may further include memory located remotely from processor 520, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 530 may be used to receive input numeric, character information or voice information and to generate key signal inputs related to user settings and function control of the electronic device. Output 540 may include an electronic device such as a display screen, speaker, etc.
The electronic equipment provided by the embodiment of the application can achieve the purposes of combining the OFD format ciphertext guaranty and the OFD format plaintext guaranty, improving the confidentiality of information resources and improving the working efficiency of staff.
The warranty encryption and decryption device based on the OFD format, the medium and the electronic equipment provided by the embodiment can execute the warranty encryption and decryption method based on the OFD format provided by any embodiment of the application, and have the corresponding functional modules and beneficial effects of executing the method. Technical details which are not described in detail in the above embodiments can be referred to the method for encrypting and decrypting the warranty based on the OFD format provided in any embodiment of the present application.
Note that the above is only a preferred embodiment of the present application and the technical principle applied. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the application, which is set forth in the following claims.

Claims (5)

1. The method is applied to an electronic transaction bidding system, wherein the system comprises an OFD encryption component, and the method comprises the following steps:
acquiring an insurance application file based on a transaction center server in the electronic transaction bidding system;
encrypting the warranty application file by a financial institution in the electronic transaction bidding system by using a preset encryption algorithm to generate an OFD format ciphertext warranty;
if the bid opening operation is detected, acquiring a warranty decryption request based on a transaction center server side in the electronic transaction bidding system so as to obtain a decryption key;
decrypting the OFD format ciphertext guaranty by a financial institution in the bidding system based on the electronic transaction according to the decryption key to obtain the OFD format plaintext guaranty;
combining the OFD format ciphertext guaranty and the OFD format plaintext guaranty by the OFD encryption component to generate a target guaranty;
responding to signature selecting operation, and signing the target warranty through the OFD encryption component to obtain a signed target warranty;
the method for generating the ciphertext guaranty in the OFD format based on encrypting the guaranty application file by a financial institution in the electronic transaction bidding system through a preset encryption algorithm comprises the following steps:
encrypting the warranty application file by using a national cipher SM2 algorithm based on a financial institution in the electronic transaction bidding system to generate a PDF format ciphertext warranty;
extracting the encrypted content of the PDF format ciphertext guaranty according to a preset extraction rule;
splicing the encrypted content according to an OFD format to generate an OFD format ciphertext warrant;
responding to signature selecting operation, and signing the OFD format ciphertext guaranty through the OFD encryption component to obtain the signed OFD format ciphertext guaranty;
the method for decrypting the ciphertext guaranty in the OFD format by the financial institution in the bidding system based on the electronic transaction according to the decryption key to obtain the plaintext guaranty in the OFD format comprises the following steps:
decrypting the OFD format ciphertext guaranty by using the decryption key to generate a PDF format plaintext guaranty;
and converting the PDF format plaintext guaranty to the OFD format plaintext guaranty through the OFD encryption component.
2. The method of claim 1, wherein prior to signing the target warranty by the OFD encryption component in response to a signature signing operation, obtaining a signed target warranty, the method further comprises:
acquiring signature information;
and determining signature content according to the signature information.
3. The device is configured in an electronic transaction bidding system, the system comprises an OFD encryption component, and the device comprises:
the system comprises a warranty application file acquisition module, a transaction center server side and a transaction center server side, wherein the warranty application file acquisition module is used for acquiring warranty application files based on a transaction center server side in an electronic transaction bidding system;
the OFD format ciphertext warranty generation module is used for encrypting the warranty application file by utilizing a preset encryption algorithm based on a financial institution in the electronic transaction bidding system to generate an OFD format ciphertext warranty;
the decryption key obtaining module is used for obtaining a warranty decryption request based on a transaction center server side in the electronic transaction bidding system if the bidding operation is detected, so as to obtain a decryption key;
the OFD format plaintext guaranty obtaining module is used for decrypting the OFD format ciphertext guaranty according to the decryption key based on a financial institution in the electronic transaction bidding system to obtain the OFD format plaintext guaranty;
the target warrant generation module is used for combining the OFD format ciphertext warrant and the OFD format plaintext warrant through the OFD encryption component to generate a target warrant;
the signature module is used for responding to signature selection operation, and signing the target warranty through the OFD encryption component to obtain a signed target warranty;
the OFD format ciphertext warrant generation module comprises:
the PDF format ciphertext warrant generation unit is used for encrypting the warrant application file by using a national password SM2 algorithm based on a financial institution in the electronic transaction bidding system to generate a PDF format ciphertext warrant;
the encrypted content extraction unit is used for extracting the encrypted content of the PDF format ciphertext warrant according to a preset extraction rule;
the OFD format ciphertext warrant generation unit is used for splicing the encrypted content according to the OFD format to generate the OFD format ciphertext warrant;
the OFD format ciphertext warranty signing unit is used for responding to signing and selecting operation, signing the OFD format ciphertext warranty through the OFD encryption component, and obtaining the signed OFD format ciphertext warranty;
the OFD format plaintext guaranty function obtaining module comprises:
the PDF format plaintext guaranty generation unit is used for decrypting the OFD format ciphertext guaranty by using the decryption key to generate a PDF format plaintext guaranty;
and the OFD format plaintext guaranty generation unit is used for converting the PDF format plaintext guaranty into the OFD format plaintext guaranty through the OFD encryption component.
4. A computer-readable medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the OFD format-based warranty encryption and decryption method according to any one of claims 1-2.
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the OFD format-based policy encryption and decryption method according to any one of claims 1-2 when executing the computer program.
CN202110599077.5A 2021-05-31 2021-05-31 Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format Active CN113343254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110599077.5A CN113343254B (en) 2021-05-31 2021-05-31 Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110599077.5A CN113343254B (en) 2021-05-31 2021-05-31 Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format

Publications (2)

Publication Number Publication Date
CN113343254A CN113343254A (en) 2021-09-03
CN113343254B true CN113343254B (en) 2023-09-19

Family

ID=77472450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110599077.5A Active CN113343254B (en) 2021-05-31 2021-05-31 Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format

Country Status (1)

Country Link
CN (1) CN113343254B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114492355B (en) * 2021-12-30 2023-03-24 博思数采科技发展有限公司 Method and system for generating electronic bidding invitation letter and response receipt letter in OFD format

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111753502A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 OFD file merging display and directory generation method
CN111753501A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 Method for merging OFD (office file format) files and displaying quick reading
CN111753500A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 Method for merging and displaying formatted electronic form and OFD (office file format) and generating catalog
CN111897777A (en) * 2020-06-22 2020-11-06 百望股份有限公司 Method, device and equipment for processing electronic invoice layout file and storage medium
CN112257085A (en) * 2020-10-22 2021-01-22 政采云有限公司 Bidding processing method, system, equipment and medium based on block chain
CN112347493A (en) * 2020-11-04 2021-02-09 杭州天谷信息科技有限公司 Encryption, decryption and graying method for OFD (office file)
CN112464270A (en) * 2020-12-30 2021-03-09 广汽本田汽车有限公司 Bidding file encryption and decryption method, equipment and storage medium
CN112580306A (en) * 2020-11-25 2021-03-30 江西丰哲科技有限公司 Method and device for generating insurance letter

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100114760A1 (en) * 2008-08-04 2010-05-06 Raj Sundarasen Online interactive issued account acquired transaction information management
US20110082798A1 (en) * 2009-10-05 2011-04-07 Sap Ag System and method for securely transmitting data across a system landscape

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897777A (en) * 2020-06-22 2020-11-06 百望股份有限公司 Method, device and equipment for processing electronic invoice layout file and storage medium
CN111753502A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 OFD file merging display and directory generation method
CN111753501A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 Method for merging OFD (office file format) files and displaying quick reading
CN111753500A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 Method for merging and displaying formatted electronic form and OFD (office file format) and generating catalog
CN112257085A (en) * 2020-10-22 2021-01-22 政采云有限公司 Bidding processing method, system, equipment and medium based on block chain
CN112347493A (en) * 2020-11-04 2021-02-09 杭州天谷信息科技有限公司 Encryption, decryption and graying method for OFD (office file)
CN112580306A (en) * 2020-11-25 2021-03-30 江西丰哲科技有限公司 Method and device for generating insurance letter
CN112464270A (en) * 2020-12-30 2021-03-09 广汽本田汽车有限公司 Bidding file encryption and decryption method, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
工程建设招标投标电子系统多CA及多印章兼容对策研究;甘熹;;福建建设科技(第04期);87-89 *

Also Published As

Publication number Publication date
CN113343254A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
US10547444B2 (en) Cloud encryption key broker apparatuses, methods and systems
EP3962020B1 (en) Information sharing methods and systems
WO2017024934A1 (en) Electronic signing method, device and signing server
CN110100422B (en) Data writing method and device based on block chain intelligent contract and storage medium
CN110881063B (en) Storage method, device, equipment and medium of private data
US11748791B2 (en) Method and system for secure order management system data encryption, decryption, and segmentation
CN111047313B (en) Code scanning payment, information sending and key management method, device and equipment
EP3962135B1 (en) Information sharing methods, apparatuses, and devices
CN111242611B (en) Method and system for recovering digital wallet key
CN111178884A (en) Information processing method, device, equipment and readable storage medium
CN113015991A (en) Secure digital wallet processing system
US11997075B1 (en) Signcrypted envelope message
CN110740136A (en) Network security control method for open bank and open bank platform
TWI734729B (en) Method and device for realizing electronic signature and signature server
US11070378B1 (en) Signcrypted biometric electronic signature tokens
CN113343254B (en) Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format
KR20190099984A (en) System for managing private key
CN102426635B (en) Display device for file information, display method and system
WO2019179240A1 (en) Method and terminal for establishing security infrastructure and device
CN110889128A (en) Input method and device based on block chain storage and encryption key exchange
CN111259407A (en) Picture processing method and device, storage medium and terminal
US20230124498A1 (en) Systems And Methods For Whitebox Device Binding
CN114531236A (en) Key processing method and device and electronic equipment
JP2022053676A (en) Information processing system and information processing method
CN117294484A (en) Method, apparatus, device, medium and product for data interaction

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
GR01 Patent grant
GR01 Patent grant