The invention discloses a data processing method and device used for improving the security of data. The method includes the steps that to-be-secured data sent by a target user is received; the first target Hash value of the to-be-secured data is calculated according to a preset Hash algorithm; a target transaction recording the first target Hash value is constructed; the target transaction is sent to a preset node in a target block chain; when information, in the target block chain, of the target transaction meets a first preset condition, the target transaction is sent to other nodes, except the preset node, in the block chain; when confirmation information sent by other nodes is received, the amount of the confirmation information is counted; when the amount of the confirmation information reaches a first preset amount, the state of the target transaction stored in a preset node memory pool is modified into a confirmed state. By the adoption of the scheme, multiple nodes can monitor the to-be-secured data jointly, and thus the security of the data is improved.