Skip to main content

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


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 hashes)

Uploaded source

Built Distribution

pycxx-0.0.4-py3-none-any.whl (2.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page