{"id":15679341,"url":"https://github.com/kalebu/ascii-encryption-python","last_synced_at":"2025-11-01T04:04:22.344Z","repository":{"id":103910267,"uuid":"331656340","full_name":"Kalebu/ascii-encryption-python","owner":"Kalebu","description":"ASCII based encryption algorithm implemented in Python ","archived":false,"fork":false,"pushed_at":"2023-11-20T10:40:23.000Z","size":4,"stargazers_count":19,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-02T08:56:57.785Z","etag":null,"topics":["ascii-encoders","ascii-encryption-python","encryption","encryption-decryption","python-encryption","python-project-beginner","python-projects","python3"],"latest_commit_sha":null,"homepage":"https://kalebujordan.dev/","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/Kalebu.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,"zenodo":null}},"created_at":"2021-01-21T14:40:16.000Z","updated_at":"2024-03-12T05:49:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b6040dd-b6f3-4c2b-85e9-66292c5b126d","html_url":"https://github.com/Kalebu/ascii-encryption-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kalebu/ascii-encryption-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kalebu%2Fascii-encryption-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kalebu%2Fascii-encryption-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kalebu%2Fascii-encryption-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kalebu%2Fascii-encryption-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kalebu","download_url":"https://codeload.github.com/Kalebu/ascii-encryption-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kalebu%2Fascii-encryption-python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264721462,"owners_count":23653939,"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":["ascii-encoders","ascii-encryption-python","encryption","encryption-decryption","python-encryption","python-project-beginner","python-projects","python3"],"created_at":"2024-10-03T16:29:14.116Z","updated_at":"2025-11-01T04:04:22.304Z","avatar_url":"https://github.com/Kalebu.png","language":"Python","readme":"# ascii-encryption-python\nBeginner guide to ascii based encryption implemented in Python \n\nGetting started \n----------------\nThis is just a simple encryption algorithms that can be cool when it comes to understanding and exploring how does encryption works, but not seriously used to handle security on real life circumstances \n\nTo get started with repo you might have to clone or download the repository just as shown below;\n\n```bash\n\ngit clone https://github.com/Kalebu/ascii-encryption-python\n\n```\n\nBasics\n----------------\nIf you're new to ascii encryption, this simple involving converting the alphabetics to their ascii numerical value and using a secret number to add or substract from their real value and then turning back into characters as encrypted one.\n\nFor instance \n\n```bash\n\nEncrypting \n\na - \u003e 97 -\u003e 97 (+|-) secret_number -\u003e new characer\n\nLets say our secret number is 5\n\na -\u003e 97 -\u003e 97 + 5 -\u003e f\n\nDecrypting \n\nTo descrypt we need to know the secret number otherwise we wont be able to do it so\n\nf -\u003e 102 -\u003e 102 (+|-) secret number -\u003e decrypted character\n\nSince we know the serect number is 5\n\nf -\u003e 102 -\u003e 102 - 5 \u003e a \n\n```\n\nIn this repository I have implemented two simple function just do that, which take a textual input of any size and then encrypt it using ascii value based on your secret number and then it will return back encrypted text.\n\nSamewise to decryption, you are going to specify the secret number and then it will recieve your encrypted text input and then render to you decrypted text output \n\n\nDemo \n------------\n\n```python\n\u003e\u003e\u003e from algorithms import encrypt , decrypt\n\u003e\u003e\u003e army_text = \"Throw the missiles at 9pm\"\n\u003e\u003e\u003e encrypt(army_text, key=10)\n'^r|y\\x81*~ro*ws}}svo}*k~*Czw'\n\u003e\u003e\u003e decrypt('^r|y\\x81*~ro*ws}}svo}*k~*Czw', key=10)\n'Throw the missiles at 9pm'\n```\n\nExplore it \n-----------\nNow keep explore it by testing it with various input text to see how you can twist it to your own use\n\nGive it a star \n--------------\nDid you find this information useful, then give it a star \n\n\nCredits\n-----------\nAll the credits to [kalebu](github.com/kalebu)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalebu%2Fascii-encryption-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkalebu%2Fascii-encryption-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalebu%2Fascii-encryption-python/lists"}