Skip to main content

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

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)

Source distribution for objcrypt 0.6
File Size Uploaded
objcrypt-0.6.tar.gz 1.9 kB Details

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

Release history Release notifications | RSS feed

This release

0.6 This release

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

2 release files

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