Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Decrypt and encrypt messages compatible to the 'Stanford Javascript Crypto Library (SJCL)' message format.

Project Description


[![Travis CI](](
[![Python versions](](
[![new-style BSD](](

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 which is based on sjcl.

Typical usage may look like this:

#!/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



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

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(5.4 kB) Copy SHA256 Hash SHA256
Source None Feb 22, 2018

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate