{"id":21300620,"url":"https://github.com/ironvenom/encdecpy","last_synced_at":"2025-10-09T23:32:27.298Z","repository":{"id":57426347,"uuid":"181731475","full_name":"IronVenom/encdecpy","owner":"IronVenom","description":"Python package for encoding and decoding strings using classical cipher algorithms.","archived":false,"fork":false,"pushed_at":"2022-01-09T15:47:41.000Z","size":43,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-09T15:04:37.413Z","etag":null,"topics":["classical-ciphers","cryptography","decoding","encoding","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/encdecpy/","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/IronVenom.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}},"created_at":"2019-04-16T16:58:00.000Z","updated_at":"2024-09-27T22:22:14.000Z","dependencies_parsed_at":"2022-09-11T05:01:59.262Z","dependency_job_id":null,"html_url":"https://github.com/IronVenom/encdecpy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IronVenom/encdecpy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronVenom%2Fencdecpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronVenom%2Fencdecpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronVenom%2Fencdecpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronVenom%2Fencdecpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IronVenom","download_url":"https://codeload.github.com/IronVenom/encdecpy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronVenom%2Fencdecpy/sbom","scorecard":{"id":67889,"data":{"date":"2025-08-11","repo":{"name":"github.com/IronVenom/encdecpy","commit":"cca838765e55af846484eebb71f1f49645d147c6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-15T03:02:00.846Z","repository_id":57426347,"created_at":"2025-08-15T03:02:00.846Z","updated_at":"2025-08-15T03:02:00.846Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002313,"owners_count":26083340,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["classical-ciphers","cryptography","decoding","encoding","python"],"created_at":"2024-11-21T15:28:09.428Z","updated_at":"2025-10-09T23:32:27.282Z","avatar_url":"https://github.com/IronVenom.png","language":"Python","readme":"![PyPI - Version](https://img.shields.io/pypi/v/encdecpy.svg) ![PyPI - Version](https://img.shields.io/pypi/l/encdecpy.svg)      \n\n# encdecpy\nPython package to encode and decode strings using ciphers.\n\n## Installation\n\n```\n$ pip install encdecpy\n```\n\n## Usage\n\nThe package provides the following ciphers to encode and decode strings - \n\n1. [Affine Cipher](#affine-cipher)\n2. [Atbash Cipher](#atbash-cipher)\n3. [Autokey Cipher](#autokey-cipher)\n4. [Baconian Cipher](#baconian-cipher)\n5. [Base64 Cipher](#base64-cipher)\n6. [Beaufort Cipher](#beaufort-cipher)\n7. [Caesar Cipher](#caesar-cipher)\n8. [Columnar Transposition Cipher](#columnar-transposition-cipher)\n9. [Polybius Square Cipher](#polybius-square-cipher)\n10. [Rail Fence Cipher](#rail-fence-cipher)\n11. [ROT13 Cipher](#rot13-cipher)\n12. [Running Key Cipher](#running-key-cipher)\n13. [Simple Substitution Cipher](#simple-substitution-cipher)\n14. [Vignere Cipher](#vignere-cipher)\n\n### Affine Cipher\n```python\nfrom encdecpy import affine\n```\n* affine.encode(string, a, b) - Returns the encoded string.\n* affine.decode(string, a, b) - Returns the decoded string.\n\u003e a and b are integers between 0 and 25. a should be relatively prime to 26 and lie between 0 to 25 (both inclusive).\n\n### Atbash Cipher\n```python\nfrom encdecpy import atbash\n```\n* atbash.encode(string) - Returns the encoded string.\n* atbash.decode(string) - Returns the decoded string.\n\n### Autokey Cipher\n```python\nfrom encdecpy import autokey\n```\n* autokey.encode(string, key) - Returns the encoded string.\n* autokey.decode(string, key) - Returns the decoded string.\n\u003e key is a string.\n\n### Baconian Cipher\n```python\nfrom encdecpy import baconian\n```\n* baconian.encode(string) - Returns the encoded string.\n* baconian.decode(string) - Returns the decoded string.\n\n### Base64 Cipher\n```python\nfrom encdecpy import base64\n```\n* base64.encode(string) - Returns the encoded string.\n* base64.decode(string) - Returns the decoded string.\n\n### Beaufort Cipher\n```python\nfrom encdecpy import beaufort\n```\n* beaufort.encode(string, key) - Returns the encoded string.\n* beaufort.decode(string, key) - Returns the decoded string.\n\u003e key is a string.\n\n### Caesar Cipher\n```python\nfrom encdecpy import caesar\n```\n* caesar.encode(string, key) - Returns the encoded string.\n* caesar.decode(string, key) - Returns the decoded string.\n\u003e key is a whole number.\n\n### Columnar Transposition Cipher\n```python\nfrom encdecpy import columnartransposition\n```\n* columnartransposition.encode(string, key) - Returns the encoded string.\n* columnartransposition.decode(string, key) - Returns the decoded string.\n\u003e key is a string and should contain unique characters between A-Z.\n\n### Polybius Square Cipher\n```python\nfrom encdecpy import polybiussquare\n```\n* polybiussquare.encode(string, key) - Returns the encoded string.\n* polybiussquare.decode(string, key) - Returns the decoded string.\n\u003e key is a string and should contain unique characters between a-z with one alphabet missing. Length of key should be 25. An example key - phqgiumeaylnofdxkrcvstzwb.\n\n### Rail Fence Cipher\n```python\nfrom encdecpy import railfence\n```\n* railfence.encode(string, key) - Returns the encoded string.\n* railfence.decode(string, key) - Returns the decoded string.\n\u003e key is a positive number denoting the number of rails.\n\n### ROT13 Cipher\n```python\nfrom encdecpy import rot13\n```\n* rot13.encode(string) - Returns the encoded string.\n* rot13.decode(string) - Returns the decoded string.\n\n### Running Key Cipher\n```python\nfrom encdecpy import runningkey\n```\n* runningkey.encode(string, key) - Returns the encoded string.\n* runningkey.decode(string, key) - Returns the decoded string.\n\u003e key is a large string, usually a paragraph taken from a book.\n\n### Simple Substitution Cipher\n```python\nfrom encdecpy import simplesubstitution\n```\n* simplesubstitution.encode(string, key) - Returns the encoded string.\n* simplesubstitution.decode(string, key) - Returns the decoded string.\n* simplesubstitution.generate_random_key() - Returns a randomly generated key.\n\u003e key is a string containing a permutation of the alphabets (a-z), with no other characters. String should contain only unique characters.\n\n### Vignere Cipher\n```python\nfrom encdecpy import vignere\n```\n* vignere.encode(string, key) - Returns the encoded string.\n* vignere.decode(string, key) - Returns the decoded string.\n\u003e key is a string, usually a single word.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironvenom%2Fencdecpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironvenom%2Fencdecpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironvenom%2Fencdecpy/lists"}