Add encryption support for assets.