Hardware Implementation of AES Encryption and Decryption