simple crypting library ;)
Project description
Cxx
simple crypting library
installation
pip install cxx
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.1.tar.gz
(2.5 kB
view details)
File details
Details for the file pycxx-0.0.1.tar.gz.
File metadata
- Download URL: pycxx-0.0.1.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 |
49c668862dc499b70101650ebb2dc1b75adefbb3f9b3ad0af3865117d3a65f28
|
|
| MD5 |
648fadb509d4daeb849bae634af4c3c2
|
|
| BLAKE2b-256 |
311673ce340cb2be2aaf9048337432fc0d7e505df872dcc86591ac6098e1aa84
|