Created decorator for AES encryption