This invention discloses a
blockchain-based hierarchical sharing method for medical data. This method encrypts files with monotonic access structures according to different levels of sensitivity. The secret value is passed upwards through a secret value sharing mechanism, transferring the secret value of the low-sensitivity
ciphertext to the high-sensitivity
ciphertext. During the
data decryption stage, a rapid comparison is performed to find the file with the highest sensitivity that the user can satisfy, and a pre-decryption is performed. This makes it easier to decrypt sensitive files in the file set, improving
access control and effectively reducing the number of decryption steps in the medical
data sharing process. This truly achieves multi-level attribute
data sharing while ensuring privacy and security.