Optimized Hardware Implementations of Lightweight Cryptography