Disclosed herein are methods, devices, and apparatus comprising a computer program stored in a computer-readable medium for protecting sensitive data of transactional activities based on smart contracts within a blockchain. One method is: receiving activity data from a user to create an account for transaction activity, the activity data including at least an identifier of a smart contract in the blockchain and an expiration time of the transaction activity. Receiving; Sending activity data to an authentication server to request a digital certificate of activity data, wherein the digital certificate stores the identifier of the smart contract, and the expiration time of the digital certificate is set as the expiration time of the transaction activity, sending activity data. Step to do; And causing an account for the transaction activity to be created after receiving the digital certificate from the authentication server.
展开▼