The invention relates to the technical field of privacy data
encryption and decryption, and discloses a financial privacy data conformal
encryption and decryption method and
system, and the method comprises the steps: extracting
user information associated with financial privacy data, generating a
distortion factor, and carrying out the dynamic key derivation through the
distortion factor; performing
character coding and data grouping
processing on the financial privacy data in combination with the derived dynamic
encryption key; encrypting a financial privacy data coding and grouping result by adopting an improved round encryption mode; and adding a check code to the encrypted
ciphertext to form a shape-preserving encrypted
ciphertext and decrypting the shape-preserving encrypted
ciphertext. According to the method, user context information is combined, individuation and dynamic of key derivation are achieved, through format keeping and a multi-round disturbance encryption mechanism, each round of iteration is only exchange, addition and other operations in the round encryption process, the data length and the data range are not changed, conformal encryption and decryption are achieved, and the encryption efficiency is improved. And the
structural consistency and the anti-
attack capability of the data in the encryption process are ensured, and the
data security and the
system compatibility are improved.