A Cryptographic Scheme for Real-World Wireless Sensor Networks Applications