Skip to main content
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(b"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
v0.2.0, 2018-02-22 -- AES-GCM mode support
v0.2.1, 2018-08-16 -- Fixed README.md (missing 'b' prefix for use with python3)

Release files for sjcl 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sjcl 0.2.1
File Size Uploaded
sjcl-0.2.1.tar.gz 5.5 kB Details

Release files / sjcl-0.2.1.tar.gz

Download URL sjcl-0.2.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3761ba01f9f049eaa2f67516054b7bfb2e27fe8bc7c9c630da7168fba58f0c57
BLAKE2b-256 checksum
How to use checksums
167068ec8c51690e450f878a22adea5e10c5e554cf6fa952de2240f1f5a4d484
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.8.1 pkginfo/1.2.1 requests/2.12.4 setuptools/33.1.1 requests-toolbelt/0.7.0 clint/0.5.1 CPython/3.5.3 Linux/4.9.0-7-amd64

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2.0

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page