Skip to main content

Field with encryption/decryption on save/read for use in Peewee ORM models

Project description

https://img.shields.io/badge/license-MIT-blue.svg?style=flat https://badge.fury.io/gh/brake%2Fpeewee_encrypted_field.svg https://img.shields.io/badge/Python-2.7-red.svg

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

Project details


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