{"id":18329914,"url":"https://github.com/somdipdey/encrypted_qr_code","last_synced_at":"2025-04-06T01:32:49.251Z","repository":{"id":83917524,"uuid":"124685823","full_name":"somdipdey/Encrypted_QR_Code","owner":"somdipdey","description":"Use this Python3 package to encrypt messages and embed in QR code, and decrypt the message back.","archived":false,"fork":false,"pushed_at":"2018-03-17T22:53:11.000Z","size":104,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T15:12:13.690Z","etag":null,"topics":["decrypt","decryption","encrypt","encryption","python","python-3","python3","qr-code","qr-code-reader","qr-coder-decoder","qrcode-scanner"],"latest_commit_sha":null,"homepage":"https://github.com/somdipdey/Encrypted_QR_Code","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/somdipdey.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":"2018-03-10T18:19:46.000Z","updated_at":"2025-02-25T21:44:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"d16a87d4-eb39-41c5-9d98-81eb8c7a2a8c","html_url":"https://github.com/somdipdey/Encrypted_QR_Code","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/somdipdey%2FEncrypted_QR_Code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somdipdey%2FEncrypted_QR_Code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somdipdey%2FEncrypted_QR_Code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somdipdey%2FEncrypted_QR_Code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/somdipdey","download_url":"https://codeload.github.com/somdipdey/Encrypted_QR_Code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423464,"owners_count":20936621,"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":["decrypt","decryption","encrypt","encryption","python","python-3","python3","qr-code","qr-code-reader","qr-coder-decoder","qrcode-scanner"],"created_at":"2024-11-05T19:19:06.390Z","updated_at":"2025-04-06T01:32:49.239Z","avatar_url":"https://github.com/somdipdey.png","language":"Python","readme":"![GitHub issues](https://img.shields.io/github/issues/somdipdey/Encrypted_QR_Code.svg)\n![Twitter](https://img.shields.io/twitter/url/https/github.com/somdipdey/Encrypted_QR_Code.svg?style=social)\n\n# Encrypted QR Code (qrcrypto)\n\nUse this package to encrypt messages and embed in QR code, and decode the message back.\n\n#### Build for Linux and OSX:\n[![Build Status](https://travis-ci.org/somdipdey/Encrypted_QR_Code.svg?branch=master)](https://travis-ci.org/somdipdey/Encrypted_QR_Code)\n[![License: MIT](https://img.shields.io/badge/License-MIT-red.svg)](https://github.com/somdipdey/Encrypted_QR_Code/blob/master/LICENSE)\n\n## Dependencies\n\n\t$ [sudo] pip install qrcode\n\t$ [sudo] pip install simple-crypt\n\t$ [sudo] pip install pypng\n\t$ [sudo] pip install zbar\n\t$ [sudo] pip install pillow\n\n### Note:\n\nIf you are using Python3.X and not Python2 then you would receive an error while installing zbar. In that case install pypng and pillow packages and then for zbar follow these steps:\n\n\t$ brew install zbar\n\t$ export LDFLAGS=\"-L$(brew --prefix zbar)/lib\"\n\t$ export CFLAGS=\"-I$(brew --prefix zbar)/include\"\n\t$ pip install zbarlight\n\nThe aformentioned steps would install zbarlight. For more information consult their webpage: https://github.com/Polyconseil/zbarlight \n\n## Installation\n\n\n### Step 1:\n\t$ git clone https://github.com/somdipdey/Encrypted_QR_Code.git\n\t$ cd Encrypted_QR_Code\n\t$ [sudo] python setup.py install\n\n### Step 2:\nAnd then install zbarlight as mentioned before:\n\n\t$ brew install zbar\n\t$ export LDFLAGS=\"-L$(brew --prefix zbar)/lib\"\n\t$ export CFLAGS=\"-I$(brew --prefix zbar)/include\"\n\t$ pip install zbarlight\n\nNote:\n\nYou can also install the package, mentioned in Step 1, by using pip install as follows:\n\n\t$ pip install git+https://github.com/somdipdey/Encrypted_QR_Code.git\n\nAnd then follow Step 2.\n\n## Usage\n\n### Encryption\n\nTo encrypt a meesage and then embed it in the QR code just type the following command in the command prompt:\n\n\t$ python encrypt_qr.py {message} {qr_file_name} {password}\n\nFor example::\n\n\t$ python encrypt_qr.py 'my hobby is everything' hello 'My Secret'\n\nIf you use the following command, you will see a QR code with name 'hello.PNG' is generated in the /Output/ folder. Upon inspection, you can see the QR code holds the encrypted message, i.e. 'my hobby is everything'.\n\n#### hello.PNG QR code with embedded encrypted meesage::\n\n\u003cimg width=\"350\" alt=\"hello.PNG QR code with embedded encrypted meesage\" src=\"https://github.com/somdipdey/Encrypted_QR_Code/blob/master/qrcrypto/Output/hello.PNG\"\u003e\n\n### Decryption\n\nTo decrypt the message from the QR code just type the following command in the command prompt:\n\n\t$ python decrypt_qr.py {qr_file_name} {password}\n\nFor example::\n\n\t$ python decrypt_qr.py hello 'My Secret'\n\n\tOutput::\n\n\t\u003e\u003e'my hobby is everything'\n\n## Note:\nThis package is implemented using Simple-Crypt encryption python package, which uses PBKDF (Key derivation function) to make guessing of password hard hence secruing from brute-force attacks. The use of PBKDF makes the algorithm slow and hence creating an encrypted QR code is slow and decrypting is slow as well. More about simple-crypt package can be accessed here: https://github.com/andrewcooke/simple-crypt\n\n## Help Us To Keep Going\nIf you really liked our work then do not forget to hit the 'Star' button. Your encouragement towards us will keep us going! \n\n![GitHub stars](https://img.shields.io/github/stars/somdipdey/Encrypted_QR_Code.svg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomdipdey%2Fencrypted_qr_code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsomdipdey%2Fencrypted_qr_code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomdipdey%2Fencrypted_qr_code/lists"}