The invention discloses a
message processing method and device, equipment and a medium. The method is applied to message
middleware and comprises the following steps: acquiring a service request of an application
system participant; calling a secret
key management interface provided by a hardware
encryption and decryption module based on an application
programming API interface, and generating a secret key and a secret key
handle of an application
system participant;
broadcasting a public key and a public key
handle in the secret key
handle through a public key handle
broadcasting interface; and calling an
encryption and decryption interface provided by a hardware
encryption and decryption module through an API interface according to the secret key, and
processing the service request to obtain a target message. A standard calling interface is provided for an
external application system in a uniform interface mode through native national cryptographic
algorithm supporting capacity of message
middleware, so that encryption and decryption
processing of service requests of participants of the application system is achieved, a target message is obtained, the process of supporting
application layer data encryption and decryption is achieved based on local hardware equipment, and the method is simple and convenient to implement. And the efficiency of
algorithm calculation and
data processing is improved.