Research Article

Controlled Sharing Mechanism of Data Based on the Consortium Blockchain

Algorithm 1

Algorithm of data access transaction.
Input: User, KeyID, node
Output: bool
(1)
(2)
(3)
(4)
(5)  
(6)   
(7)  
(8)   
(9)
(10)
(11)  
(12)  
(13)  
(14)  
(15)  
(16);