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

..--

.github/23-Nov-2023-2520

.jenkins/23-Nov-2023-325296

.travis/23-Nov-2023-297234

docs/23-Nov-2023-16,72711,768

src/23-Nov-2023-23,07217,963

tests/23-Nov-2023-32,47328,045

vectors/23-Nov-2023-933,002793,167

.coveragercD23-Nov-2023260 1714

.gitignoreD23-Nov-2023120 1514

.travis.ymlD23-Nov-20235 KiB158135

AUTHORS.rstD23-Nov-20232.4 KiB4542

Android.bpD23-Nov-20232 KiB5350

CHANGELOG.rstD23-Nov-202350.9 KiB1,3431,062

CONTRIBUTING.rstD23-Nov-2023666 2415

JenkinsfileD23-Nov-20239.4 KiB248235

LICENSED23-Nov-202315.3 KiB284233

LICENSE.APACHED23-Nov-202311.1 KiB203169

LICENSE.BSDD23-Nov-20231.5 KiB2822

LICENSE.PSFD23-Nov-20232.4 KiB4234

MANIFEST.inD23-Nov-2023315 1613

METADATAD23-Nov-2023543 2119

MODULE_LICENSE_BSDD23-Nov-20230

README.rstD23-Nov-20232.3 KiB7249

codecov.ymlD23-Nov-2023171 109

dev-requirements.txtD23-Nov-2023103 98

pyproject.tomlD23-Nov-2023189 87

release.pyD23-Nov-20233.5 KiB130101

rtd-requirements.txtD23-Nov-202311 21

setup.pyD23-Nov-202310.3 KiB326247

tox.iniD23-Nov-20232.3 KiB8978

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://travis-ci.org/pyca/cryptography.svg?branch=master
13    :target: https://travis-ci.org/pyca/cryptography
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.4+, and PyPy 5.3+.
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/
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/
72