{"id":15023378,"url":"https://github.com/adafruit/adafruit_circuitpython_hashlib","last_synced_at":"2025-10-19T17:31:45.599Z","repository":{"id":39602114,"uuid":"203207566","full_name":"adafruit/Adafruit_CircuitPython_hashlib","owner":"adafruit","description":"Secure hashes and message digests","archived":false,"fork":false,"pushed_at":"2025-01-16T19:47:28.000Z","size":150,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-01-28T22:37:33.205Z","etag":null,"topics":["hacktoberfest","hashlib","sha1","sha224","sha384","sha512"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adafruit.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-08-19T16:14:25.000Z","updated_at":"2025-01-16T15:11:55.000Z","dependencies_parsed_at":"2023-01-22T13:16:05.829Z","dependency_job_id":"a814ed39-e81a-4756-97d3-8192066ec026","html_url":"https://github.com/adafruit/Adafruit_CircuitPython_hashlib","commit_stats":{"total_commits":99,"total_committers":17,"mean_commits":5.823529411764706,"dds":0.7575757575757576,"last_synced_commit":"2b35488cc2757b91115f4efa731ea781341b3deb"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_hashlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_hashlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_hashlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_hashlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adafruit","download_url":"https://codeload.github.com/adafruit/Adafruit_CircuitPython_hashlib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237181555,"owners_count":19268057,"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":["hacktoberfest","hashlib","sha1","sha224","sha384","sha512"],"created_at":"2024-09-24T19:59:00.588Z","updated_at":"2025-10-19T17:31:45.592Z","avatar_url":"https://github.com/adafruit.png","language":"Python","readme":"Introduction\n============\n\n.. image:: https://readthedocs.org/projects/hashlib/badge/?version=latest\n    :target: https://docs.circuitpython.org/projects/hashlib/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n.. image:: https://github.com/adafruit/Adafruit_CircuitPython_hashlib/workflows/Build%20CI/badge.svg\n    :target: https://github.com/adafruit/Adafruit_CircuitPython_hashlib/actions/\n    :alt: Build Status\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\n    :target: https://github.com/astral-sh/ruff\n    :alt: Code Style: Ruff\n\nThis module implements a common interface to many different secure hash and message digest algorithms.\nIncluded are the FIPS secure hash algorithms SHA1, SHA224, SHA256, SHA384, and SHA512 (defined in FIPS 180-2)\nas well as RSA’s MD5 algorithm (defined in Internet RFC 1321).\n\nThe SHA1 algorithm is not supported by the CircuitPython module.\n\n\n`This library is based on the work performed in the micropython-lib hashlib module by Paul Sokolovsky \u003chttps://github.com/micropython/micropython-lib/tree/master/hashlib\u003e`_\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython \u003chttps://github.com/adafruit/circuitpython\u003e`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle \u003chttps://github.com/adafruit/Adafruit_CircuitPython_Bundle\u003e`_.\n\nInstalling from PyPI\n=====================\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI \u003chttps://pypi.org/project/adafruit-circuitpython-hashlib/\u003e`_. To install for current user:\n\n.. code-block:: shell\n\n    pip3 install adafruit-circuitpython-hashlib\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install adafruit-circuitpython-hashlib\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n    mkdir project-name \u0026\u0026 cd project-name\n    python3 -m venv .venv\n    source .venv/bin/activate\n    pip3 install adafruit-circuitpython-hashlib\n\nUsage Example\n=============\n\n.. code-block:: python\n\n        import adafruit_hashlib as hashlib\n        m = hashlib.sha256()\n        m.update(b\"CircuitPython\")\n        print(\"Msg Hex Digest: {}\\nMsg Digest Size: {}\\nMsg Block Size: {}\".format(\n                m.hexdigest(), m.digest_size, m.block_size))\n\nDocumentation\n=============\n\nAPI documentation for this library can be found on `Read the Docs \u003chttps://docs.circuitpython.org/projects/hashlib/en/latest/\u003e`_.\n\nFor information on building library documentation, please check out `this guide \u003chttps://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1\u003e`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n\u003chttps://github.com/adafruit/Adafruit_CircuitPython_hashlib/blob/main/CODE_OF_CONDUCT.md\u003e`_\nbefore contributing to help this project stay welcoming.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_hashlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_hashlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_hashlib/lists"}