Field with encryption/decryption on save/read for use in Peewee ORM models
Project description
Encrypted field for Peewee ORM models to save data in DB in encrypted form.
Data stored in DataBase as Fernet tokens . After you define an encryption key all cryptography will be performed transparently for your application.
Uses simple fernet implementation https://github.com/heroku/fernet-py
Idea caught from SQLAlchemy’s EncryptedType.
Usage
TBD