Custom Field Types with Fernet encryption #514
arnabJ
started this conversation in
Show and tell
Replies: 1 comment
-
Released a new version v0.0.3 with 3 new custom Field types: EncryptedInt |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Package Name: odmantic-fernet-field-type
I made a small package which provides multiple custom field types - EncryptedString, EncryptedInt, EncryptedFloat & EncryptedJSON.
They use the Fernet module from cryptography to encrypt/decrypt the values.
The data is encrypted before sending to the Database and decrypted after fetching the data.
I hope this proves useful to a lot of users. I got the idea from the django alternatives - django-fernet-fields and django-fernet-encrypted-fields packages.
It can be found here:
Github: https://github.com/arnabJ/ODMantic-Fernet-Field-Type
PyPi: https://pypi.org/project/odmantic-fernet-field-type/
Beta Was this translation helpful? Give feedback.
All reactions