Cryptography Utilities
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 generate_private_key() -> str
-
ENCODE
- Encodes a given string
encode(str_to_encode: str) -> str
- Encodes a given string
-
DECODE
- Decodes a given string
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
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.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for ddccryptography-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df7f7c5bed3b3cb593d755232f96db1af03bc81bf5b98ee77e54e59bdb176dc5 |
|
MD5 | 36d491b17a9a398b7b656fe3cd535b94 |
|
BLAKE2b-256 | 7a1bc245315ebc188b8eb9f8511bb50ba04dfa28c7a65602671bae08675578fd |