| Algorithm 3 Data Decryption |
|
Input: Ciphertext or , access policy AP Ciphertext of data CTdata Digital digest DD Users’ secret key skABPRE Output: Agricultural product traceability data mdata 1: if skABPRE satisfies the access structure AP 2: if is provided then 3: 4: else 5: 6: end if 7: 8: if then 9: return 10: else return ⊥ |