Financial scene-based national secret multiplexing architecture establishment method
By using the national secret algorithm and A1 and A2 hierarchical encryption processing in financial transactions, the problem of insufficient security of the RSA algorithm in financial transactions is solved, high-security level transaction data protection is achieved, and the security and reliability of the transaction system are ensured. sex.
Patent Information
- Application Number
- CN202410974260.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-18
AI Technical Summary
In the existing technology, the RSA asymmetric algorithm has security issues in financial transactions and is easy to be cracked. It only supports soft encryption and cannot meet the requirements of high security levels, resulting in the risk of key leakage and loss of business transaction information.
The national secret algorithm is used to generate the national secret symmetric key, and the request message is encrypted and decrypted through A1 and A2 hierarchical encryption processing. HTTPS and the national secret certificate are used to ensure message confidentiality and channel security, and realize asymmetric encryption and decryption processing.
It improves the security level of the trading system, prevents cracking, meets high security requirements, and ensures the security and reliability of transaction data.
Smart Images

Figure CN118802352A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of financial data encryption, and in particular to a method for establishing a national encryption multiplexing architecture based on financial scenarios. Background Art
[0002] When financial enterprises process a large number of transactions, they face complex security and autonomous controllable construction issues. Based on this scenario, it is necessary to build a system for security, strengthen the security of the entire chain used in the transaction process, improve transaction security, and provide business value.
[0003] Existing technical solutions:
[0004] Asymmetric RSA algorithm encryption is used, existing RSA decryption technology is integrated, and the channel uses RSA certificate.
[0005] The consumer system generates an RSA asymmetric key through a program and uses the public key to encrypt the request message. During the communication process, HTTPS requests are used to ensure the confidentiality of the message, and SSL uses RSA certificates to meet channel security requirements. The provider performs RSA decryption on the received request message.
[0006] The provider uses a program to process the message, and the consumer processes the corresponding message in response to the message, thereby realizing the use scenario of secure message interaction.
[0007] The current technology uses the RSA international asymmetric algorithm, which has security issues and is easily cracked.
[0008] The current RSA asymmetric algorithm has been cracked in actual cases. Asymmetric algorithms need to be strengthened.
[0009] The current technology only supports soft encryption, which has a low security level and cannot meet the high security level requirements.
[0010] In the process of message encryption and decryption, there is a risk of key leakage. At the same time, the encrypted message is easy to be cracked, which may cause information loss in business transactions, fail to meet the high security level requirements of the business system, and hinder the construction of the transaction business system. Summary of the invention
[0011] In view of the above problems, the present invention is proposed to provide a method for establishing a national encryption multiplexing architecture based on financial scenarios to overcome the above problems or at least partially solve the above problems.
[0012] According to one aspect of the present invention, a method for establishing a national secret multiplexing architecture based on a financial scenario is provided, the method comprising:
[0013] Get the request message;
[0014] Performing encryption operation on the request message to obtain an encrypted file;
[0015] Performing a decryption operation on the encrypted file to obtain a decrypted file;
[0016] Output a corresponding message according to the decrypted file.
[0017] Optionally, the performing encryption operation on the request message specifically includes:
[0018] The consumer system generates a national secret symmetric key through a national secret algorithm, uses a public key to encrypt the request message, and adopts A1 and A2 graded encryption processing for high security requirements.
[0019] Optionally, the performing encryption operation processing on the request message further includes:
[0020] During the communication process, HTTPS requests are used to ensure the confidentiality of messages, and SSL uses national encryption certificates to meet national encryption channel security requirements.
[0021] Optionally, the decrypting operation of the encrypted file specifically includes:
[0022] The provider performs national encryption decryption on the received request message.
[0023] Optionally, outputting a corresponding message according to the decrypted file specifically includes: a consumer end processes the corresponding message, thereby realizing a usage scenario of national encryption.
[0024] Optionally, the generating of a national secret symmetric key by using a national secret algorithm specifically includes:
[0025] Key pair configuration generation;
[0026] C-end platform public key configuration;
[0027] The A1 key of the C end is stored in the configuration file;
[0028] The A2 key of the C end is stored in the configuration file;
[0029] The A2 key on the P side is stored in the configuration file;
[0030] The A1 key on the P side is stored in the configuration file;
[0031] P-side platform private key configuration.
[0032] The present invention provides a method for establishing a national secret multiplexing architecture based on a financial scenario, the method comprising: obtaining a request message; performing an encryption operation on the request message to obtain an encrypted file; performing a decryption operation on the encrypted file to obtain a decrypted file; and outputting a corresponding message according to the decrypted file. Based on the national secret encryption algorithm, the request message is used for asymmetric encryption and decryption processing to achieve security protection of the data message.
[0033] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0035] Figure 1 An overall flow chart of a method for establishing a national secret reuse architecture based on a financial scenario provided by an embodiment of the present invention;
[0036] Figure 2 A flowchart of the national secret encryption algorithm provided for an embodiment of the present invention. DETAILED DESCRIPTION
[0037] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0038] The terms "comprises" and "having" and any variations thereof in the description embodiments, claims and drawings of the present invention are intended to cover non-exclusive inclusions, for example, including a series of steps or units.
[0039] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0040] The present invention realizes the technical reuse of national secret algorithms and A1 and A2 graded information encryption and decryption with different strengths for national secretization.
[0041] The key overall implementation is that the consumer system generates a national secret symmetric key through a national secret algorithm, uses a public key to encrypt the request message, and uses A1 and A2 graded encryption for high security requirements. During the communication process, HTTPS requests are used to ensure the confidentiality of messages, and SSL uses national secret certificates to meet national secret channel security requirements. The provider performs national secret decryption on the received request message.
[0042] The provider processes and responds to the request. For high security and efficiency requirements, key hierarchical encryption is used. The consumer processes the corresponding message to achieve the use scenario of national encryption.
[0043] like Figure 2 As shown, based on the national secret encryption algorithm module, the request message is used for asymmetric encryption and decryption processing to achieve the security of the data message.
[0044] For the key security module, the national secret algorithm is used to generate key configuration processing to improve the security level of data messages and ensure the safe operation of the transaction system.
[0045] For channel security, apply for and configure a national encryption certificate, receive and process request messages, and thus achieve channel security.
[0046] Beneficial effect: The present invention adopts A1 and A2 hierarchical encryption and decryption processing, supports integrated processing of encryption and decryption technologies of different strengths for different security levels, realizes transaction processing with anti-cracking and high security level, and provides a reuse solution for construction projects of the same type of financial technology scenarios.
[0047] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for establishing a national secret multiplexing architecture based on financial scenarios, characterized in that: The establishment method comprises: Get the request message; Performing encryption operation on the request message to obtain an encrypted file; Performing a decryption operation on the encrypted file to obtain a decrypted file; Output a corresponding message according to the decrypted file.
2. According to a method for establishing a national secret multiplexing architecture based on a financial scenario according to claim 1, it is characterized in that: The encryption operation processing of the request message specifically includes: The consumer system generates a national secret symmetric key through a national secret algorithm, uses a public key to encrypt the request message, and uses A1 and A2 graded encryption processing for high security requirements.
3. According to a method for establishing a national secret multiplexing architecture based on a financial scenario according to claim 1, it is characterized in that: The encryption operation processing of the request message further includes: During the communication process, HTTPS requests are used to ensure the confidentiality of messages, and SSL uses national encryption certificates to meet national encryption channel security requirements.
4. According to a method for establishing a national secret multiplexing architecture based on a financial scenario according to claim 1, it is characterized in that: The decryption operation of the encrypted file specifically includes: The provider performs national secret decryption on the received request message.
5. According to a method for establishing a national secret multiplexing architecture based on a financial scenario according to claim 1, it is characterized in that: Outputting the corresponding message according to the decrypted file specifically includes: the consumer end processes the corresponding message, thereby realizing the use scenario of national encryption.
6. According to a method for establishing a national secret multiplexing architecture based on a financial scenario according to claim 2, it is characterized in that: The generating of the national secret symmetric key by the national secret algorithm specifically includes: Key pair configuration generation; C-end platform public key configuration; The A1 key of the C end is stored in the configuration file; The A2 key of the C end is stored in the configuration file; The A2 key on the P side is stored in the configuration file; The A1 key on the P side is stored in the configuration file; P-side platform private key configuration.
