Implement encryption for bundles.