• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

build/H03-May-2022-76,27065,463

docs/H07-Feb-2021-17,86012,579

src/H07-Feb-2021-25,65420,018

tests/H07-Feb-2021-39,50334,315

AUTHORS.rstH A D07-Feb-20212.4 KiB4542

CHANGELOG.rstH A D07-Feb-202162.8 KiB1,6371,309

CONTRIBUTING.rstH A D07-Feb-2021666 2415

LICENSEH A D07-Feb-2021323 75

LICENSE.APACHEH A D07-Feb-202111.1 KiB203169

LICENSE.BSDH A D07-Feb-20211.5 KiB2822

LICENSE.PSFH A D07-Feb-20212.4 KiB4234

MANIFEST.inH A D07-Feb-2021556 2519

PKG-INFOH A D07-Feb-20214.5 KiB11086

README.rstH A D07-Feb-20212.4 KiB7249

pyproject.tomlH A D07-Feb-2021436 1513

setup.cfgH A D07-Feb-202138 53

setup.pyH A D07-Feb-20215.4 KiB147114

README.rst

1pyca/cryptography
2=================
3
4.. image:: https://img.shields.io/pypi/v/cryptography.svg
5    :target: https://pypi.org/project/cryptography/
6    :alt: Latest Version
7
8.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest
9    :target: https://cryptography.io
10    :alt: Latest Docs
11
12.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=master
13    :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amaster
14
15.. image:: https://codecov.io/github/pyca/cryptography/coverage.svg?branch=master
16    :target: https://codecov.io/github/pyca/cryptography?branch=master
17
18
19``cryptography`` is a package which provides cryptographic recipes and
20primitives to Python developers.  Our goal is for it to be your "cryptographic
21standard library". It supports Python 2.7, Python 3.6+, and PyPy 5.4+.
22
23``cryptography`` includes both high level recipes and low level interfaces to
24common cryptographic algorithms such as symmetric ciphers, message digests, and
25key derivation functions. For example, to encrypt something with
26``cryptography``'s high level symmetric encryption recipe:
27
28.. code-block:: pycon
29
30    >>> from cryptography.fernet import Fernet
31    >>> # Put this somewhere safe!
32    >>> key = Fernet.generate_key()
33    >>> f = Fernet(key)
34    >>> token = f.encrypt(b"A really secret message. Not for prying eyes.")
35    >>> token
36    '...'
37    >>> f.decrypt(token)
38    'A really secret message. Not for prying eyes.'
39
40You can find more information in the `documentation`_.
41
42You can install ``cryptography`` with:
43
44.. code-block:: console
45
46    $ pip install cryptography
47
48For full details see `the installation documentation`_.
49
50Discussion
51~~~~~~~~~~
52
53If you run into bugs, you can file them in our `issue tracker`_.
54
55We maintain a `cryptography-dev`_ mailing list for development discussion.
56
57You can also join ``#cryptography-dev`` on Freenode to ask questions or get
58involved.
59
60Security
61~~~~~~~~
62
63Need to report a security issue? Please consult our `security reporting`_
64documentation.
65
66
67.. _`documentation`: https://cryptography.io/
68.. _`the installation documentation`: https://cryptography.io/en/latest/installation.html
69.. _`issue tracker`: https://github.com/pyca/cryptography/issues
70.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev
71.. _`security reporting`: https://cryptography.io/en/latest/security.html
72