Bruno Wolff III <bruno@xxxxxxxx> writes: > That depends on the kind of queries. Searching for exact matches should work > fine. Some other things can be done in special cases. If searching for exact matches works then you're using a naive encryption system. The problem is that it also means your database is vulnerable to dictionary attacks. Good encryption systems will include random padding to ensure that you can't attack it by merely guessing many possible plaintexts and verifying to see if any match. -- greg