4 ms·
It's not nearly that simple. If your encryption scheme is deterministic then this leaks a ton of information, because anybody with the public key can just encry
by teraflop 4y ago
It's not nearly that simple. If your encryption scheme is deterministic then this leaks a ton of information, because anybody with the public key can just encrypt lots of values to reconstruct a mapping between plaintexts and ciphertexts. On the other hand, if your encryption scheme isn't deterministic, then you can't predict what encrypted value you should query for.
- whatshisface 4y agoThose kinds of problems have never stopped any company from offering a service with a lot of nice graphics on the home page.
- 5ersi 4y agoAdd random data to it, so that all (equivalent) data is the same length. For example, if you have a four byte field that represents some monetary value, add four more bytes of random data and encrypt it.
- kientuong114 4y agoHow would you run queries over that?