This is done using a complex blockchain-based system that runs a condition (such as age) in an encrypted form, generating a proof, and letting an outside system verify it using public keys, ensuring privacy without exposing the underlying information.