Research Article
BSSPD: A Blockchain-Based Security Sharing Scheme for Personal Data with Fine-Grained Access Control
Input: from, method, account, id, args | Output: null | u=account_idx.find(account) | 1 ifu != null then | 2 ifu.id == id then | 3 send action (from, method, (_self, true, args)); | 4 else | 5 send action (from, method, (_self, false, args)); | 6 end | 7 else | 8 send action (from, method, (_self, false, args)); | 9 end |
|