Conditional Crypto Provider
class ConditionalCryptoProvider(enabledProvider: () -> Boolean, delegate: CryptoProvider) : CryptoProvider
Wraps a real crypto provider and turns it into a configuration-driven switch.
This supports "progressive enhancement": deployments can disable encryption for non-sensitive pilots, while still using the same code paths.