{ "info": { "author": "Christophe Goessen, C\u00e9dric Bonhomme", "author_email": "cedric@cedricbonhomme.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Topic :: Security" ], "description": "pyEnigma\n========\n\n.. image:: https://img.shields.io/pypi/pyversions/pyenigma.svg?style=flat-square\n :target: https://pypi.python.org/pypi/pyenigma\n\n.. image:: https://img.shields.io/pypi/v/pyenigma.svg?style=flat-square\n :target: https://github.com/cedricbonhomme/pyenigma/releases/latest\n\n.. image:: https://img.shields.io/pypi/l/pyenigma.svg?style=flat-square\n :target: https://www.gnu.org/licenses/gpl-3.0.html\n\n.. image:: https://img.shields.io/travis/cedricbonhomme/pyEnigma/master.svg?style=flat-square\n :target: https://travis-ci.org/cedricbonhomme/pyEnigma\n\n.. image:: https://img.shields.io/coveralls/cedricbonhomme/pyEnigma/master.svg?style=flat-square\n :target: https://coveralls.io/github/cedricbonhomme/pyEnigma?branch=master\n\n\n`pyEnigma `_, a Python Enigma\ncypher machine simulator.\n\n\nUsage\n-----\n\nAs a Python library\n'''''''''''''''''''\n\n.. code:: bash\n\n $ pipenv install pyenigma\n \u2728 \ud83d\udc0d\u2728\n\n\n.. code:: python\n\n Python 3.6.4 (default, Feb 23 2018, 13:45:58)\n [GCC 7.2.0] on linux\n Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n >>> from pyenigma import enigma\n >>> from pyenigma import rotor\n >>> print(rotor.ROTOR_GR_III)\n\n Name: III\n Model: German Railway (Rocket)\n Date: 7 February 1941\n Wiring: JVIUBHTCDYAKEQZPOSGXNRMWFL\n >>>\n >>> engine = enigma.Enigma(rotor.ROTOR_Reflector_A, rotor.ROTOR_I,\n rotor.ROTOR_II, rotor.ROTOR_III, key=\"ABC\",\n plugs=\"AV BS CG DL FU HZ IN KM OW RX\")\n >>> print(engine)\n\n Reflector:\n Name: Reflector A\n Model: None\n Date: None\n Wiring: EJMZALYXVBWFCRQUONTSPIKHGD\n\n Rotor 1:\n Name: I\n Model: Enigma 1\n Date: 1930\n Wiring: EKMFLGDQVZNTOWYHXUSPAIBRCJ\n State: A\n\n Rotor 2:\n Name: II\n Model: Enigma 1\n Date: 1930\n Wiring: AJDKSIRUXBLHWTMCQGZNPYFVOE\n State: B\n\n Rotor 3:\n Name: III\n Model: Enigma 1\n Date: 1930\n Wiring: BDFHJLCPRTXVZNYEIWGAKMUSQO\n State: C\n >>> secret = engine.encipher(\"Hello World\")\n >>> print(secret)\n Qgqop Vwoxn\n\n\nAs a program\n''''''''''''\n\n.. code:: bash\n\n $ pipsi install pyenigma\n \u2728 \ud83c\udf70\u2728\n\n\n.. code:: bash\n\n $ echo \"Hello World\" | enigma ABC A I II III \"AV BS CG DL FU HZ IN KM OW RX\"\n Qgqop Vwoxn\n\n $ echo \"Qgqop Vwoxn\" | enigma ABC A I II III \"AV BS CG DL FU HZ IN KM OW RX\"\n Hello World\n\n\nLicense\n-------\n\npyEnigma is under `GPLv3 `_ license.\n\n\nAuthor\n------\n\n* `Christophe Goessen `_ (initial author)\n* `C\u00e9dric Bonhomme `_\n\n\nRelease History\n===============\n\n0.2.1 (2018-12-01)\n------------------\n\n* dependencies upgraded for CVE-2018-18074;\n* some useless code removed.\n\n\n0.2 (2018-02-28)\n----------------\n\n* pyEnigma is ready for use with pipenv and pipsi.\n\n0.1 (2017-03-15)\n----------------\n\n* first release on pypi.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cedricbonhomme/pyEnigma", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "pyEnigma", "package_url": "https://pypi.org/project/pyEnigma/", "platform": "", "project_url": "https://pypi.org/project/pyEnigma/", "project_urls": { "Homepage": "https://github.com/cedricbonhomme/pyEnigma" }, "release_url": "https://pypi.org/project/pyEnigma/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Python Enigma cypher machine simulator.", "version": "0.2.1" }, "last_serial": 4549098, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6ea31e279f349b80b0b40b06cdcde0df", "sha256": "c10c1dfc768ad0532e7586375baa8eae4c70266556c3c5bec98bf296961ee7a2" }, "downloads": -1, "filename": "pyEnigma-0.1.tar.gz", "has_sig": false, "md5_digest": "6ea31e279f349b80b0b40b06cdcde0df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18875, "upload_time": "2017-03-15T20:54:45", "url": "https://files.pythonhosted.org/packages/e3/59/250d017970d0da75331553a8ffb6720e370b19dde5ea018a0a14fa5dcea9/pyEnigma-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "6a75011e2129ada744ad72beeff664cc", "sha256": "294cdad0a6bff82038fffe1017966ec468e2c6cb467730ef829aafdf8d89f85a" }, "downloads": -1, "filename": "pyEnigma-0.2.tar.gz", "has_sig": false, "md5_digest": "6a75011e2129ada744ad72beeff664cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19126, "upload_time": "2018-02-28T21:42:02", "url": "https://files.pythonhosted.org/packages/27/81/da6e92f8c48c77b6d8f5452b34864615786b2d7affdba5fd3de03bbbf4ca/pyEnigma-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "3507bdbb62b8f3cd68499adcd7c5bf99", "sha256": "730091af7004ef6acd863ec20e5cae5a1218f1a5c559393a77799d28f144f41b" }, "downloads": -1, "filename": "pyEnigma-0.2.1.tar.gz", "has_sig": false, "md5_digest": "3507bdbb62b8f3cd68499adcd7c5bf99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18306, "upload_time": "2018-12-01T00:24:21", "url": "https://files.pythonhosted.org/packages/fe/61/47bb26352f1d5127d2cc278723c04ef5423769d73b582c35d69917126a7a/pyEnigma-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3507bdbb62b8f3cd68499adcd7c5bf99", "sha256": "730091af7004ef6acd863ec20e5cae5a1218f1a5c559393a77799d28f144f41b" }, "downloads": -1, "filename": "pyEnigma-0.2.1.tar.gz", "has_sig": false, "md5_digest": "3507bdbb62b8f3cd68499adcd7c5bf99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18306, "upload_time": "2018-12-01T00:24:21", "url": "https://files.pythonhosted.org/packages/fe/61/47bb26352f1d5127d2cc278723c04ef5423769d73b582c35d69917126a7a/pyEnigma-0.2.1.tar.gz" } ] }