This is a demonstration of the use of AnonCreds to achieve selective disclosure. The US states require documents such as passports, social security cards, bank statements, etc. to verify the applicant for issuing a driver's license or real ID. These documents are nothing but credentials. This example code has made assumptions about the digital representations of these credentials and then used these credentials to disclose only the minimal information needed to verify the applicant.
This is a demonstration of the use of AnonCreds to achieve selective disclosure. The US states require documents such as passports, social security cards, bank statements, etc. to verify the applicant for issuing a driver's license or real ID. These documents are nothing but credentials. This example code has made assumptions about the digital representations of these credentials and then used these credentials to disclose only the minimal information needed to verify the applicant.