django-cryptography
django-cryptography copied to clipboard
Add support for custom form field similar to django's ReadOnlyPasswordHashField which hides the value and provides a route to change the value.
This is a security enhancement currently only using encrypt allows instant access to the encrypted value which could easily be retrieved and modified introducing another protect route should mitigate this issue.
class MyModel(models.Model):
encrypted_field = encrypt(models.CharField(max_length=255))