{"id":22885064,"url":"https://github.com/lasse-tom-lang/python-cryptographie","last_synced_at":"2025-03-31T17:55:51.508Z","repository":{"id":156671434,"uuid":"507282312","full_name":"Lasse-Tom-Lang/python-cryptographie","owner":"Lasse-Tom-Lang","description":"Program for en- and decrypt messages","archived":false,"fork":false,"pushed_at":"2022-08-29T16:19:05.000Z","size":1705,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T22:42:32.837Z","etag":null,"topics":["cryptography","pysimplegui","python","steganography"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lasse-Tom-Lang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-06-25T10:39:03.000Z","updated_at":"2022-07-15T17:36:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"b29a8511-2a4b-407d-908a-8ce56c076687","html_url":"https://github.com/Lasse-Tom-Lang/python-cryptographie","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lasse-Tom-Lang%2Fpython-cryptographie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lasse-Tom-Lang%2Fpython-cryptographie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lasse-Tom-Lang%2Fpython-cryptographie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lasse-Tom-Lang%2Fpython-cryptographie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lasse-Tom-Lang","download_url":"https://codeload.github.com/Lasse-Tom-Lang/python-cryptographie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246514370,"owners_count":20790016,"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","pysimplegui","python","steganography"],"created_at":"2024-12-13T19:31:23.878Z","updated_at":"2025-03-31T17:55:51.487Z","avatar_url":"https://github.com/Lasse-Tom-Lang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Cryptographie\n\n![ExampleImage](ExampleImage.png)\n\n## Setup\n\nThis program can be run on any version of Python 3.\n\nAs Libarys you have to install:\n* ``` os ```\n* ``` shutil ```\n* ``` opencv ```\n* ``` PySimpleGUI ```\n* ``` pillow ```\n* ``` bitarray ```\n* ``` random ```\n* ``` csv ```\n* ``` math ```\n\nTo use the programm you have to run the ```GenerateNumbers.py``` file, to generate the numbers and key table. This file the must be shared with all users you want to send messages to.\n\n## Usage\n\n### Encrypt\n\nFirst select an image (Only ```.png```) by pressing the ```Choose Image``` button on the left side. Then enter your text to the textfield below. Then press the ```Convert``` button. Then you can save the image by clicking the ```Save``` button. Also copy the ```key```and send it with the image.\n\n### Decrypt\n\nFirst enter the ```key``` send with the image to the textfield at the top right. Then click the ```Choose Image``` button and select your image. Now click the ```Convert``` button and the message appears in the textfield.\n\n## Technic\n\n### Encrypting\n\nFirst every letter of the message gets converted to a number. Then every number gets charged with the key. All results get converted to binary. Then at every chrominance in every pixel in the image the last bit gets replaced by one bit of the message.\n\n### Decrypting\n\nFirst at every chrominance in every pixel in the image the last bit gets read and added together to a string. Then the strings get split into numbers which get charged with the key. The new numbers get back converted to letters.\n\n## Competition\n\nThis program was original developed for the \"Data security\" competition of [Explore Science](http://explore-science.info) 2022 in Mannheim.\n\nWith this project, we earned the 1. place.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasse-tom-lang%2Fpython-cryptographie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flasse-tom-lang%2Fpython-cryptographie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasse-tom-lang%2Fpython-cryptographie/lists"}