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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pycxx-0.0.4.tar.gz.

File metadata

  • Download URL: pycxx-0.0.4.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

Hashes for pycxx-0.0.4.tar.gz
Algorithm Hash digest
SHA256 97c5ea054364810c2168b7afe7f00c3eccdcee417ff5690cc124fa27f9707c68
MD5 025a295e233b34ff28bc0cce965ad75f
BLAKE2b-256 37f39e65bf90236913a3ade2239f28ea2a956b9841bbe72171c28f5866da8841

See more details on using hashes here.

File details

Details for the file pycxx-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pycxx-0.0.4-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

Hashes for pycxx-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5bca5b4dc461c689628e80f59488ba5b03fd4849ff0f0cebd9470cce204b3ad9
MD5 63c457d1654aa790cd7573fd8aa25088
BLAKE2b-256 331527089bbd1851acc34cc6cb9de4e2110ade6ecf66bc6c785a4db56ac2e5b9

See more details on using hashes here.

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