The invention discloses an
encryption and decryption calling method and
system between a micro-service and a
database, relates to the technical field of
network security transmission, and solves the problem that the
encryption evaluation rectification efficiency of
dynamic data encryption and decryption is too low when a third-party application interacts with the
database. The encryption and decryption calling method comprises the steps that in a distributed network environment, a
database encryption and decryption management platform inputs third-party application information; configuring a
database encryption and decryption configuration file according to the third-party application information; analyzing all tables and fields to be encrypted and decrypted of the third-party application, and judging the stock data state of the tables and the fields;
processing the field to be encrypted and decrypted, and configuring loading dependency of a
database encryption and decryption component; generating
authentication information, and configuring a
database encryption and decryption gateway; starting a database encryption and decryption component, calling a gateway interface to verify the identity permission, obtaining a database encryption and decryption configuration file, caching the database encryption and decryption configuration file to a memory, and enhancing a calling function of a
data source; and when the normal business calls the database to run, the database encryption and decryption gateway encrypts and decrypts.