A sketch of two and three bodies AIP Conf.Abstract. Secure sketch has been applied successfully in a wide variety of applications like cryptography, biometric authentication systems and so on. All of these secure sketches have properties in common namely error-tolerance and small entropy loss. The former ensures an input set wc can unlock the system if wc is substantially overlapped with a template set w while the latter means it is hard for an adversary to get the information of w even with the knowledge of s , which is produced by w and stored in the system publicly. In their constructions, they all consider w as a set of atomic elements. However, in the real word, it is very likely the elements in the template set are sets as well. In this paper, we propose a double layer secure sketch to address this issue.