objcrypt
easily encrypt and decrypt python object and JSON objects with AES CBC 32 Block Encryption
installation
pip install objcrypt
or
python3 setup.py install
usage
import objcrypt, json
crypter = objcrypt.Crypter('key', 'cbc')
dictionary = {
'test': 'test value'
}
encrypted_dict = crypter.encrypt_object(dictionary)
# encrypted_dict now has encrypted values
json_dict = json.loads(dictionary)
enc_json = crypter.encrypt_json(json_dict)
# enc_json is now encrypted
dec_dict = crypter.decrypt_object(encrypted_dict)
# decoded now
dec_json = crypter.decrypt_json(enc_json)
# decoded json object now
Metadata
Release files for objcrypt 0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| objcrypt-0.6.tar.gz | 1.9 kB | Without provenance | Details for objcrypt-0.6.tar.gz |
Release files / objcrypt-0.6.tar.gz
| Download URL | objcrypt-0.6.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58f14173f7b98e4992a4ba1b43e21f56b48567c5c2bb3b0640105d139f8019e8
|
|
BLAKE2b-256 checksum How to use checksums |
35f18cdaaa96d4a90280cb974cf1a2e12f313e4913ece871fe06b07f5810f881
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6
|
Security for objcrypt 0.6
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.