{"id":22055273,"url":"https://github.com/ddc/ddccryptography","last_synced_at":"2026-02-11T18:04:41.373Z","repository":{"id":242941990,"uuid":"811011074","full_name":"ddc/ddcCryptography","owner":"ddc","description":"Encode and Decode strings with Cryptography","archived":false,"fork":false,"pushed_at":"2024-12-19T20:47:11.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-12-22T15:55:58.350Z","etag":null,"topics":["cryptography","ddccryptography","decode","decoder","encode","encoder","python","python-3","python3"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/ddcCryptography","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ddc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-05T19:14:39.000Z","updated_at":"2024-12-19T20:46:31.000Z","dependencies_parsed_at":"2024-10-20T16:16:21.373Z","dependency_job_id":null,"html_url":"https://github.com/ddc/ddcCryptography","commit_stats":null,"previous_names":["ddc/ddccryptography"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddc%2FddcCryptography","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddc%2FddcCryptography/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddc%2FddcCryptography/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddc%2FddcCryptography/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddc","download_url":"https://codeload.github.com/ddc/ddcCryptography/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230852613,"owners_count":18290082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptography","ddccryptography","decode","decoder","encode","encoder","python","python-3","python3"],"created_at":"2024-11-30T16:06:09.987Z","updated_at":"2025-10-08T18:18:06.185Z","avatar_url":"https://github.com/ddc.png","language":"Python","funding_links":["https://www.paypal.com/ncp/payment/6G9Z78QHUD4RJ","https://github.com/sponsors/ddc","https://ko-fi.com/ddcsta"],"categories":[],"sub_categories":[],"readme":"# Encode and Decode strings with Cryptography\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-brightgreen.svg?style=plastic)](https://www.paypal.com/ncp/payment/6G9Z78QHUD4RJ)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![PyPi](https://img.shields.io/pypi/v/ddcCryptography.svg)](https://pypi.python.org/pypi/ddcCryptography)\n[![PyPI Downloads](https://static.pepy.tech/badge/ddcCryptography)](https://pepy.tech/projects/ddcCryptography)\n[![codecov](https://codecov.io/gh/ddc/ddcCryptography/graph/badge.svg?token=Q25ZT1URLS)](https://codecov.io/gh/ddc/ddcCryptography)\n[![CI/CD Pipeline](https://github.com/ddc/ddcCryptography/actions/workflows/workflow.yml/badge.svg)](https://github.com/ddc/ddcCryptography/actions/workflows/workflow.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ddc_ddcCryptography\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=ddc_ddcCryptography)  \n[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A//actions-badge.atrox.dev/ddc/ddcCryptography/badge?ref=main\u0026label=build\u0026logo=none)](https://actions-badge.atrox.dev/ddc/ddcCryptography/goto?ref=main)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Python](https://img.shields.io/pypi/pyversions/ddcCryptography.svg)](https://www.python.org/downloads)\n\n[![Support me on GitHub](https://img.shields.io/badge/Support_me_on_GitHub-154c79?style=for-the-badge\u0026logo=github)](https://github.com/sponsors/ddc)\n\n## Table of Contents\n\n- [Install](#install)\n- [Cryptography](#cryptography)\n  - [Generate Private Key](#generate-private-key)\n  - [Encode](#encode)\n  - [Decode](#decode)\n- [Development](#development)\n  - [Building from Source](#building-from-source)\n  - [Running Tests](#running-tests)\n- [License](#license)\n- [Support](#support)\n\n# Install\n```shell\npip install ddcCryptography\n```\n\n# Cryptography\n\n## Generate Private Key\n+ Generates a private key to be used instead of default one\n+ But keep in mind that this private key WILL BE NEEDED TO DECODE FURTHER STRINGS\n+ Example of custom private key as \"my_private_key\" bellow\n\n```python\nfrom ddcCryptography import Cryptography\ncp = Cryptography()\ncp.generate_private_key()\n```\n\n\n\n## Encode\n+ Encodes a given string\n```python\nfrom ddcCryptography import Cryptography\nstr_to_encode = \"test_str\"\ncp = Cryptography()\ncp.encode(str_to_encode)\n```\n\n```python\nfrom ddcCryptography import Cryptography\nstr_to_encode = \"test_str\"\ncp = Cryptography(\"my_private_key\")\ncp.encode(str_to_encode)\n```\n \n\n\n## Decode\n+ Decode a given string\n```python\nfrom ddcCryptography import Cryptography\nstr_to_decode = \"gAAAAABnSdKi5V81C_8FkM_I1rW_zTuyfnxCvvZPGFoAoHWwKzceue8NopSpWm-pDAp9pwAIW3xPbACuOz_6AhZOcjs3NM7miw==\"\ncp = Cryptography()\ncp.decode(str_to_decode)\n```\n\n```python\nfrom ddcCryptography import Cryptography\nstr_to_decode = \"gAAAAABnSdKi5V81C_8FkM_I1rW_zTuyfnxCvvZPGFoAoHWwKzceue8NopSpWm-pDAp9pwAIW3xPbACuOz_6AhZOcjs3NM7miw==\"\ncp = Cryptography(\"my_private_key\")\ncp.decode(str_to_decode)\n```\n\n\n\n# Development\n\n### Building from Source\n```shell\npoetry build -f wheel\n```\n\n### Running Tests\n```shell\npoetry update --with test\npoe tests\n```\n\n\n\n# License\nReleased under the [MIT License](LICENSE)\n\n\n\n# Support\nIf you find this project helpful, consider supporting development:\n\n- [GitHub Sponsor](https://github.com/sponsors/ddc)\n- [ko-fi](https://ko-fi.com/ddcsta)\n- [PayPal](https://www.paypal.com/ncp/payment/6G9Z78QHUD4RJ)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddc%2Fddccryptography","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddc%2Fddccryptography","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddc%2Fddccryptography/lists"}