Research Article

A2 Chain: A Blockchain-Based Decentralized Authentication Scheme for 5G-Enabled IoT

Algorithm 1

Signature generation (SigGen) algorithm.
Input: message M, Ppub, and parametersm private key d
Output: signature (h, S)
(1)Compute the element in group GT;
(2)Generate a random number ;
(3)Compute the element =  in the group GT, converting the data type of ω to a bit string;
(4)Compute the integer ;
(5)Compute the integer mod N; if L = 0, then return 2;
(6)Compute the element in group G1;
(7)Convert the data types h and S to byte strings and the signature of the message M is (h, S).