https://github.com/kami/python-hybrid-crypto
https://github.com/kami/python-hybrid-crypto
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/kami/python-hybrid-crypto
- Owner: Kami
- License: apache-2.0
- Created: 2013-11-01T11:15:05.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-09T14:54:16.000Z (about 12 years ago)
- Last Synced: 2025-03-20T11:17:15.657Z (over 1 year ago)
- Language: Python
- Size: 145 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
Python Hybrid Crypto
====================
Python module which exposes a simple hybrid cryptography abstraction on
top of KeyCzar and pycrypto.
.. note::
This module has NOT been extensively tested or audited so general usage is
strongly discouraged at this point.
How it works
------------
Key encapsulation scheme
~~~~~~~~~~~~~~~~~~~~~~~~
Key encapsulation scheme uses RSA-OAEP public-key cryptography with 2048 bit
key.
This functionality heavily relies on public-key cryptography functionality
exposed by KeyCzar.
Data encapsulation scheme
~~~~~~~~~~~~~~~~~~~~~~~~~
Data encapsulation scheme uses AES in CBC mode with 256 bit key.
This release on primitives and functionality provided by pycrypto.
Example Usage
-------------
TBW.
Questions and Answers
---------------------
Why do I need this, can't I just use keyczar directly?
------------------------------------------------------
KeyCzar exposes a higher level, safe and easy to use interface for handling
both, asymmetric and symmetric encryption, but it doesn't provide a higher
level interface for handling `hybrid cryptography`_ (well, that's not 100%
accurate, because there is some support, but it's experimental and only
available in Java).
.. _`hybrid cryptography`: http://en.wikipedia.org/wiki/Hybrid_cryptosystem