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.2.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pycxx-0.0.2-py3-none-any.whl
(2.6 kB
view details)
File details
Details for the file pycxx-0.0.2.tar.gz.
File metadata
- Download URL: pycxx-0.0.2.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 |
d339183beb3984b0e0ea03cf0b90f3e7a34bd55aeda2a779f1bcff6e9e820cc4
|
|
| MD5 |
10ccdeecde340dbc9235bd11e94da31a
|
|
| BLAKE2b-256 |
e8cbe196afcc4cf83a61cab190e065b88956ed8206d212e28ad62385a4d85a5a
|
File details
Details for the file pycxx-0.0.2-py3-none-any.whl.
File metadata
- Download URL: pycxx-0.0.2-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 |
1854cd6abdbf35cbebbf78d768cfcf72d26cc489fea5b7863d4cde4ba57c5385
|
|
| MD5 |
63168e08fd0aec653ec4e2d8b9d2eaec
|
|
| BLAKE2b-256 |
69dfa39bb21cf3d57e290b5f91974830fee8a73331f92105f0b612cf8718ad3a
|