Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.222
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
python3-cryptography /
docs /
[ HOME SHELL ]
Name
Size
Permission
Action
_static
[ DIR ]
drwxr-xr-x
development
[ DIR ]
drwxr-xr-x
hazmat
[ DIR ]
drwxr-xr-x
x509
[ DIR ]
drwxr-xr-x
Makefile
5.46
KB
-rw-r--r--
api-stability.rst
2.28
KB
-rw-r--r--
changelog.rst
30
B
-rw-r--r--
community.rst
602
B
-rw-r--r--
conf.py
6.07
KB
-rw-r--r--
cryptography-docs.py
1.66
KB
-rw-r--r--
doing-a-release.rst
3.58
KB
-rw-r--r--
exceptions.rst
853
B
-rw-r--r--
faq.rst
8.03
KB
-rw-r--r--
fernet.rst
11.14
KB
-rw-r--r--
glossary.rst
4.75
KB
-rw-r--r--
index.rst
2.65
KB
-rw-r--r--
installation.rst
9.52
KB
-rw-r--r--
limitations.rst
1.2
KB
-rw-r--r--
make.bat
4.99
KB
-rw-r--r--
random-numbers.rst
1.55
KB
-rw-r--r--
security.rst
3.58
KB
-rw-r--r--
spelling_wordlist.txt
1.14
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.rst
Welcome to ``pyca/cryptography`` ================================ ``cryptography`` includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions. For example, to encrypt something with ``cryptography``'s high level symmetric encryption recipe: .. code-block:: pycon >>> from cryptography.fernet import Fernet >>> # Put this somewhere safe! >>> key = Fernet.generate_key() >>> f = Fernet(key) >>> token = f.encrypt(b"A really secret message. Not for prying eyes.") >>> token '...' >>> f.decrypt(token) 'A really secret message. Not for prying eyes.' If you are interested in learning more about the field of cryptography, we recommend `Crypto 101, by Laurens Van Houtven`_ and `The Cryptopals Crypto Challenges`_. Installation ------------ You can install ``cryptography`` with ``pip``: .. code-block:: console $ pip install cryptography See :doc:`Installation <installation>` for more information. .. _cryptography-layout: Layout ------ ``cryptography`` is broadly divided into two levels. One with safe cryptographic recipes that require little to no configuration choices. These are safe and easy to use and don't require developers to make many decisions. The other level is low-level cryptographic primitives. These are often dangerous and can be used incorrectly. They require making decisions and having an in-depth knowledge of the cryptographic concepts at work. Because of the potential danger in working at this level, this is referred to as the "hazardous materials" or "hazmat" layer. These live in the ``cryptography.hazmat`` package, and their documentation will always contain an admonition at the top. We recommend using the recipes layer whenever possible, and falling back to the hazmat layer only when necessary. .. toctree:: :maxdepth: 2 :caption: The recipes layer fernet x509/index .. toctree:: :maxdepth: 2 :caption: The hazardous materials layer hazmat/primitives/index exceptions random-numbers hazmat/backends/index .. toctree:: :maxdepth: 2 :caption: The cryptography open source project installation changelog faq development/index security limitations api-stability doing-a-release community glossary .. note:: ``cryptography`` has not been subjected to an external audit of its code or documentation. If you're interested in discussing an audit please :doc:`get in touch </community>`. .. _`Crypto 101, by Laurens Van Houtven`: https://www.crypto101.io/ .. _`The Cryptopals Crypto Challenges`: https://cryptopals.com/
Close