Cxx
simple crypting library
installation
pip install pycxx
usage
import pycxx
c = pycxx.Cxx(key="password", expires=0)
"""${expires} is the Time in milliseconds for the
encrypted password to be destroyed
setting ${encrypted} to 0 implies the data would
not be destroyed
"""
# to encrypt;
data = dict(
name="rubbie kelvin",
country="Nigeria"
)
encrypted = c.encrypt(**data) # =>str
# to decrypt
data2 = pycxx.Cxx.decrypt(encrypted, key="password") # => dict
made with ❤️ by rubbie
Release files for pycxx 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycxx-0.0.4.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycxx-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 kB
Release files / pycxx-0.0.4.tar.gz
| Download URL | pycxx-0.0.4.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97c5ea054364810c2168b7afe7f00c3eccdcee417ff5690cc124fa27f9707c68
|
|
BLAKE2b-256 checksum How to use checksums |
37f39e65bf90236913a3ade2239f28ea2a956b9841bbe72171c28f5866da8841
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Release files / pycxx-0.0.4-py3-none-any.whl
| Download URL | pycxx-0.0.4-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5bca5b4dc461c689628e80f59488ba5b03fd4849ff0f0cebd9470cce204b3ad9
|
|
BLAKE2b-256 checksum How to use checksums |
331527089bbd1851acc34cc6cb9de4e2110ade6ecf66bc6c785a4db56ac2e5b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|