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