Skip to main content

Fernet-encrypted model fields for Django

Project description

Test status Test coverage Documentation Status Latest version

Fernet symmetric encryption for Django model fields, using the cryptography library.

django-fernet-fields supports Django 1.11 and later on Python 2.7, 3.5, 3.6, 3.7, pypy, and pypy3.

Only PostgreSQL, SQLite, and MySQL are tested, but any Django database backend with support for BinaryField should work.

Getting Help

Documentation for django-fernet-fields is available at

This app is available on PyPI and can be installed with pip install django-fernet-fields.


See the contributing docs.


master (unreleased)

0.5 (2017.02.22)

  • Support Django 1.10.

0.4 (2015.09.18)

  • Add isnull lookup.

0.3 (2015.05.29)

  • Remove DualField and HashField. The only cases where they are useful, they aren’t secure.

0.2.1 (2015.05.28)

  • Fix issue getting IntegerField validators.

0.2 (2015.05.28)

  • Extract HashField for advanced lookup needs.

0.1 (2015.05.27)

  • Initial working version.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-fernet-fields, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size django-fernet-fields-0.6.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page