simple crypting library ;)
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycxx-0.0.4.tar.gz
(2.5 kB
view details)
Built Distribution
pycxx-0.0.4-py3-none-any.whl
(2.6 kB
view details)
File details
Details for the file pycxx-0.0.4.tar.gz
.
File metadata
- Download URL: pycxx-0.0.4.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97c5ea054364810c2168b7afe7f00c3eccdcee417ff5690cc124fa27f9707c68 |
|
MD5 | 025a295e233b34ff28bc0cce965ad75f |
|
BLAKE2b-256 | 37f39e65bf90236913a3ade2239f28ea2a956b9841bbe72171c28f5866da8841 |
File details
Details for the file pycxx-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: pycxx-0.0.4-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bca5b4dc461c689628e80f59488ba5b03fd4849ff0f0cebd9470cce204b3ad9 |
|
MD5 | 63c457d1654aa790cd7573fd8aa25088 |
|
BLAKE2b-256 | 331527089bbd1851acc34cc6cb9de4e2110ade6ecf66bc6c785a4db56ac2e5b9 |