Statistics for Secure Schemes for Semi-Trusted Environment