{"id":15297433,"url":"https://github.com/abhayagiri/raho","last_synced_at":"2025-03-25T13:15:13.498Z","repository":{"id":57459736,"uuid":"210076077","full_name":"abhayagiri/raho","owner":"abhayagiri","description":"Python module for simple symmetric encryption built on cryptography","archived":false,"fork":false,"pushed_at":"2019-09-23T03:13:40.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T01:08:17.003Z","etag":null,"topics":["cryptography","fernet","python","python2","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abhayagiri.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-09-22T01:49:24.000Z","updated_at":"2019-09-23T03:13:42.000Z","dependencies_parsed_at":"2022-09-13T16:10:55.265Z","dependency_job_id":null,"html_url":"https://github.com/abhayagiri/raho","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhayagiri%2Fraho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhayagiri%2Fraho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhayagiri%2Fraho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhayagiri%2Fraho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhayagiri","download_url":"https://codeload.github.com/abhayagiri/raho/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245467615,"owners_count":20620216,"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","fernet","python","python2","python3"],"created_at":"2024-09-30T19:17:29.080Z","updated_at":"2025-03-25T13:15:13.460Z","avatar_url":"https://github.com/abhayagiri.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `raho`: Simple symmetric encryption\n\n[![Build Status](https://travis-ci.org/abhayagiri/raho.svg?branch=master)](https://travis-ci.org/abhayagiri/raho)\n[![Code Coverage](https://codecov.io/gh/abhayagiri/raho/branch/master/graph/badge.svg)](https://codecov.io/gh/abhayagiri/raho)\n[![Support Python Versions](https://img.shields.io/pypi/pyversions/raho.svg)](https://pypi.org/project/raho/)\n[![Latest Version](https://img.shields.io/pypi/v/raho.svg)](https://pypi.org/project/raho/)\n\n`raho` is a simplified wrapper library for the\n[cryptography](https://cryptography.io/) module.\n\n## Installation\n\n```sh\npip install raho\n```\n\nAnd in your Python file:\n\n```python\n\u003e\u003e\u003e import raho\n\n```\n\n## Usage\n\n### With Fernets\n\n```python\n\u003e\u003e\u003e fernet = raho.generate_fernet()\n\u003e\u003e\u003e message = raho.encrypt('he is hiding behind the rock', fernet)\n\u003e\u003e\u003e message\n'Z0FB...'\n\u003e\u003e\u003e raho.decrypt(message, fernet)\n'he is hiding behind the rock'\n\n```\n\n### With passwords\n\n```python\n\u003e\u003e\u003e message = raho.encrypt_with_password('they know water', 'dragon123')\n\u003e\u003e\u003e raho.decrypt_with_password(message, 'dragon123')\n'they know water'\n\n```\n\n### With key files\n\n```python\n\u003e\u003e\u003e fernet = raho.generate_key_file('key-file')\n\u003e\u003e\u003e message = raho.encrypt_with_key_file('falcon flies at dawn', 'key-file')\n\u003e\u003e\u003e raho.decrypt_with_key_file(message, 'key-file')\n'falcon flies at dawn'\n\n```\n\n### Command line\n\nSee `raho --help` for command-line usage examples.\n\n## More information\n\n- [Fernets and `cryptography`](https://cryptography.io/)\n- [Development Documentation](https://github.com/abhayagiri/raho/blob/master/DEVELOPMENT.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhayagiri%2Fraho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhayagiri%2Fraho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhayagiri%2Fraho/lists"}