
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
.. image:: https://img.shields.io/pypi/v/cryptography.svg :target: https://pypi.org/project/cryptography/ :alt: Latest Version
.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest :target: https://cryptography.io :alt: Latest Docs
.. image:: https://github.com/pyca/cryptography/actions/workflows/ci.yml/badge.svg :target: https://github.com/pyca/cryptography/actions/workflows/ci.yml?query=branch%3Amain
cryptography एक पैकेज है जो Python डेवलपर्स को क्रिप्टोग्राफ़िक रेसिपी और आदिम प्रदान करता है। हमारा लक्ष्य है कि यह आपकी "क्रिप्टोग्राफ़िक मानक लाइब्रेरी" बने। यह Python 3.9+ और PyPy3 7.3.11+ का समर्थन करता है।
cryptography में उच्च स्तरीय रेसिपी और सामान्य क्रिप्टोग्राफ़िक एल्गोरिदम जैसे सममित सिफर, संदेश डाइजेस्ट, और कुंजी व्युत्पत्ति फ़ंक्शन के लिए निम्न स्तरीय इंटरफ़ेस शामिल हैं। उदाहरण के लिए, cryptography की उच्च स्तरीय सममित एन्क्रिप्शन रेसिपी से कुछ एन्क्रिप्ट करने के लिए:
.. 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
b'...'
>>> f.decrypt(token)
b'A really secret message. Not for prying eyes.'
आप अधिक जानकारी documentation_ में पा सकते हैं।
आप cryptography को इस प्रकार स्थापित कर सकते हैं:
.. code-block:: console
$ pip install cryptography
पूर्ण विवरण के लिए the installation documentation_ देखें।
चर्चा
यदि आपको बग मिलते हैं, तो आप उन्हें हमारे `issue tracker`_ में दर्ज कर सकते हैं।
हम विकास चर्चा के लिए एक `cryptography-dev`_ मेलिंग सूची बनाए रखते हैं।
आप प्रश्न पूछने या शामिल होने के लिए ``irc.libera.chat`` पर ``#pyca`` में भी शामिल हो सकते हैं।
सुरक्षा
क्या आपको कोई सुरक्षा मुद्दा रिपोर्ट करना है? कृपया हमारी security reporting_ दस्तावेज़ देखें।
.. _documentation: https://cryptography.io/
.. _the installation documentation: https://cryptography.io/en/latest/installation/
.. _issue tracker: https://github.com/pyca/cryptography/issues
.. _cryptography-dev: https://mail.python.org/mailman/listinfo/cryptography-dev
.. _security reporting: https://cryptography.io/en/latest/security/