Searching over encrypted data Is there any library/tool available which can allow me to search over encrypted data?  I would like to encrypt data on client side, send it to cloud and perform search in cloud.   I've been reading about homomorphic encryption and though there is CryptDb available which makes it possible to run encrypted DB in cloud, but my use case is slightly different- in my case I want to let users send me encrypted data and I want to be able to do a keyword search (as opposed to user performing search).
Is it possible to match encrypted documents using user-defined search terms? Suppose I am storing a number of encrypted documents in a database. I would like to make it possible to identify the subset of documents whose contents match user-specified search terms without a) maintaining a plaintext index or b) decrypting documents on the fly. Is there any way to accomplish this securely?  By the same token, I'm wondering if a collection of encrypted documents can be sorted according to an encrypted attribute (e.g., document title) without first decrypting all attribute values.
Similes and Metaphors - are similes a subset of metaphors? Jewish Law prohibits the  However, butter, a milk product, is a kitchen staple for most cooked emulsions (eg. pan-sauces, sauces béchamels, or roux-based sauces). While I use appropriate cooking fats for making non-dairy versions for meat dishes, this frequently doesn't work.  What is a non-dairy fat which may be used to as an emulsifier or roux ingredient? Convert a number to a string with specified length in C++ Trigger an event with Prototype Does anybody know of a method to trigger an event in Prototype, as you can with jQuery's trigger function?  I have bound an event listener using the observe method, but I would also like to be able to fire the event programatically.  Thanks in advance The curve $x^3− y^3= 1$ is asymptotic to the line $x = y$. Find the point on the curve farthest from the line $x = y$ (NBHM_2006_PhD Screening Test_Analysis)     The curve $x^3− y^3= 1$ is asymptotic to the line $x = y$. Find the   point on the curve farthest from the line $x = y$   how should i solve this problem Is there a difference between Bayesian and Classical sufficiency? The title pretty much says it all. I wonder whether there is any difference in the way Bayesians understand sufficiency vs. the way orthodox statistics understands sufficiency, or are they equivalent?  If there is a difference, what is it? Change hanging indent in description list I'm trying to get a description's list hanging indent to lie flush with the first line of text.  I have a description list such as the following:  \begin{description}  \item[Label the first] Lorem ipsum dolor sit amet, consectetur adipisicing                         elit, sed do eiusmod tempor incididunt ut labore et                         dolore magna aliqua.  \item[The longest label] Ut enim ad minim veniam, quis nostrud exercitation                           ullamco laboris nisi ut aliquip ex ea commodo                           consequat.  \item[Shrtlbl] Duis aute irure dolor in reprehenderit in voluptate velit esse                 cillum dolore eu fugiat nulla pariatur. \end{description}   This produces the following output:    I would like to have each paragraph indented so that the following lines are flush with the first letter of the list item's text, the way it's laid out in my TeX.  For instance, the "s" of "sectetur" should be right under the "L" of "Lorem".  I've tried looking through the documentation of , but I can't seem to find a good option.  I tried specifying [leftmargin=3cm, style=sameline], but this results in the following:    This isn't quite right: I'm trying to get each item lined up differently, so that the "L" of "Lorem" is not necessarily flush with the "U" of "Ut" or the "D" of "Duis".  Does anybody know a good way to do this? How to only append to clipboard (but not overwrite current data)? I have a rather large file, I need to copy the entire contents somewhere, but when I scroll down the page all the data I have selected becomes unselected. I could just copy and paste block by block, but I would find it much easier as there is a lot of data, to just be able to append the contents to the end of the current clipboard data. Is that possible?  That is so that I can have a keyboard shortcut which will enable me to copy this to the clipboard:  I am some nice new text.   When this is what is already there:  I am the old text.   And have it look like this when pasted:  I am the old text. I am some nice new text.   So there are 3 things that I would really like from this (I would have 3 separate keyboard shortcuts to do this):   Append the data to the end of the clipboard and have it put in a RETURN before it (as shown in the example above). Append the data to the end of the clipboard but have it so that there is not RETURN before it so that it would continue on on the same line initially. Have all this but so that the data is put at the beginning of the clipboard before all the data which is currently there.   I am running Ubuntu GNOME 16.04 with GNOME 3.20. Can I get a certificate from a root CA that I can then use to sign my own web server certificates? I would, if possible, use a signed certificate as an intermediate to sign other certs.  I know that I would have to configure my systems in a certain way with "my" intermediate certificate in order to supply information about the chain of trust to my clients.   Is this possible? Are root CAs willing to sign a certificate like this? Is it expensive?  BACKGROUND  I'm familiar with the basics of SSL as it pertains to securing web traffic over HTTP. I also have a basic understanding of the way the chain of trust works, in that web traffic is secured "by default" if you encrypt with a certificate that has a valid chain all the way back to a root CA, as determined by the browser/OS vendor.  I am also aware that many of the root CAs have begun signing certificates for end users (like me) with intermediate certificates. That may require a bit more setup on my end, but otherwise, those certificates will work fine. I guess this has to do with protecting their all-valuable private key for the CA and the disaster that it would be if i were ever compromised.  EXAMPLES        Now, we are definitely not the size of any of those organizations, but they seem to be doing something like this. It would definitely make the management of these certificates a lot more palatable, especially considering one way we are expanding the reach of our e-commerce platform. asp.net mvc put controllers into a separate project I'm just learning asp.net mvc and I'm trying to figure out how to move my controllers into a separate project.  Typically when I have designed asp.net web apps before, I created one project for my models, another for my logic, and then there was the web.    Now that I'm learning asp.net mvc I was hoping to follow a similar pattern and put the models and controllers each into their own separate projects, and just leave the views/scripts/css in the web.  The models part was easy, but what I don't understand is how to make my controllers in a separate project be "found".  Also, I would like to know if this is advisable.  Thanks! What's the difference between &lt;div class=""&gt; and &lt;div id=""&gt; when it comes to CSS? Is it alright to use &lt;div id=""&gt;?  I see different developers doing this in both ways, and since I'm self taught, I've never really figured it out. I tried to install wine using these commands: sudo apt-get install -y wine  And: sudo apt-get install wine  But terminal says that: Reading package lists... Done Building dependency tree        Reading state information... Done Package wine is a virtual package provided by:   winehq-staging 2.16.0~zesty   winehq-stable 2.0.2~zesty   winehq-devel 2.16.0~zesty   wine-development 2.0-3ubuntu1 You should explicitly select one to install.  E: Package 'wine' has no installation candidate  So there are 4 different version of wine. What is the difference between these versions. Which one is better? I wanted to install Internet Explorer from it and I installed winehq-stable. But I couldn't see that among applications in Winetricks. Do the other versions of wine have more applications to install? What is the difference? How to remember whether box is checked or unchecked (on click) with localstorage and also save a value? Is Adzerk safe / legitimate? We know that $12^2 = 144$ and that $38^2 = 1444$. Are there any other perfect squares in the form of $\frac{13}{9} (10^n - 1) + 1$ (i.e. $1$ followed by $n$ $4$'s), and how would we prove it? After upgrading from 10.04 to 12.04 I am trying to install different packages.  For instance ia32-libs and skype (4.0).  When trying to install these, I am getting the 'Unable to correct problems, you have held broken packages' error message.   Output of commands:  sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   After running this:  sudo dpkg --configure -a foo@foo:~$ sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Button that triggers modal How to collapse consecutive numbers into ranges? I would like to know how to upgrade from my current version of Ubuntu to the next stable from the Command line interface? How can I access a JavaScript object which has spaces in the object's key?