Decrypt and encrypt messages compatible to the 'Stanford Javascript Crypto Library (SJCL)' message format.
Project description
Python-SJCL
===========
[![Travis CI](https://travis-ci.org/berlincode/sjcl.svg?branch=master&style=flat)](https://travis-ci.org/berlincode/sjcl)
[![Python versions](https://img.shields.io/pypi/pyversions/sjcl.svg)](https://pypi.python.org/pypi/sjcl/)
[![new-style BSD](https://img.shields.io/pypi/l/sjcl.svg)](https://github.com/berlincode/sjcl/blob/master/LICENSE.txt)
Decrypt and encrypt messages compatible to the "Stanford Javascript Crypto
Library (SJCL)" message format. This is a wrapper around pycrypto.
This module was created while programming and testing the encrypted
blog platform on cryptedblog.com which is based on sjcl.
Typical usage may look like this:
```python
#!/usr/bin/env python
from sjcl import SJCL
cyphertext = SJCL().encrypt("secret message to encrypt", "shared_secret")
print cyphertext
print SJCL().decrypt(cyphertext, "shared_secret")
```
Public repository
-----------------
[https://github.com/berlincode/sjcl](https://github.com/berlincode/sjcl)
License
-------
Code and documentation copyright Ulf Bartel. Code is licensed under the
[new-style BSD license](./LICENSE.txt).
v0.1.1, 2014-05-21 -- Initial public release.
v0.1.4, 2016-04-17 -- Re-init of repository after homepage changed.
v0.1.5, 2016-07-12 -- Python3 compat
v0.1.6, 2017-07-31 -- Now dependent on pycryptodome
===========
[![Travis CI](https://travis-ci.org/berlincode/sjcl.svg?branch=master&style=flat)](https://travis-ci.org/berlincode/sjcl)
[![Python versions](https://img.shields.io/pypi/pyversions/sjcl.svg)](https://pypi.python.org/pypi/sjcl/)
[![new-style BSD](https://img.shields.io/pypi/l/sjcl.svg)](https://github.com/berlincode/sjcl/blob/master/LICENSE.txt)
Decrypt and encrypt messages compatible to the "Stanford Javascript Crypto
Library (SJCL)" message format. This is a wrapper around pycrypto.
This module was created while programming and testing the encrypted
blog platform on cryptedblog.com which is based on sjcl.
Typical usage may look like this:
```python
#!/usr/bin/env python
from sjcl import SJCL
cyphertext = SJCL().encrypt("secret message to encrypt", "shared_secret")
print cyphertext
print SJCL().decrypt(cyphertext, "shared_secret")
```
Public repository
-----------------
[https://github.com/berlincode/sjcl](https://github.com/berlincode/sjcl)
License
-------
Code and documentation copyright Ulf Bartel. Code is licensed under the
[new-style BSD license](./LICENSE.txt).
v0.1.1, 2014-05-21 -- Initial public release.
v0.1.4, 2016-04-17 -- Re-init of repository after homepage changed.
v0.1.5, 2016-07-12 -- Python3 compat
v0.1.6, 2017-07-31 -- Now dependent on pycryptodome
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sjcl-0.1.7.tar.gz
(5.3 kB
view hashes)