Skip to main content

Encode and Decode Strings

Project description

Few Utility Functions

License Python PyPi Build Status

Install

pip install ddcCryptography

Cryptography

from ddcCryptography import Cryptography
cp = Cryptography()
  • GENERATE_PRIVATE_KEY

    • Generates a private key to be used instead of default one
    • But keep in mind that this private key will be needed to decode further strings
      @staticmethod
      cp.generate_private_key() -> str
      
  • ENCODE

    • Encodes a given string
      cp.encode(str_to_encode: str) -> str
      
  • DECODE

    • Decodes a given string
      cp.decode(str_to_decode: str) -> str
      

Source Code

Build

poetry build

Run Tests

poetry run coverage run -m pytest -v

Get Coverage Report

poetry run coverage report

License

Released under the MIT License

Buy me a cup of coffee

I know there are people out there that may want to donate just to show their appreciation. Thanks in advance!

paypal

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

ddccryptography-1.0.5.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

ddccryptography-1.0.5-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file ddccryptography-1.0.5.tar.gz.

File metadata

  • Download URL: ddccryptography-1.0.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ddccryptography-1.0.5.tar.gz
Algorithm Hash digest
SHA256 86b1eaa6c6303549aa4ec460a5b6aa86af1a69597a8f0f4317af3165c0f60f9c
MD5 acccb94af08eae4131fd25ed5acd9e1b
BLAKE2b-256 bf7ce33f26e1c337ac4ab766f5424a4f6df886624c15a83eeca5981ef5abd823

See more details on using hashes here.

File details

Details for the file ddccryptography-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for ddccryptography-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dc6720473d0feb7e4a90a4cf49170547abe9b18952bb155c66f1d13bce2cc18e
MD5 ae9b25a05135cba2eacaeac9b8cedc42
BLAKE2b-256 691090da80089ba67636ddcff9d6b021bec999a6fc81f484fd328e32a09c7020

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