Efficient Hardware Implementations of Cryptographic Primitives by