{"id":18982487,"url":"https://github.com/justscott/rapidrsa","last_synced_at":"2026-06-20T03:32:19.040Z","repository":{"id":47052350,"uuid":"479824510","full_name":"JustScott/RapidRSA","owner":"JustScott","description":"Simpler to use implementation of the pycryptodome RSA algorithm","archived":false,"fork":false,"pushed_at":"2022-09-06T17:31:32.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T11:42:38.962Z","etag":null,"topics":["asymmetric-cryptography","cryptography","encryption-decryption","python3","rsa","rsa-cryptography"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/rapidrsa/","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/JustScott.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-04-09T19:28:45.000Z","updated_at":"2023-11-12T15:56:58.000Z","dependencies_parsed_at":"2022-08-23T18:11:02.191Z","dependency_job_id":null,"html_url":"https://github.com/JustScott/RapidRSA","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustScott%2FRapidRSA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustScott%2FRapidRSA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustScott%2FRapidRSA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustScott%2FRapidRSA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JustScott","download_url":"https://codeload.github.com/JustScott/RapidRSA/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239987127,"owners_count":19729750,"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":["asymmetric-cryptography","cryptography","encryption-decryption","python3","rsa","rsa-cryptography"],"created_at":"2024-11-08T16:13:42.247Z","updated_at":"2025-11-11T03:03:26.835Z","avatar_url":"https://github.com/JustScott.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cp align='center'\u003eRapidRSA\u003c/p\u003e\n\u003cp align='center'\u003eSimpler to use implementation of the pycryptodome RSA algorithm\u003c/p\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n# Example Use\n```python\nfrom rapidrsa import rsa\n\nrsa = rsa()\n\ne = rsa.encrypt(\"Example Text\")\nd = rsa.decrypt(e)\n```\n\n\u003ch4\u003eEasily Create and Verify Signatures\u003c/h4\u003e\n\n```python\nfrom rapidrsa import rsa\n\nrsa = rsa()\n\ne = rsa.encrypt(\"Example Text\")\n\nsignature, digest = rsa.create_signature(message)\n\nif rsa.verify_signature(signature, digest):\n    d = rsa.decrypt(e)\n```\n\u003cbr\u003e\n\n\u003ch2\u003eRequired Dependences From PyPi\u003c/h2\u003e\n\n\u003ch4\u003epycryptodome \u003e= 3.15.0\u003c/h4\u003e\n\n- \u003ca href=\"https://github.com/Legrandin/pycryptodome\"\u003epycryptodome on GitHub\u003c/a\u003e\n\n- \u003ca href=\"https://pypi.org/project/pycryptodome/\"\u003epycryptodome on PyPi\u003c/a\u003e\n\n\n\u003cbr\u003e\n\n# Documentation\n```python\n'''\nClasses:\n    rsa(key_size=2048, public_key=None, private_key=None)\n        Can be fully functional and secure without passing any arguments\nMethods:\n    keygen(self, key_size: int) -\u003e bytes and bytes\n        Generates Keys for Encryption/Decryption. The 'key_size' will determine the security\n        and speed of your data (bigger is more secure, but slower)\n    encrypt(self, data: str or bytes, public_key=None) -\u003e bytes\n        Only requires a public key if you don't want to use the class generated key\n    decrypt(self, encrypted_text: bytes, private_key=None) -\u003e str or bytes\n        Only requires a private key if you don't want to use the class generated key\n    create_signature(self, data: str, private_key=None) -\u003e bytes and object\n        Creates a signature for later verifcation that the data hasn't been tampered\n        with during transport\n    verify_signature(self, signature: bytes, digest: object, public_key=None) -\u003e bool\n        Verifies the signature of the data, ensuring the data hasn't been tampered with\n    generate_password(self, length=64) -\u003e str\n        Generates a random password to share with the client/server for symmetric cryptography\n'''\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustscott%2Frapidrsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustscott%2Frapidrsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustscott%2Frapidrsa/lists"}