Hi,
Using LLBLGen 4.2.
We have written an LLBLGen type converter that does application-side encrypting/decrypting of data (of an "employee" table) before it's set/get to/from the database (our application can run either on Oracle or SQL Server as the database).
We have the data get encrypted in several columns of the "employee" table. For example, the data encrypted is first-name, last-name, social-security-number, etc.
We have a web page that needs to page through the list of all employees, sorted by last-name.
We are using the LLBLGen call that fetches data by database "page".
The problem is that, since the database "last-name" field is encrypted, we cannot use the database sorting on that field.
The database can have hundreds of thousands of employee records.
There are frequent inserts to the employee table, so insert performance is important. So the idea of updating all records with an "order" column value...when one employee is inserted, seems like a significant performance problem.
Thoughts on a good approach?
Thanks!
note: We have to do application-side encrption, instead of database managed encryption, because our customers want to eliminate the "easy access" people the database-admin rights have to automatically view all database data in unencrypted format.