1. A method for encrypting a database, comprising: encrypting keywords in the database to obtain encrypted search tags for the keywords; generating a table of reverse indices for the encrypted search tags; and generating a table of cross keyword indices; wherein the encrypting and generating steps are performed in accordance with one or more processing devices.