Encode and Decode Strings
Project description
Few Utility Functions
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
- Encodes a given string
-
DECODE
- Decodes a given string
cp.decode(str_to_decode: str) -> str
- Decodes a given string
Source Code
Build
poetry build
Run Tests
poe test
Get Coverage Report
poe coverage
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!
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
ddccryptography-1.0.1.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for ddccryptography-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6eed05dcf8e810ae1d49f29ba9b390cd8082081408b3e4a8533865139389670 |
|
MD5 | 1c90eb7506d659e995f7fbd55fa4727d |
|
BLAKE2b-256 | fd1326be3db5bf5aecd5fda627d7145a0c6e45fb4dac078e273e7f6b5ae357fb |