{ "info": { "author": "Ryosuke Ito", "author_email": "rito.0305@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: Unix", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Security :: Cryptography" ], "description": "arc4\n====\n\n.. image:: https://travis-ci.org/manicmaniac/arc4.svg?branch=master\n :target: https://travis-ci.org/manicmaniac/arc4\n :alt: Build Status\n\n.. image:: https://readthedocs.org/projects/arc4/badge/?version=latest\n :target: https://arc4.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\nA small and insanely fast ARCFOUR (RC4) cipher implementation of Python.\n\n* Strongly focused on performance; entire source code is written in C.\n* Easily installable; single file with no dependency.\n\nBenchmark\n---------\n\nBelow is benchmark metrics against 3 major RC4 implementations.\n\narc4 is 67 % faster than the de facto `PyCrypto `_ library.\nAlso, 1889 % faster than pure-Python `rc4 `_ library.\n\n========= ==============\narc4 0.332659006119\nPyCrypto 0.544879198074\nrc4 6.60579204559\n========= ==============\n\nThe whole benchmark code is in ``./benchmark.py``.\n\nInstall\n-------\n\nInstall from PyPI::\n\n pip install arc4\n\nOr clone the repo and do install::\n\n git clone https://github.com/manicmaniac/arc4.git\n cd arc4\n python setup.py install\n\nUsage\n-----\n\n.. code:: python\n\n from arc4 import ARC4\n\n arc4 = ARC4('key')\n cipher = arc4.encrypt('some plain text to encrypt')\n\nBecause RC4 is a stream cipher, you must initialize RC4 object in the beginning of each operations.\n\n.. code:: python\n\n arc4 = ARC4('key')\n arc4.decrypt(cipher)\n\nTesting\n-------\n\n.. code:: python\n\n python -m unittest discover\n\nLicense\n-------\n\nThis software is under the MIT License.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/manicmaniac/arc4", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "arc4", "package_url": "https://pypi.org/project/arc4/", "platform": "", "project_url": "https://pypi.org/project/arc4/", "project_urls": { "Homepage": "https://github.com/manicmaniac/arc4" }, "release_url": "https://pypi.org/project/arc4/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "A small and insanely fast ARCFOUR (RC4) cipher implementation of Python", "version": "0.0.2" }, "last_serial": 5692395, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "82bf610f79302ac76dbed1886c593837", "sha256": "3a1ff5189f8d4a7148dd67c963c40e5898bdf6ecc5371cc178687d06a48074ae" }, "downloads": -1, "filename": "arc4-0.0.1-cp27-cp27mu-macosx_10_12_x86_64.whl", "has_sig": false, "md5_digest": "82bf610f79302ac76dbed1886c593837", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 4819, "upload_time": "2018-10-08T14:56:56", "url": "https://files.pythonhosted.org/packages/af/38/895efbb62dbefcb7cc75475d2337478e091c4aab97fc6f701baa8d1387b0/arc4-0.0.1-cp27-cp27mu-macosx_10_12_x86_64.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "2d7d80c90749659cd8b2c9159a1346b5", "sha256": "cf019286f2c0e99c6fa02a9d1dff3f0d2aba31477bfc3f1d11ed9cee600c4955" }, "downloads": -1, "filename": "arc4-0.0.2-cp36-cp36m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "2d7d80c90749659cd8b2c9159a1346b5", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 5426, "upload_time": "2019-08-17T17:56:46", "url": "https://files.pythonhosted.org/packages/38/6e/c1beb828e2529b581e18f4c02cae2939537ad7067107d813d8edb723804e/arc4-0.0.2-cp36-cp36m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "19c95386f3940be4c1026ae562a11649", "sha256": "3917c7df7692a14009e1bc113395ceac14b54047dcee418efde49d6423daecf2" }, "downloads": -1, "filename": "arc4-0.0.2.tar.gz", "has_sig": false, "md5_digest": "19c95386f3940be4c1026ae562a11649", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3730, "upload_time": "2019-08-17T17:56:48", "url": "https://files.pythonhosted.org/packages/08/96/b8c5d361042dac4fdb5cd0e13ae41d2028ea379b434827bc052e8f3688d1/arc4-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2d7d80c90749659cd8b2c9159a1346b5", "sha256": "cf019286f2c0e99c6fa02a9d1dff3f0d2aba31477bfc3f1d11ed9cee600c4955" }, "downloads": -1, "filename": "arc4-0.0.2-cp36-cp36m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "2d7d80c90749659cd8b2c9159a1346b5", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 5426, "upload_time": "2019-08-17T17:56:46", "url": "https://files.pythonhosted.org/packages/38/6e/c1beb828e2529b581e18f4c02cae2939537ad7067107d813d8edb723804e/arc4-0.0.2-cp36-cp36m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "19c95386f3940be4c1026ae562a11649", "sha256": "3917c7df7692a14009e1bc113395ceac14b54047dcee418efde49d6423daecf2" }, "downloads": -1, "filename": "arc4-0.0.2.tar.gz", "has_sig": false, "md5_digest": "19c95386f3940be4c1026ae562a11649", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3730, "upload_time": "2019-08-17T17:56:48", "url": "https://files.pythonhosted.org/packages/08/96/b8c5d361042dac4fdb5cd0e13ae41d2028ea379b434827bc052e8f3688d1/arc4-0.0.2.tar.gz" } ] }