Information hiding and secret sharing technology are applied to protect data.With the rapid promotion of WeChat Mini Programs,WeChat Mini Program codes are becoming more and more popular,and their security has also attracted much attention.As a new carrier with broad application prospects,this thesis proposes four schemes based on WeChat Mini Program codes to protect its copyright and use safety:1.We propose an information hiding technology based on WeChat Mini Program codes for the first time.Based on studying the structure and function of codes,module replacement is adopted to embed secret information.The code embedded secret is valid and can be decoded successfully.In addition,the embedding capacity is determined by combining theoretical analysis and experimental testing,which lays the foundation for applying the proposed schemes.2.We propose an information hiding scheme based on the redundant space of WeChat Mini Program codes.The secret information is embedded in the unencoded redundant space,which effectively increases the embedding capacity.In addition,we improve the embedding method.The secret information is integrated with the cover code module.Then all the modules are redrawn,which solves the modification traces and enhances the security and applicability of the scheme.3.We propose a dual information hiding scheme based on Mini Program codes.This scheme can solve the security problem caused by the non-transmission or the additional transmission of the key.We utilize the information hiding technology based on Mini Program codes to embed the key.And the secret information is embedded by the traditional image steganography algorithm.4.We propose a(n,n)n ≥ 4 VSS scheme based on WeChat Mini Program codes.This scheme can be applied to the authority control of multiple users.The users access the WeChat Mini Program by scanning the code.We protect the security of multi-users WeChat Mini Program by protecting the code.A secret Mini Program code is shared into n share codes slightly modified from n cover codes.Each share code is a valid code that can be scanned and decoded correctly.The secret code can be recovered by XORing n shares.The recovered code can be decoded as the same secret Mini Program. |