The invention discloses a
blockchain privacy protection method,
system and device. The method comprises the steps of receiving an established
privacy model containing a transaction format and a privacy requirement of a target transaction; respectively generating a local
encryption SDK (
Software Development Kit) containing an
encryption API (Application Program Interface), a
verification contract containing a transaction
verification API and an
algorithm library containing algorithms required by on-chain
transaction processing according to the transaction format and the privacy requirement, andlinking the
verification contract and the
algorithm library; calling an
encryption API to encrypt the transaction
plaintext of the target transaction to obtain a
ciphertext transaction; and after theciphertext transaction is linked, calling a transaction verification API to verify the
ciphertext transaction, and after the verification is legal, performing service
processing on the
ciphertext transaction based on the
algorithm library and the defined
service contract to obtain a service
processing result. Therefore, a brand-new
privacy protection scheme is provided, a user only needs to provide a
privacy model, the
system can automatically execute model analysis, transaction encryption, transaction verification,
transaction processing and other work, and the learning cost is low.