cryptbase-1.0.0
توضیحات
Protect yourself and your customers with database encryption.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | cryptbase-1.0.0 |
| نام | cryptbase |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alexandr Mansurov |
| ایمیل نویسنده | alex@eghuro.cz |
| آدرس صفحه اصلی | https://code.eghuro.com/cryptbase/python-cryptbase |
| آدرس اینترنتی | https://pypi.org/project/cryptbase/ |
| مجوز | MIT |
========
Overview
========
Protect yourself and your customers with database encryption.
* Free software: MIT license
Installation
============
pip install cryptbase
Usage
============
You can use cryptbase with django ORM or with SQLAlchemy.
To use with SQLAlchemy:
from cryptbase import EncryptedText
sensitive = Column(EncryptedText(key=DB_KEY))
To use with django:
from cryptbase import EncryptedTextField
sensitive = EncryptedTextField(key=DB_KEY)
DB_KEY is 32 bytes encryption key as hex encoded string. Fields behave as TEXT fields, data are transparently encrypted
when storing into the database and decrypted on retrieval.
Development
===========
To run all the tests run::
tox
Changelog
=========
1.0.0 (2021-10-17)
------------------
* Encrypted text field for Django and SQLAlchemy with AES-256-CTR
نیازمندی
| مقدار | نام |
|---|---|
| - | cryptography |
| >=3.2 | django |
| >=1.4 | sqlalchemy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl cryptbase-1.0.0:
pip install cryptbase-1.0.0.whl
نصب پکیج tar.gz cryptbase-1.0.0:
pip install cryptbase-1.0.0.tar.gz