Skip to main content

Cryptography Utilities

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
      generate_private_key() -> str
      
  • ENCODE

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

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

Source Code

Build

poetry build

Run Tests

poe test

Get Coverage Report

poe coverage

License

Released under the MIT License

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

Uploaded Source

Built Distribution

ddccryptography-1.0.0-py3-none-any.whl (4.1 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