Skip to main content
. 2022 Apr 27;11(9):1269. doi: 10.3390/foods11091269
Algorithm 1 Collect cross-chain smart contract A(CCSC-A)
Input: H(user); D; Dn; DATA; Ds; T; AD; CCSC-B; pkp; Y; F;
1:func Certification(H(user)) (D) // Data acquisition module
2:func Hash lock(D)// Data encryption module
3:func Slice(DATA)// Data fragmentation module
4:func Game(Relay chain (node))// Game module
5:func Get(AD)// Storage module