Research Article

A Lightweight Attribute-Based Security Scheme for Fog-Enabled Cyber Physical Systems

Algorithm 1

Partial key pair generation.
1: Input: Security parameter , secret attribute set .
2: Output:
  .
  
3: Choose elliptic curve group , where is a base point on the elliptic curve defined over the finite field .
4: Choose a one-way collision resistance hash function, defined as:
      
5: Create a secret random number .
6: Map attributes in secret set to using hash function and compute secret number .
      
7: Next, compute public key components Pi as: