• Home
Name Date Size #Lines LOC

..--

.github/03-May-2024-2520

.jenkins/03-May-2024-325296

.travis/03-May-2024-297234

docs/03-May-2024-16,72711,768

src/03-May-2024-23,15518,011

tests/03-May-2024-32,47328,045

vectors/03-May-2024-934,224794,228

.coveragercD03-May-2024260 1714

.gitignoreD03-May-2024120 1514

.travis.ymlD03-May-20245 KiB158135

AUTHORS.rstD03-May-20242.4 KiB4542

Android.bpD03-May-20242 KiB5350

CHANGELOG.rstD03-May-202450.9 KiB1,3431,062

CONTRIBUTING.rstD03-May-2024666 2415

JenkinsfileD03-May-20249.4 KiB248235

LICENSED03-May-202415.3 KiB284233

LICENSE.APACHED03-May-202411.1 KiB203169

LICENSE.BSDD03-May-20241.5 KiB2822

LICENSE.PSFD03-May-20242.4 KiB4234

MANIFEST.inD03-May-2024315 1613

METADATAD03-May-2024543 2119

MODULE_LICENSE_BSDD03-May-20240

README.rstD03-May-20242.3 KiB7249

codecov.ymlD03-May-2024171 109

dev-requirements.txtD03-May-2024103 98

pyproject.tomlD03-May-2024189 87

release.pyD03-May-20243.5 KiB130101

rtd-requirements.txtD03-May-202411 21

setup.pyD03-May-202410.3 KiB326247

tox.iniD03-May-20242.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