All the previous library provided before are partially dead, maybe opting to use this library https://github.com/jazzband/django-fernet-encrypted-fields, offers a maintained, drop‑in solution for automatically encrypting and decrypting text fields in Django.