Statistics for Efficient Cryptographic Algorithms and Protocols for Mobile Ad Hoc Networks