{ "info": { "author": "Wichert Akkerman - Jarn", "author_email": "info@jarn.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Security :: Cryptography", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Introduction\n============\n\nThis module implements the SEAL2 algorithm. SEAL2 is the second version of the\nstream cipher, SEAL, designed by Don Coppersmith and Phillip Rogaway.\n\nUsing it is very simple. First you have to create a SEAL2 context\ninitialize with a 20-byte key\"\n\n >>> import seal2\n >>> context=seal2.new(\"x\"*20)\n\nYou can now encrypt data using the encrypt method:\n\n >>> context.encrypt(\"Hello, world\")\n '\\xfb\\xfd\\x81\\xa3\\x0e\\x05i\\x9e\\xc6\\xbdU\\xe7'\n\n\nDecryption works very similar:\n\n >>> context=seal2.new(\"x\"*20)\n >>> context.decrypt(\"\\xfb\\xfd\\x81\\xa3\\x0e\\x05i\\x9e\\xc6\\xbdU\\xe7\")\n 'Hello, world'\n\n\n\nCaveat\n======\n\nSEAL2 is designed to generate up to 2^48 bytes of output per seed. In 1997,\nHandschuh and Gilbert showed, however, that the output stream can be\ndistinguished from a random sequence after only seeing roughly 2^34 bytes of\noutput. Thus, it is prudent to avoid using the same seed for more than 2^34\nbytes of output.\n\n\nRequirements & Installation\n===========================\n\nseal2 requires python 2.4 or later. You also need setuptools.\n\nTo install it you will need a working C compiler and the python development\nlibraries and include files.\n\nInstalling it is simple: you can use the standard setup.py interface::\n\n python setup.py install\n\n\nAuthor, copyright, availability\n===============================\n\nThe SEAL2 algorithm was designed by Don Coppersmith and Phillip Rogaway.\n\nThe original C implementation was taken from the CPAN `Crypt::SEAL2`_ module\nand is copyright 2003 by Julius C. Duque.\n\nThe python integration was written by Wichert Akkerman \nand is copyright 2007 by Jarn_.\n\nThe code is licensed under the GNU General Public License, version 2.\n\n.. _Crypt::SEAL2: http://search.cpan.org/~jcduque/Crypt-SEAL2-1.0.4/\n.. _Jarn: http://www.jarn.com/\n\nseal2 1.0\n=========\n\n* First release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "crypto,SEAL2", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "seal2", "package_url": "https://pypi.org/project/seal2/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/seal2/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/seal2/1.0/", "requires_dist": null, "requires_python": null, "summary": "SEAL2 encryption", "version": "1.0" }, "last_serial": 636157, "releases": { "1.0": [ { "comment_text": "built on Darwin-8.11.1", "digests": { "md5": "748526a188134caf967dfdaae524ed34", "sha256": "252ffe8dc351c985e06879c5f62d4b798483c6d26f913b9d9192a4381681f4b4" }, "downloads": -1, "filename": "seal2-1.0-py2.4-macosx-10.3-i386.egg", "has_sig": false, "md5_digest": "748526a188134caf967dfdaae524ed34", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 11811, "upload_time": "2008-04-16T13:39:38", "url": "https://files.pythonhosted.org/packages/29/14/af50f27c38d083a166b40b3873aca713844859288fb47794b71eb9f07277/seal2-1.0-py2.4-macosx-10.3-i386.egg" }, { "comment_text": "", "digests": { "md5": "59d24337a069032659d7ff1dfc8b7937", "sha256": "eae7c2ad74f9a024962b39bcc462cb5a14d30706d8b65d82e6180ca59cfe465a" }, "downloads": -1, "filename": "seal2-1.0.tar.gz", "has_sig": false, "md5_digest": "59d24337a069032659d7ff1dfc8b7937", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13135, "upload_time": "2008-04-16T13:39:37", "url": "https://files.pythonhosted.org/packages/b6/77/3a483ceca82c1b19b83d8b5bf78bca7578925417cefef71d0e340078d5f9/seal2-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "built on Darwin-8.11.1", "digests": { "md5": "748526a188134caf967dfdaae524ed34", "sha256": "252ffe8dc351c985e06879c5f62d4b798483c6d26f913b9d9192a4381681f4b4" }, "downloads": -1, "filename": "seal2-1.0-py2.4-macosx-10.3-i386.egg", "has_sig": false, "md5_digest": "748526a188134caf967dfdaae524ed34", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 11811, "upload_time": "2008-04-16T13:39:38", "url": "https://files.pythonhosted.org/packages/29/14/af50f27c38d083a166b40b3873aca713844859288fb47794b71eb9f07277/seal2-1.0-py2.4-macosx-10.3-i386.egg" }, { "comment_text": "", "digests": { "md5": "59d24337a069032659d7ff1dfc8b7937", "sha256": "eae7c2ad74f9a024962b39bcc462cb5a14d30706d8b65d82e6180ca59cfe465a" }, "downloads": -1, "filename": "seal2-1.0.tar.gz", "has_sig": false, "md5_digest": "59d24337a069032659d7ff1dfc8b7937", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13135, "upload_time": "2008-04-16T13:39:37", "url": "https://files.pythonhosted.org/packages/b6/77/3a483ceca82c1b19b83d8b5bf78bca7578925417cefef71d0e340078d5f9/seal2-1.0.tar.gz" } ] }