Fuzzy identities and attribute-based encryption