Patent ID: 11886557
Assignee: INTERNATIONAL UNIVERSITY (IU)—VIETNAM NATIONAL UNIVERSITY HCM CITY
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for managing credentials with selective disclosure/hiding on a blockchain ecosystem, comprising:
(a) providing mandatory components and optional components to each of a plurality of digital certificates using a smart contract of said blockchain ecosystem, wherein said optional components are characterized to be invisible to verifiers when they are unselected;
(b) publishing said plurality of digital credentials in batch to said blockchain ecosystem;
(c) generating an auditable Merkle tree wherein each leaf node and a root node includes Hash values and attributes of children leaf nodes by adding an extracting and combining function at each of said root node and said leaf nodes; and
(d) verifying said plurality of digital certificates using said auditable Merkle tree and said smart contract and information on issuer receipts generated by said blockchain ecosystem upon the receipt of said smart contract by (i) extracting a first Hash value and a first attribute of a certificate to be verified, a second Hash value and a second attribute of an adjacent certificate paired to said certificate to be verified, a third Hash value and a third attribute from a third certificate located in a leaf node one level higher and adjacent to a parent leaf node of said first Hash value and said second Hash value; (ii) deriving a Hash value of said root node from said first Hash value, said second Hash value and said third Hash value, wherein said steps above obey iterative equations:, Hash
   i
   j
  
  =
  
   Hash
   (
   
    
     Hash
     
      i
      -
      1
     
     
      j
      -
      1
     
    
    ,
    
     Hash
     i
     
      j
      -
      1
     
    
   
   ), Attr
   i
   j
  
  =
  
   Combine
   (
   
    
     Attr
     
      i
      -
      1
     
     
      j
      -
      1
     
    
    ,
    
     Attr
     i
     
      j
      -
      1
     
    
   
   )
  
 

wherein i, j are positive integers; i representing number of said plurality of certificates, and j representing a height of said auditable Merkle tree.