Research Article

Trusted and Efficient Cross-Domain Access Control System Based on Blockchain

Algorithm 10

addAHL.
(1)Input: uID||devID||op
(2)output: bool
(3)% add a permitted access request on the AHL.
(4) ahList = getAHL();
(5)if ahList.isNoexist (uID||devID||op) then
(6)  ahList.push (uID||devID||op);
(7) return 0;