{"id":34113302,"url":"https://github.com/jameskabbes/cryptography","last_synced_at":"2026-04-08T12:32:57.551Z","repository":{"id":41048596,"uuid":"499534433","full_name":"jameskabbes/cryptography","owner":"jameskabbes","description":"Package for easy implementation of professional encryption algorithms","archived":false,"fork":false,"pushed_at":"2023-12-01T02:15:20.000Z","size":2718,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-17T03:06:08.754Z","etag":null,"topics":["cryptography","pypi-package","python"],"latest_commit_sha":null,"homepage":"","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/jameskabbes.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":"2022-06-03T14:06:12.000Z","updated_at":"2022-06-04T21:15:31.000Z","dependencies_parsed_at":"2023-01-29T17:30:30.564Z","dependency_job_id":null,"html_url":"https://github.com/jameskabbes/cryptography","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jameskabbes/cryptography","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameskabbes%2Fcryptography","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameskabbes%2Fcryptography/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameskabbes%2Fcryptography/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameskabbes%2Fcryptography/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jameskabbes","download_url":"https://codeload.github.com/jameskabbes/cryptography/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameskabbes%2Fcryptography/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31556232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cryptography","pypi-package","python"],"created_at":"2025-12-14T19:11:50.810Z","updated_at":"2026-04-08T12:32:57.541Z","avatar_url":"https://github.com/jameskabbes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cryptography\nEasy implementation of professional Python cryptography packages\n\n\u003cbr\u003e \n\n[Documentation](https://jameskabbes.github.io/cryptography)\u003cbr\u003e\n[PyPI](https://pypi.org/project/kabbes-cryptography)\n\n# Installation\n`pip install kabbes_cryptography`\n\n\u003cbr\u003e\n\n# Usage\nFor more in-depth documentation, read the information provided on the Pages. Or better yet, read the source code.\n\n```python\nimport kabbes_cryptography as kcryp\nimport dir_ops as do\n```\n\n## RSA\n\n```python\n# Initializing RSA tokens\nRSA_inst = kcryp.RSA()\nRSA_inst.get_new_Keys( set = True )\nRSA_inst.export_public_Key( do.Path( 'publickey' ) )\nRSA_inst.export_private_Key( do.Path( 'privatekey' ) )\n```\n\n```python\n#Encryption with RSA\nRSA_inst.encrypt( bytes('test', encoding = 'utf-8') )\nprint (RSA_inst.encrypted)\n```\n\n```\n\u003e\u003e\u003e b'nb\\\\\\x02|:M\\x82\\x8a\\xe1\\xc7U\\xfd\\x1e\\xc5O\\xcc\\x7f\\x06\\xc2~\\xaf\\x85\"\\ -- ETC -- '\n```\n\n```python\n#Decryption with RSA\ndec_message = RSA_inst.decrypt()\nprint (dec_message.decode( 'utf-8' ))\n```\n\n```\n\u003e\u003e\u003e 'test'\n```\n\n## AES\n```python\n# Initializing AES\nAES_inst = kcryp.AES()\nAES_inst.prep_for_encrypt()\n```\n\n```python\nAES_inst.encrypt( bytes('test', encoding = 'utf-8') )\nprint (AES_inst.encrypted)\n```\n```\n\u003e\u003e\u003e b'\\xd1\\xf8\\x0b='\n```\n```python\ndec_message = AES_inst.decrypt()\nprint (dec_message.decode( 'utf-8' ))\n```\n```\n\u003e\u003e\u003e 'test'\n```\n\n## Combined\n\n```python\n# Initializing Combined\nCombined_inst = kcryp.Combined( Dir = do.Dir( do.get_cwd() ).join_Dir( path = 'CombinedEncryption' ) )\nCombined_inst.RSA.import_private_Key( do.Path( 'privatekey' ), set=True )\nCombined_inst.RSA.import_public_Key( do.Path( 'publickey' ), set=True )\n```\n\n```python\nCombined_inst.encrypt( bytes('test', encoding = 'utf-8' ) )\nprint (Combined_inst.encrypted)\n```\n\n```\n\u003e\u003e\u003e b'\\xdeA\\xe7\\x1e'\n```\n\n```python\ndec_message = Combined_inst.decrypt()\nprint (dec_message.decode( 'utf-8 '))\n```\n\n```\n\u003e\u003e\u003e 'test'\n```\n\n\u003cbr\u003e\n\n# Author\nJames Kabbes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameskabbes%2Fcryptography","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjameskabbes%2Fcryptography","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameskabbes%2Fcryptography/lists"}