Lightweight Cryptography for Security and Privacy