I want to encrypt my data before save them in my database.
One of my fields is a numeric value and I want to search in the table items upper or lower than a specified item. For example I save my data 3287 encoded, and I want to find which items has value upper than 500.
In the case of huge rows (For example 100,000,000 rows) it is too inefficient to decrypt each element and check the value.
Is there any better solution for my problem?