{"id":13477147,"url":"https://github.com/pyca/cryptography","last_synced_at":"2025-05-12T18:17:11.378Z","repository":{"id":9926844,"uuid":"11939484","full_name":"pyca/cryptography","owner":"pyca","description":"cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.","archived":false,"fork":false,"pushed_at":"2025-05-12T13:32:23.000Z","size":59024,"stargazers_count":7017,"open_issues_count":37,"forks_count":1601,"subscribers_count":130,"default_branch":"main","last_synced_at":"2025-05-12T18:16:36.742Z","etag":null,"topics":["cryptography","python"],"latest_commit_sha":null,"homepage":"https://cryptography.io","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/pyca.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/security.rst","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-08-07T02:23:38.000Z","updated_at":"2025-05-12T13:32:25.000Z","dependencies_parsed_at":"2023-09-24T14:02:14.320Z","dependency_job_id":"d5dc0f8b-3770-41b4-846d-990eeae096ae","html_url":"https://github.com/pyca/cryptography","commit_stats":{"total_commits":10977,"total_committers":330,"mean_commits":"33.263636363636365","dds":0.6929033433542862,"last_synced_commit":"4c9ef892dba928904761e9f7ab40013bb16aaf3a"},"previous_names":[],"tags_count":138,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyca%2Fcryptography","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyca%2Fcryptography/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyca%2Fcryptography/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyca%2Fcryptography/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyca","download_url":"https://codeload.github.com/pyca/cryptography/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253795162,"owners_count":21965488,"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":["cryptography","python"],"created_at":"2024-07-31T16:01:38.792Z","updated_at":"2025-05-12T18:17:11.071Z","avatar_url":"https://github.com/pyca.png","language":"Python","readme":"pyca/cryptography\n=================\n\n.. image:: https://img.shields.io/pypi/v/cryptography.svg\n    :target: https://pypi.org/project/cryptography/\n    :alt: Latest Version\n\n.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest\n    :target: https://cryptography.io\n    :alt: Latest Docs\n\n.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main\n    :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amain\n\n\n``cryptography`` is a package which provides cryptographic recipes and\nprimitives to Python developers. Our goal is for it to be your \"cryptographic\nstandard library\". It supports Python 3.7+ and PyPy3 7.3.11+.\n\n``cryptography`` includes both high level recipes and low level interfaces to\ncommon cryptographic algorithms such as symmetric ciphers, message digests, and\nkey derivation functions. For example, to encrypt something with\n``cryptography``'s high level symmetric encryption recipe:\n\n.. code-block:: pycon\n\n    \u003e\u003e\u003e from cryptography.fernet import Fernet\n    \u003e\u003e\u003e # Put this somewhere safe!\n    \u003e\u003e\u003e key = Fernet.generate_key()\n    \u003e\u003e\u003e f = Fernet(key)\n    \u003e\u003e\u003e token = f.encrypt(b\"A really secret message. Not for prying eyes.\")\n    \u003e\u003e\u003e token\n    b'...'\n    \u003e\u003e\u003e f.decrypt(token)\n    b'A really secret message. Not for prying eyes.'\n\nYou can find more information in the `documentation`_.\n\nYou can install ``cryptography`` with:\n\n.. code-block:: console\n\n    $ pip install cryptography\n\nFor full details see `the installation documentation`_.\n\nDiscussion\n~~~~~~~~~~\n\nIf you run into bugs, you can file them in our `issue tracker`_.\n\nWe maintain a `cryptography-dev`_ mailing list for development discussion.\n\nYou can also join ``#pyca`` on ``irc.libera.chat`` to ask questions or get\ninvolved.\n\nSecurity\n~~~~~~~~\n\nNeed to report a security issue? Please consult our `security reporting`_\ndocumentation.\n\n\n.. _`documentation`: https://cryptography.io/\n.. _`the installation documentation`: https://cryptography.io/en/latest/installation/\n.. _`issue tracker`: https://github.com/pyca/cryptography/issues\n.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev\n.. _`security reporting`: https://cryptography.io/en/latest/security/\n","funding_links":[],"categories":["Python","Cryptography","By Industry","Web \u0026 Networking","密码学","加密、密码破解、字典","Uncategorized","库和框架","Security"],"sub_categories":["Productivity","Negative Reputation","Blockchain","网络服务_其他","Uncategorized","Drone Frames","Python"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyca%2Fcryptography","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyca%2Fcryptography","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyca%2Fcryptography/lists"}