{ "info": { "author": "Ryan Finnie", "author_email": "ryan@finnie.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "HASHLIB-ADDITIONAL - ADDITIONAL HASHLIB-COMPATIBLE HASHING DIGESTS\n\n\nhttps://github.com/rfinnie/python-hashlib-additional\n\n\nAbout\n\nThis module packages several additional hashing digests in a\nhashlib-compatible format. It implements the following digests:\n\n- null - Always outputs null byte \"hashes\", with a configurable\n digest_size\n- random - Always outputs random \"hashes\", with a configurable\n digest_size\n- crc32 - CRC32 digest, 4 byte digest_size\n- adler32 - Adler-32 digest, 4 byte digest_size\n- bsd - BSD checksum, 2 byte digest_size\n- udp - UDP checksum, 2 byte digest_size\n- twoping - 2ping checksum, 2 byte digest_size\n\nUnless stated, all digest outputs are big-endian (network byte order).\n\n\nExample\n\n >>> import hashlib_additional\n >>> digest = hashlib_additional.new('crc32')\n >>> digest.update(b'foo')\n >>> digest.hexdigest()\n '8c736521'\n\n >>> hashlib_additional.algorithms_available\n {'twoping', 'random', 'bsd', 'null', 'udp', 'crc32', 'adler32'}\n\n >>> digest = hashlib_additional.twoping(b'bar')\n >>> digest.digest()\n b'+\\x9e'\n\n\nLicense\n\nCopyright (c) 2019 Ryan Finnie\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/rfinnie/python-hashlib-additional", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rfinnie/python-hashlib-additional", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "hashlib-additional", "package_url": "https://pypi.org/project/hashlib-additional/", "platform": "Unix", "project_url": "https://pypi.org/project/hashlib-additional/", "project_urls": { "Download": "https://github.com/rfinnie/python-hashlib-additional", "Homepage": "https://github.com/rfinnie/python-hashlib-additional" }, "release_url": "https://pypi.org/project/hashlib-additional/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Additional hashlib-compatible hashing digests", "version": "1.0.1" }, "last_serial": 4667303, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "c2b76de8a27c6d10f539af2c56c2ff7c", "sha256": "ad25378bce419a2df8671953a3376f3cb38bffeeb051be44862b2ba9284f7fef" }, "downloads": -1, "filename": "hashlib_additional-1.0.tar.gz", "has_sig": false, "md5_digest": "c2b76de8a27c6d10f539af2c56c2ff7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4626, "upload_time": "2019-01-07T02:40:35", "url": "https://files.pythonhosted.org/packages/b2/3a/5865a15ab92cee9b94788a29c1795bd913eb3446d289aed2b1f5dbb8e841/hashlib_additional-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "6f6802a2c768ae30f49e873873373083", "sha256": "b07a87bf4190032b1a88a4efe9e6c9a814a2b1d391a905b8f7ba711ac30b7a81" }, "downloads": -1, "filename": "hashlib-additional-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6f6802a2c768ae30f49e873873373083", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4626, "upload_time": "2019-01-07T04:12:54", "url": "https://files.pythonhosted.org/packages/03/0e/7ecf42cdec733e6e0342b8bd30ce460f5838193ac117ee6c545c3433ec29/hashlib-additional-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6f6802a2c768ae30f49e873873373083", "sha256": "b07a87bf4190032b1a88a4efe9e6c9a814a2b1d391a905b8f7ba711ac30b7a81" }, "downloads": -1, "filename": "hashlib-additional-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6f6802a2c768ae30f49e873873373083", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4626, "upload_time": "2019-01-07T04:12:54", "url": "https://files.pythonhosted.org/packages/03/0e/7ecf42cdec733e6e0342b8bd30ce460f5838193ac117ee6c545c3433ec29/hashlib-additional-1.0.1.tar.gz" } ] }