We are using Spring Boot for web development and PostgreSQL as Back-end
We have user_table where we store user mobile number in encrypted format and for encryption and decryption values, AES algorithm is used in business logic layer.
We are displaying User list at front side and provided "Search Filter" text-box element so User can search any values contains in User name or other values like City, State etc in user_table rows.
Please note that we are using pagination at server side.
But we can not search by mobile number in Database as it is stored in encrypted format.If we use client side pagination then it can search within list but it is not possible to change pagination from server side to client side.
Please guide me that how can I search users by mobile number in DB with encrypted value.