Blockchain-Based Fine-Grained Data Sharing for Multiple Groups in Internet of Things
Algorithm 2
Storage transaction.
Input:: system public key
: verification information
Output:/: the verification result.
(1) The nodes of the blockchain compute Merkle root value with , where is the information for the nodes to verify Merkle root and get verification result by execute Algorithm 1 with .
(2) if and then
(3) create a new block to store where is the timestamp.