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.2.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page