CPC H04L 9/3239 (2013.01) [H04L 9/0618 (2013.01); H04L 9/0643 (2013.01); H04L 9/3247 (2013.01); H04L 63/0428 (2013.01); H04L 9/50 (2022.05)] | 11 Claims |
1. A method for blockchain-based multi-party computation, executed by a participant device, the method comprising:
determining a target random number by interacting with a target trusted computing module;
encrypting a key using the target random number, to obtain a key ciphertext;
sending the key ciphertext to the target trusted computing module, so that the target trusted computing module decrypts the key ciphertext using the target random number to obtain the key;
encrypting business data using the key, to obtain a ciphertext of the business data;
hashing the ciphertext of the business data, to obtain a hash result of the business data;
sending the hash result of the business data to a blockchain node, so that the blockchain node writes the hash result of the business data into a blockchain; and
sending the ciphertext of the business data to a target trusted computing module in a target server, so that the target trusted computing module performs multi-party computation based on the ciphertext of the business data and the hash result of the business data in the blockchain.
|