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.

Project details

Download files

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

Source Distribution

django-fernet-fields-0.6.tar.gz (6.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page