Django-fields is an application which includes different kinds of models fields.
Right now, application contains two fields with encryption support: EncryptedCharField and EncryptedTextField.
This application depends on python-crypto, which can be found in many Linux repositories, or downloaded from http://www.dlitz.net/software/pycrypto/.
Under Ubuntu, just do:
sudo apt-get install python-crypto
Examples can be found at the examples
directory. Look at the, tests.py
.
Thanks to zbyte64 for his django snippet for encrypted fields. After some fixes, this snippet works as supposed.