METADATA 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Metadata-Version: 2.1
  2. Name: cryptography
  3. Version: 3.3.2
  4. Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers.
  5. Home-page: https://github.com/pyca/cryptography
  6. Author: The cryptography developers
  7. Author-email: cryptography-dev@python.org
  8. License: BSD or Apache License, Version 2.0
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Intended Audience :: Developers
  12. Classifier: License :: OSI Approved :: Apache Software License
  13. Classifier: License :: OSI Approved :: BSD License
  14. Classifier: Natural Language :: English
  15. Classifier: Operating System :: MacOS :: MacOS X
  16. Classifier: Operating System :: POSIX
  17. Classifier: Operating System :: POSIX :: BSD
  18. Classifier: Operating System :: POSIX :: Linux
  19. Classifier: Operating System :: Microsoft :: Windows
  20. Classifier: Programming Language :: Python
  21. Classifier: Programming Language :: Python :: 2
  22. Classifier: Programming Language :: Python :: 2.7
  23. Classifier: Programming Language :: Python :: 3
  24. Classifier: Programming Language :: Python :: 3.6
  25. Classifier: Programming Language :: Python :: 3.7
  26. Classifier: Programming Language :: Python :: 3.8
  27. Classifier: Programming Language :: Python :: 3.9
  28. Classifier: Programming Language :: Python :: Implementation :: CPython
  29. Classifier: Programming Language :: Python :: Implementation :: PyPy
  30. Classifier: Topic :: Security :: Cryptography
  31. Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*
  32. Description-Content-Type: text/x-rst
  33. Requires-Dist: six (>=1.4.1)
  34. Requires-Dist: cffi (>=1.12)
  35. Requires-Dist: enum34 ; python_version < '3'
  36. Requires-Dist: ipaddress ; python_version < '3'
  37. Provides-Extra: docs
  38. Requires-Dist: sphinx (!=1.8.0,!=3.1.0,!=3.1.1,>=1.6.5) ; extra == 'docs'
  39. Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
  40. Provides-Extra: docstest
  41. Requires-Dist: doc8 ; extra == 'docstest'
  42. Requires-Dist: pyenchant (>=1.6.11) ; extra == 'docstest'
  43. Requires-Dist: twine (>=1.12.0) ; extra == 'docstest'
  44. Requires-Dist: sphinxcontrib-spelling (>=4.0.1) ; extra == 'docstest'
  45. Provides-Extra: pep8test
  46. Requires-Dist: black ; extra == 'pep8test'
  47. Requires-Dist: flake8 ; extra == 'pep8test'
  48. Requires-Dist: flake8-import-order ; extra == 'pep8test'
  49. Requires-Dist: pep8-naming ; extra == 'pep8test'
  50. Provides-Extra: ssh
  51. Requires-Dist: bcrypt (>=3.1.5) ; extra == 'ssh'
  52. Provides-Extra: test
  53. Requires-Dist: pytest (!=3.9.0,!=3.9.1,!=3.9.2,>=3.6.0) ; extra == 'test'
  54. Requires-Dist: pretend ; extra == 'test'
  55. Requires-Dist: iso8601 ; extra == 'test'
  56. Requires-Dist: pytz ; extra == 'test'
  57. Requires-Dist: hypothesis (!=3.79.2,>=1.11.4) ; extra == 'test'
  58. pyca/cryptography
  59. =================
  60. .. image:: https://img.shields.io/pypi/v/cryptography.svg
  61. :target: https://pypi.org/project/cryptography/
  62. :alt: Latest Version
  63. .. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest
  64. :target: https://cryptography.io
  65. :alt: Latest Docs
  66. .. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=master
  67. :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amaster
  68. .. image:: https://codecov.io/github/pyca/cryptography/coverage.svg?branch=master
  69. :target: https://codecov.io/github/pyca/cryptography?branch=master
  70. ``cryptography`` is a package which provides cryptographic recipes and
  71. primitives to Python developers. Our goal is for it to be your "cryptographic
  72. standard library". It supports Python 2.7, Python 3.6+, and PyPy 5.4+.
  73. ``cryptography`` includes both high level recipes and low level interfaces to
  74. common cryptographic algorithms such as symmetric ciphers, message digests, and
  75. key derivation functions. For example, to encrypt something with
  76. ``cryptography``'s high level symmetric encryption recipe:
  77. .. code-block:: pycon
  78. >>> from cryptography.fernet import Fernet
  79. >>> # Put this somewhere safe!
  80. >>> key = Fernet.generate_key()
  81. >>> f = Fernet(key)
  82. >>> token = f.encrypt(b"A really secret message. Not for prying eyes.")
  83. >>> token
  84. '...'
  85. >>> f.decrypt(token)
  86. 'A really secret message. Not for prying eyes.'
  87. You can find more information in the `documentation`_.
  88. You can install ``cryptography`` with:
  89. .. code-block:: console
  90. $ pip install cryptography
  91. For full details see `the installation documentation`_.
  92. Discussion
  93. ~~~~~~~~~~
  94. If you run into bugs, you can file them in our `issue tracker`_.
  95. We maintain a `cryptography-dev`_ mailing list for development discussion.
  96. You can also join ``#cryptography-dev`` on Freenode to ask questions or get
  97. involved.
  98. Security
  99. ~~~~~~~~
  100. Need to report a security issue? Please consult our `security reporting`_
  101. documentation.
  102. .. _`documentation`: https://cryptography.io/
  103. .. _`the installation documentation`: https://cryptography.io/en/latest/installation.html
  104. .. _`issue tracker`: https://github.com/pyca/cryptography/issues
  105. .. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev
  106. .. _`security reporting`: https://cryptography.io/en/latest/security.html