Research Article

BSSPD: A Blockchain-Based Security Sharing Scheme for Personal Data with Fine-Grained Access Control

Algorithm 1

SetTarget.
Input: newTarget
Output: bool
1 ifmsg.sender is not _selfthen
2 throw;
3 else
4 target = newTarget;
5 return true;
6 end