Research Article

A Lightweight Authentication Scheme Based on Consortium Blockchain for Cross-Domain IoT

Algorithm 1

Ingoing authentication.
Input: and
Output: or .
(1)Get ’s certificate in the blockchain
(2)Extract ’s public key from
(3)if is valid by using then
(4)  Construct a transfer from to
(5)  
(6)return
(7)end if
(8)return