Research Article

A User-Centered Medical Data Sharing Scheme for Privacy-Preserving Machine Learning

Algorithm 1

Medical data storage.
Input: Raw Data ; Public Key ; Data Type ; Random Number ; Private Key ;
Output: Storage Index ; Blockchain Transaction ;
Stage 1: Upload data to the cloud server:
(1) Generate symmetric key by
(2) Encrypted raw data
(3) Send to the cloud server and get
Stage 2: Upload to Blockchain
(4) Generate timestamp
(5) Generate ciphertext hash
(6) User Signature
(7) Call the authorization contract to get
(8) Generate random number
(9) Encryption symmetric key :
(10)
(11) Call the data contract to upload data to the blockchain
(12) Call the Authorized contract to upload data , and
(13) return (, );