Statistics for Analysis and Design of Authentication and Encryption Algorithms for Secure Cloud Systems