Analysis and design of tamperproof and contrastenhanced secret sharing based on visual cryptography schemes