Skip to content

Decrypt and encrypt messages compatible to the "Stanford Javascript Crypto Library (SJCL)"

License

Notifications You must be signed in to change notification settings

berlincode/sjcl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-SJCL

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

Typical usage may look like this:

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

License

Code and documentation copyright Ulf Bartel. Code is licensed under the new-style BSD license.

About

Decrypt and encrypt messages compatible to the "Stanford Javascript Crypto Library (SJCL)"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages