Functional encryption (FE) allows encoding spending constraints directly into a Bitcoin signing key. This approach enables the enforcement of covenant-like behavior without requiring changes to the Bitcoin consensus rules, as nodes verify signatures using the existing OP_CHECKSIG operation.
Proposed by Jeremy Rubin in May 2024, the design uses multi-input functional encryption to restrict signing to transactions that meet predefined conditions. The system relies on a setup authority that generates a master secret and a Bitcoin key pair, which must be destroyed after the initial configuration to ensure security.
While theoretically expressive, FE-based covenants face significant practical hurdles. Current cryptographic implementations of the required primitives, such as indistinguishability obfuscation, are computationally intensive. Research from 2017 showed that obfuscating a small circuit required 120 GB of disk space and 67 minutes of evaluation time.
The author notes that practical FE schemes currently support only limited function classes, excluding the ECDSA signing required for Bitcoin. Consequently, while FE-based covenants avoid the need for a soft fork, they remain far less efficient than proposals like OP_CTV, which require base-layer modifications.




