Python-SJCL-json
NOTE: this is repo fork from https://github.com/berlincode/sjcl , I only change the output result to json string, since the json string will work better together with the origin javascript version.
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.
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) v0.2.2, 2020-01-12 -- Aaron/Arstman, use json to for the result to make more copmatible with javascript version
Metadata
Release files for sjcl-json 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sjcl_json-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for sjcl_json-0.2.3-py3-none-any.whl |
Release files / sjcl_json-0.2.3-py3-none-any.whl
| Download URL | sjcl_json-0.2.3-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
469a2200497e6628ab48f15bb153534ac80dae40defa6c2a16de885ba7eba6c2
|
|
BLAKE2b-256 checksum How to use checksums |
e40de63d1d6b978390c38fd78f7d21e06d6ea2ac3c534aad6dfd894dbac8523a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3
|
Security for sjcl-json 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.