Skip to main content

simple crypting library ;)

Project description


simple crypting library


pip install pycxx


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",
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 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