You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The one above additionally provides a custom lookup function for postgres which can decrypt and filter values natively in the db using postgres functions 'decrypt' and 'convert_from', instead of requiring a loop and filter on a queryset in python. django-encrypted-fields package does not. This almost certainly improves performance even though it is still having to decrypt and decode every row of the table.
The text was updated successfully, but these errors were encountered:
custom encrypted textfield class works fine
auth_microservice/src/microservice/token_service/models.py
Lines 5 to 24 in 4ba643e
However there are a couple of pip packages out there which can handle text along with dates and other object types, which could be nice.
https://github.com/dcwatson/django-pgcrypto
The one above additionally provides a custom lookup function for postgres which can decrypt and filter values natively in the db using postgres functions 'decrypt' and 'convert_from', instead of requiring a loop and filter on a queryset in python. django-encrypted-fields package does not. This almost certainly improves performance even though it is still having to decrypt and decode every row of the table.
The text was updated successfully, but these errors were encountered: