Statistics for Design and Cryptanalysis of Lightweight Symmetric Key Primitives