To each a∈A associate a set H(a) of strings of t symbols, where H(a), a∈A are pairwise disjoint. Replace each a with a randomly chosen string from H(a). To decrypt a string c of t symbols, one must determine an a∈A such that c∈H(a). The key for the cipher is the sets H(a).