{"id":13849439,"url":"https://github.com/RNCryptor/RNCryptor-python","last_synced_at":"2025-07-12T16:32:18.192Z","repository":{"id":13168884,"uuid":"15851905","full_name":"RNCryptor/RNCryptor-python","owner":"RNCryptor","description":"Python implementation of RNCryptor","archived":false,"fork":false,"pushed_at":"2024-11-30T20:57:51.000Z","size":36,"stargazers_count":51,"open_issues_count":2,"forks_count":23,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-24T06:12:19.120Z","etag":null,"topics":["aes","python","rncryptor"],"latest_commit_sha":null,"homepage":null,"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/RNCryptor.png","metadata":{"files":{"readme":"README.rst","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":"2014-01-12T22:04:55.000Z","updated_at":"2025-01-09T18:47:50.000Z","dependencies_parsed_at":"2024-12-13T18:08:38.180Z","dependency_job_id":"88ca456a-c221-4ad1-b029-63335b799886","html_url":"https://github.com/RNCryptor/RNCryptor-python","commit_stats":{"total_commits":52,"total_committers":6,"mean_commits":8.666666666666666,"dds":"0.42307692307692313","last_synced_commit":"2004d7db34f1a91082b22a4a55cb2ee9e5e07a0d"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/RNCryptor/RNCryptor-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RNCryptor%2FRNCryptor-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RNCryptor%2FRNCryptor-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RNCryptor%2FRNCryptor-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RNCryptor%2FRNCryptor-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RNCryptor","download_url":"https://codeload.github.com/RNCryptor/RNCryptor-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RNCryptor%2FRNCryptor-python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263833871,"owners_count":23517422,"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":["aes","python","rncryptor"],"created_at":"2024-08-04T19:01:18.160Z","updated_at":"2025-07-12T16:32:18.176Z","avatar_url":"https://github.com/RNCryptor.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"RNCryptor-python\n================\n\n.. image:: https://img.shields.io/pypi/v/rncryptor.svg\n    :alt: Actual PyPI version\n    :target: https://pypi.python.org/pypi/rncryptor/\n\n.. image:: https://travis-ci.org/RNCryptor/RNCryptor-python.svg?branch=master\n    :target: https://travis-ci.org/RNCryptor/RNCryptor-python\n    :alt: CI status\n\nPython implementation of `RNCryptor \u003chttps://github.com/RNCryptor/RNCryptor-Spec/blob/master/RNCryptor-Spec-v3.md\u003e`_\n\nInstallation\n------------\n\n.. code-block:: bash\n\n    $ pip install rncryptor\n\nUsage\n-----\n\n.. code-block:: python\n\n    import rncryptor\n\n    data = '...'\n    password = '...'\n\n    # rncryptor.RNCryptor's methods\n    cryptor = rncryptor.RNCryptor()\n    encrypted_data = cryptor.encrypt(data, password)\n    decrypted_data = cryptor.decrypt(encrypted_data, password)\n    assert data == decrypted_data\n\n    # rncryptor's functions\n    encrypted_data = rncryptor.encrypt(data, password)\n    decrypted_data = rncryptor.decrypt(encrypted_data, password)\n    assert data == decrypted_data\n\n    # encrypt_with_keys and decrypt_with keys functions\n    encryption_salt = '...' # 8 random bytes\n    encryption_key = rncryptor.make_key(password, encryption_salt)\n    hmac_key = rncryptor.make_key(password, hmac_salt)\n    encrypted_data = rncryptor.encrypt_with_keys(data, hmac_key, encryption_key)\n    decrypted_data = rncryptor.decrypt_with_keys(encrypted_data, hmac_key, encryption_key)\n\nTesting\n-------\n\n.. code-block:: bash\n\n    $ tox\n    $ tox -e py27  # test using only Python2.7\n    $ tox $(nproc)  # run tests using all processes\n\nAn actual command can be found in `tox.ini \u003ctox.ini\u003e`_, but basically it's a common ``py.test`` with a bunch of plugins.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRNCryptor%2FRNCryptor-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRNCryptor%2FRNCryptor-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRNCryptor%2FRNCryptor-python/lists"}